PNG to SVG

PNG to SVG Converter

Convert PNG logos and icons to scalable SVG vectors, with their exact colors and transparent background. Best for flat-color graphics. Runs entirely in your browser.

Last updated: November 2026

Logos & Icons

Optimized

Exact

Colors Kept

Editable

SVG Output

Private

No Uploads

Drop your PNG here

PNG, JPG, WebP, HEIC and more. Logos and drawings trace best; photos become poster-style art.

Your image never leaves this device

How to convert PNG to SVG

Four steps, all running locally in your browser.

01

Drop your logo or icon

A PNG, or a JPG or WebP, one file at a time. It is traced straight away, and nothing is uploaded.

02

Pick a style

Logo or icon for flat colors, Black and white for text, signatures and cut files, or Photo for poster-style art.

03

Check and adjust

Compare the SVG with the PNG at up to 8x zoom. Change the number of colors, recolor or delete a color, or switch between curves and straight lines.

04

Download

Download the SVG or copy its code. The file is cleaned up and shortened first.

What this tool is good at, and what it is not

Converting a raster image to SVG is called tracing or vectorization. The tool looks at your image and tries to guess what shapes would recreate it, then saves those shapes as scalable paths. This works very differently from a normal format conversion, and the results vary a lot depending on what you start with.

Works well

  • Logos with flat, solid colors
  • Simple icons and symbols
  • Graphics with clean, sharp edges
  • Single or low color count images

Works poorly

  • Photos you want to look like photos
  • Images with smooth gradients
  • Detailed textures or noise
  • Scanned or low-resolution source images

If your image falls into the second list, you will likely get a better and smaller result by keeping it as PNG, or by converting it to WebP or AVIF instead. For a laser cutter or CAD program that wants DXF, the same tracing is in PNG to DXF.

What tracing actually does to a PNG, step by step

The tracing process behind this tool follows roughly the same two-step approach that vectorization algorithms have used since the technique was first developed for scanning line drawings decades ago. The first step is color quantization, where the tool looks at every pixel in your PNG and groups similar colors together into a smaller set of distinct color buckets. A photo might contain tens of thousands of subtly different shades; a logo usually has somewhere between two and a dozen genuinely distinct colors once you quantize it. The Colors setting controls how many buckets there are. Automatic counts the colors the logo really uses and drops the soft in-between shades along its edges, so a red and blue logo stays red and blue instead of picking up a purple outline. More colors keep more subtle variation but produce more shapes.

The second step is edge detection and path tracing, where the tool finds the boundaries between each color region and describes those boundaries as mathematical curves rather than a grid of pixels. This is the step that actually makes the image scalable. A pixel grid has a fixed resolution and gets blurry when enlarged beyond its native size. A curve described mathematically, like a Bezier path, can be rendered at any size with perfectly sharp edges because the math defining the curve doesn't change regardless of how large or small you render it. This is the entire value proposition of SVG output: the file describes shapes, not pixels.

Why a traced photo produces a worse, larger file than the original

The reason photographs trace so badly comes directly from these two steps. Color quantization on a photograph either loses an enormous amount of visual information by reducing it to a handful of colors, which makes the image look posterized and wrong, or it has to keep a large number of distinct color regions to stay accurate, which means the edge detection step then has to trace boundaries between thousands of tiny, irregular regions instead of a handful of clean shapes. Each traced region becomes its own path in the SVG file, and a photograph with complex texture and gradients can produce tens of thousands of individual paths. The resulting SVG file is often considerably larger than the original PNG, takes noticeably longer to render in a browser, and looks worse because the curve-fitting introduces its own artifacts on top of whatever was lost in quantization. The Photo style avoids the worst of this by keeping a limited set of colors and dropping specks, which gives poster-style art rather than a copy of the photo.

Preparing a PNG for better tracing results

If your logo or icon isn't tracing as cleanly as you'd like, the source image is usually the place to look first rather than changing settings over and over. A PNG with anti-aliased edges, the soft pixel blending most image editors apply automatically around shapes to avoid jagged stair-stepping, introduces a thin band of intermediate colors at every edge. The tracer has to decide what to do with that band, which can leave thin slivers or slightly soft edges in the traced output. The converter drops most of that band, but a source with hard boundaries is still cleaner. If you have access to the original design file rather than just an exported PNG, exporting again at a larger size with crisp edges and minimal anti-aliasing, then tracing that, typically produces a cleaner result than tracing a small, heavily anti-aliased PNG. For logos that already exist only as a low-resolution PNG, images under 256 pixels are enlarged up to 4x before tracing so small details survive, and the resize tool can upscale it further, though tracing still works best from a source that was clean to begin with rather than one that's been artificially enlarged.

Common PNG to SVG mistakes

Expecting batch conversion

This tool handles one image at a time, with no multi-file drop and no ZIP download. If you have several logos or icons to convert, run each one through individually.

Dropping a real photograph and expecting a clean vector

A photo traced with the Photo style becomes poster art in flat colors, and the SVG is often larger than the PNG. Keep photographs as PNG, JPG, WebP or AVIF unless you want that look.

Using too many colors

More colors mean more shapes, a bigger file and slivers along every edge. Most logos need 2 to 6; start with Automatic, which counts the colors the logo really has.

Not checking the result up close

Small text, thin lines and holes are where tracing goes wrong. Use Compare at 4x or 8x zoom before downloading, and try Straight lines or sharper Corners for geometric logos.

Tracing a small or blurry copy

A PNG saved from a web page or a chat app has little detail left. Tiny images are enlarged before tracing, which helps, but the largest, sharpest copy you can find always traces better.

Why use ImgTweak?

Exact, editable colors
Transparent background kept
Before and after compare with zoom
Real SVG paths, not an embedded raster image
Sizes for Cricut and laser software
No uploads, no account needed

Frequently asked questions

Will this work on any PNG image?

It works best on logos, icons and graphics with flat colors and clean edges. A photo can be traced with the Photo style, which turns it into poster-style art in flat colors; it won't look like a photo, and the file is larger. To keep a photo looking like a photo, leave it as PNG, JPG or WebP.

Why would I convert a PNG logo to SVG?

SVG is a vector format, meaning it scales to any size with no loss of quality, unlike PNG which becomes blurry when enlarged. Converting a PNG logo to SVG lets you use it on a billboard or a favicon from the same file, and SVGs can be styled and recolored with CSS.

What do the settings change?

Style chooses between flat colors, black and white, or poster art. Colors sets how many colors the SVG has; Automatic finds the colors the logo really uses. Shapes chooses curves, straight lines or pixels, Corners sets how sharp corners stay, and Clean-up drops specks. Every change traces again at once, from the same file.

Can I convert multiple images at once?

No, it handles one image at a time, with no batch mode or ZIP download. For several logos or icons, drop each one in turn; the settings stay as you left them.

Does tracing freeze the page while it works?

No. Tracing is CPU-intensive, so it runs inside a background Web Worker rather than on the page's main thread. The page stays responsive, buttons still click and the spinner still animates, while the trace completes.

Is the SVG editable afterward?

Yes. The output is a real SVG made of path shapes, not an embedded image, with each color as one group of shapes. You can open it in Inkscape, Illustrator, Figma or any vector editor and edit the shapes, recolor them or simplify the paths further.

Does it keep a transparent background?

Yes. Transparent areas of the PNG stay transparent in the SVG. If the logo sits on a plain white or colored background, the Logo style removes that background too, so the SVG has only the artwork; switch Transparent background off to keep it.

Can I use the SVG with Cricut or a laser cutter?

Yes. Cricut Design Space splits an SVG into layers by color and keeps its size, and every shape becomes a cut line; it can't upload files with more than 5,000 paths, and the tool warns when an SVG has that many. Set the size in inches or millimeters under More options so it opens at the size you want. For CAD and laser software that wants DXF, use PNG to DXF.

Is my image uploaded anywhere?

No. The tracing happens entirely in your browser, with the vtracer engine in WebAssembly running in a Web Worker that comes with the page. Your image never leaves your device. You can disconnect from the internet after the page loads and conversion still works.

Ready to vectorize your logo?

No sign-up. No uploads. Drop your logo above and download the SVG in seconds.