PNG TO SVG CONVERTER

Home › Image Tools › PNG to SVG

Convert PNG images to scalable SVG vector graphics directly in your browser. Trace bitmaps into clean SVG paths with adjustable threshold and simplification controls — no uploads, no accounts.

Original Image

Upload a PNG, JPG, WebP, or GIF to vectorise.

SVG Output

Multi-colour vector preview — scalable to any size.

SVG preview will appear here after conversion.

Output Details

Format
SVG (XML)
Est. size
—

Conversion Options

Color mode preserves all original colours. Binary produces a pure B&W result.

Spline gives smooth Bézier curves. Polygon is blocky but exact.

4

Suppress specks smaller than N pixels. Higher = cleaner result; lower = more detail.

6

Number of significant bits per colour channel. Higher = more colours, larger SVG.

60°

Angle below which a bend is treated as a sharp corner. Lower = sharper corners kept.

Stacked layers paint on top of each other. Cutout punches holes in darker layers.

What Is PNG to SVG Conversion?

PNG is a raster format — it stores a fixed grid of pixels. SVG is a vector format — it stores mathematical path descriptions that scale to any size without loss. Converting a PNG to SVG means tracing the pixel data to detect edges and shapes, then expressing those shapes as <path> elements inside an XML document.

This tool uses the Potrace algorithm (ported to JavaScript) to perform the tracing entirely inside your browser. Your image never leaves your device.

Key Features

  • 100% client-side processing — your image stays on your device
  • Threshold control to tune black/white separation before tracing
  • Path simplification slider to reduce node count and file size
  • Color mode: black-on-white, white-on-black, or transparent background
  • Real-time SVG preview alongside the original image
  • One-click SVG download
  • Supports PNG, JPG, WebP, and GIF input formats

Tracing Options Explained

Threshold (0–255)
Pixels with a luminance value below this number are treated as "foreground" (the shape to trace). A low threshold captures only dark areas; a high threshold captures more of the image. Start at 128 and adjust to taste.
Simplify (tolerance)
Controls how aggressively the algorithm reduces path nodes using the Ramer–Douglas–Peucker algorithm. Higher values produce smoother, smaller SVGs; lower values preserve fine detail at the cost of more nodes.
Background
Choose whether the traced shape is filled black on a white background, white on black, or placed on a transparent background (useful for overlays).

When to Use PNG to SVG

  • Logos & icons: Convert scanned or photographed logos into clean, infinitely scalable SVGs for web and print.
  • Signatures: Digitise a handwritten signature to embed in documents.
  • Illustrations: Vectorise line art or simple clipart for editing in Inkscape, Illustrator, or Figma.
  • Laser cutting / CNC: Most cutting machines require vector paths — tracing a PNG is often the first step.
  • Stencils & silhouettes: Create sharp, high-contrast silhouettes for t-shirt printing or vinyl cutting.

Tips for the Best Results

  • Start with a high-contrast image — the tracer works best when the subject clearly differs from the background.
  • Crop out unnecessary whitespace before tracing to keep the SVG compact.
  • For photographs, consider converting to greyscale first or applying a posterise effect to reduce complexity.
  • Use the Simplify slider to trade fine detail for smaller file sizes once the basic shape looks correct.
  • If parts of the image vanish, raise the Threshold; if too much noise appears, lower it.

Privacy & Security

All processing is performed by JavaScript running in your browser tab. No pixel data is transmitted to any server at any point. This makes the tool safe to use with confidential documents, proprietary artwork, or personal photographs.

Related Tools

Discover more tools that might interest you. Here are some related and popular tools you might find useful!

Background Remover

Background Remover

Remove image backgrounds in your browser using a WebAssembly AI model. Replace with transparency, a colour, or a custom image — no upload, no account needed.

Collage Maker

Collage Maker

Arrange several photos into a grid collage with adjustable gaps and background.

Combine Images

Combine Images

Join two or more images side by side or stacked, with adjustable spacing.

Convert Your Base64 to Image

Convert Your Base64 to Image

Use this function Convert base64 to image and quickly generate image for your project.

EPS to PNG Converter

EPS to PNG Converter

Rasterise an EPS file to PNG at 300 DPI.

GIF to AVIF Converter

GIF to AVIF Converter

Convert animated GIFs to AVIF, preserving the animation at a fraction of the size.

GIF to PNG Converter

GIF to PNG Converter

Convert a GIF to PNG, keeping transparency and taking the first frame.

HEIC to JPG Converter

HEIC to JPG Converter

Convert HEIC/HEIF images from iPhone and iPad to JPG or PNG directly in your browser. Batch-process multiple files and download a ZIP — no upload, no account.

Add Watermark to PDF

Add Watermark to PDF

Stamp a text watermark across every page, with control over opacity, angle, size and colour.

Base64 Encoder/Decoder

Base64 Encoder/Decoder

Easily encode and decode text to and from Base64 format. Features real-time conversion, copy to clipboard, download results, character counter, and sample data. Perfect for encoding data for URLs, APIs, and web development.

Blacklist Lookup

Blacklist Lookup

Check if your domain or IP address is blacklisted on 20+ DNS-based blacklists (DNSBL). Protect your email deliverability and website reputation.

Broken Links Finder

Broken Links Finder

Find and fix broken links on your website.

Advertisement
Advertisement

Comments

Sign in or create an account to leave a comment.

No comments yet

Be the first to share your thoughts!