Skip to content

PNG to SVG

Trace pixel logos, icons, sketches and stickers into crisp, infinitely scalable SVG vectors.

Drop a PNG, JPG or WebP image here

Logos, icons, line art, signatures and flat illustrations trace best

How to use PNG to SVG

  1. Drop your source graphic. Add a PNG, JPG, WebP, GIF, BMP, AVIF, or HEIC logo, icon, or sketch into the workspace.
  2. Pick a tracing style. Choose B&W ink for monochrome line art and signatures, Color logo for up to 10 colors, or Detailed for up to 14 colors.
  3. Refine the sliders. Adjust Ink cutoff or Colors, Curve smoothing, Ignore tiny speckles, and Remove background layer while checking the Side by side view.
  4. Export the vector file. Select Copy SVG code for your clipboard or click Save SVG file to download the .svg asset.

Your files are processed on this device and never uploaded. They stay private, and there's nothing to delete afterwards.

Converting raster PNG, JPG, and WebP graphics to scalable vector SVG

Print vendors and web developers often receive brand marks as fixed-pixel bitmaps that turn blurry on large banners or high-density screens. A dedicated PNG to SVG workflow converts flat raster pixels into resolution-independent XML paths that stay razor-sharp at any scale.

Vector markup follows the W3C Scalable Vector Graphics 2 specification, which standardizes coordinate systems, viewBox scaling, and shape styling across browsers and design suites. When a workflow also requires standard raster exports for legacy print shops, you can convert modern WebP graphics to universal JPEG before archiving.

Resolution independence across high-density screens and cutters

Raster formats such as PNG, JPEG, and WebP store color samples on a fixed rectangular grid. Enlarging a 200-pixel emblem for a storefront sign or 4K monitor exposes jagged stair-stepping along diagonal edges and curves.

Converting an image to SVG or turning a JPG to SVG replaces that pixel grid with mathematical coordinates. The traced artwork renders with identical crispness at 16 px in a navigation bar or across a wide vinyl banner.

Quadratic Bezier curve fitting versus pixel stair-stepping

The core difference between a raster bitmap and scalable vector graphics lies in how edges are stored. Bitmaps record individual colored squares, while SVG files describe closed contours using connected anchor points and curves.

Before tracing, the workspace downscales images whose longest side exceeds 960 px to keep browser memory predictable. The worker then runs Ramer-Douglas-Peucker simplification and corner-aware quadratic Bezier curve smoothing so straight segments stay crisp and circular arcs flow smoothly.

Which graphic types convert best from PNG to vector SVG?

High-contrast flat artwork with distinct color regions produces the cleanest, smallest vector files. Continuous-tone photography, soft drop shadows, and lens blur do not translate well into discrete shapes because every subtle shade change forces the tracer to build another tiny polygon.

Evaluating source artwork up front saves time when you need to vectorize a logo or prepare clean cutting paths.

Ideal candidates for clean vectorization: logos, signatures, and icons

When figuring out how to convert a low-resolution logo to scalable SVG, simple geometric shapes and bold typography yield the best results. Badges, monograms, rubber stamps, QR codes, and flat stickers trace into compact paths with low node counts.

Archival guidance in the Library of Congress SVG format evaluation notes why clean vector paths remain durable across editing tools. If your source file arrives in an unusual format, run it through a browser-based image converter first or drop PNG, JPG, WebP, GIF, BMP, AVIF, or HEIC files directly.

Why continuous-tone photographs produce bloated path files

A common question is why detailed photographs trace poorly to SVG. Camera shots contain thousands of smooth lighting transitions, skin tones, and sensor grain rather than flat fills.

Quantizing a landscape into even 14 color layers fractures sky gradients and foliage into thousands of tiny jagged shards. Keep photographic scenes in raster formats like WebP or JPEG instead of forcing them into vector paths.

Tip: Use the Side by side view tab to compare your original bitmap against the traced SVG paths while adjusting sliders, and inspect the live layer count, node count, and byte size above the preview.

Selecting tracing styles between monochrome ink and color logos

Different graphics call for different separation logic, so the Tracing style selector offers three distinct presets: B&W ink, Color logo, and Detailed. Each mode prepares the pixel buffer differently before tracing contours.

Path geometry adheres to the W3C SVG path data specification, encoding move, line, and quadratic curve commands inside standard <path> elements. The table below summarizes the three built-in modes and their exact control bounds.

Tracing style Best asset types Primary control range Default setting Background handling
B&W ink (signatures) Handwritten signatures, stamps Ink cutoff 20 to 240 Threshold 145 Optional background removal
B&W ink (line art) Technical drawings, QR codes Ink cutoff 20 to 240, Smoothing 0 to 1 Threshold 145 Transparent border cutout
Color logo Brand marks, flat icons Colors 2 to 10 6 colors Quantized solid layers
Detailed Stickers, complex illustrations Colors 2 to 14 6 colors Multi-layer palette swatches

Luminance ink cutoff for signatures and line drawings

B&W ink acts as a focused monochrome signature vectorizer for scanned pen strokes, sketches, and black-and-white stamps. Pixels darker than the Ink cutoff slider (ranging from 20 to 240, defaulting to 145) become foreground ink, while lighter paper tones drop away.

Raising the cutoff captures faint pencil or ballpoint strokes, while lowering it removes shadowed paper grain so you can vectorize a handwritten signature to a transparent SVG cleanly. If uneven lighting darkens one corner of a scanned page, remove image backgrounds cleanly before tracing.

Color quantization and background layer removal

Comparing luminance thresholding vs color quantization comes down to palette structure. For multi-tone marks, Color logo (2 to 10 colors) and Detailed (2 to 14 colors) sample up to 16,000 opaque pixels using deterministic k-means++ clustering to build a clean hex palette.

Keeping Remove background layer checked tells the tracer to treat transparent pixels and the outer border backdrop color as empty space. The extracted hex swatches appear below the canvas so you can verify your exact brand colors immediately.

Tuning curve smoothing, speckle filtering, and interior letter cutouts

Raw screenshots and compressed JPEGs often contain faint mosquito noise and anti-aliased fringes along edges. Without filtering, a tracer faithfully wraps vector nodes around every stray compression speck.

Curve syntax follows the MDN guide to SVG path curves and commands, where quadratic control points shape smooth transitions between vertices. Adjusting the two cleanup sliders lets you balance geometric fidelity against file weight.

Balancing crisp corners with smooth curves

The Curve smoothing slider runs from 0 to 3 in 0.5 increments, with a default of 1. Setting smoothness to 0 keeps sharp 90-degree corners intact, which works well when you convert pixel art and stickers into crisp geometric vector paths.

Increasing smoothing toward 3 rounds off staircase pixels on curved typography, circular badges, and organic brush strokes. Because the algorithm is corner-aware, sharp vertices remain distinct while gradual arcs receive smooth quadratic Bezier fitting.

Filtering compression speckles and keeping letter counters hollow

The Ignore tiny speckles slider filters out isolated pixel islands from 0 to 25 px², defaulting to 4 px². Raising this threshold discards JPEG compression dust and paper specks before contour tracing begins, reducing total node count.

During contour extraction, the engine traces outer boundaries and inner holes with opposite winding and applies the evenodd fill rule so hollow letter counters inside O, A, B, and R stay open. Once satisfied, click Copy SVG code or Save SVG file, then minify SVG files and strip editor junk if you need ultra-compact markup for inline web delivery.

Questions

Which images convert best from PNG to SVG?

Logos, icons, badges, QR codes, handwritten signatures, monochrome sketches, and flat illustrations convert best. These graphics have clear color boundaries that map into compact geometric paths. Camera photographs contain continuous tonal gradients that produce dense, multi-megabyte path collections.

Are interior holes inside letters preserved during vectorization?

Yes. The directed contour tracer detects outer boundaries and inner cutouts with opposite winding directions and applies an even-odd fill rule. Hollow counters inside letters such as O, A, B, and P stay transparent instead of filling with solid color.

Can I convert color logos as well as black and white line art?

Yes. B&W ink isolates dark strokes using a luminance cutoff from 20 to 240, while Color logo groups pixels into 2 to 10 quantized layers. Switching to Detailed expands the palette up to 14 colors for richer illustrations and stickers.

Does vectorizing improve a blurry low-resolution image?

Vectorization replaces a fixed pixel grid with smooth mathematical curves so the graphic scales cleanly to any size without pixelation. While tracing cannot invent fine details missing from a tiny blur, curve smoothing removes jagged stair-stepping along edges.

How do I remove the background rectangle from a traced SVG?

Keep Remove background layer checked in the options panel. The tracer detects transparent pixels and border backdrop colors, omitting the outer bounding box so your icon or signature sits cleanly on any page background.

Are my logos or signatures uploaded to a remote server?

No. Decoding, downscaling, k-means++ quantization, contour tracing, and SVG serialization run inside a local Web Worker in your browser tab. Unreleased brand marks and personal signatures never leave your device.

Updated