A PNG is a grid of coloured dots. An SVG is a list of shapes. That is why a logo saved as an SVG can be printed on a shop sign without going soft, while the same logo as a PNG cannot. Our free PNG to SVG tool turns a picture into vector shapes by tracing it, right in your browser. It is for people who have a logo, a signature or a drawing only as a picture and need a version that scales.
This guide explains each control, what the four presets do, how to get a smaller and cleaner result, and what tracing cannot do. For a start-to-finish recipe on logos, see how to turn a logo picture into a scalable vector.
What PNG to SVG does
The tool reads your picture's pixels, reduces them to a set of colours, finds the outline of every colour area and writes each one as a vector shape. The result appears next to the original so you can compare them, and you can download it as a .svg file or copy the SVG code.
It can:
- Trace one picture at a time, in PNG, JPG, WebP, GIF, BMP, AVIF, HEIC or TIFF.
- Use a preset for logos, illustrations, photos or black and white.
- Let you set the number of colours, the detail, how many specks are dropped and how much the picture is smoothed first.
- Remove a white background.
- Show the size of the SVG, how many shapes it has and how long the tracing took.
It does not recognise letters or objects. Text in a logo becomes shapes, so you cannot edit the wording afterwards. It also cannot invent detail that is not in the picture.
How to use PNG to SVG, step by step
- Open PNG to SVG.
- Press Choose a picture, drop the file on the box, or paste a screenshot with Ctrl+V.
- The picture is traced with the Logo / icon preset right away. The Result panel shows Original on the left and SVG on the right.
- Pick a different Preset if your picture is not a logo, then adjust the sliders until the right-hand picture matches the left.
- Tick Remove white background if you want a see-through result.
- Press Download .svg, or Copy SVG code to paste it into an HTML file.
The page traces again about half a second after you stop moving a slider. While that happens, the SVG panel shows "Tracing…" or "Updating…". The file name follows the picture: shop-logo.png is saved as shop-logo.svg.
Every option explained
Preset
Each preset sets the four sliders to a starting point:
| Preset | Colours | Detail | Remove specks | Smooth | Best for |
|---|---|---|---|---|---|
| Logo / icon | 6 | 8 | 8 | 0 | Logos, icons, simple graphics |
| Illustration | 16 | 5 | 8 | 0 | Cartoons, clip art, flat illustrations |
| Photo | 32 | 4 | 12 | 2 | A poster-like effect from a photo |
| Black & white | 2 | 6 | 8 | 0 | Line art, signatures, stamps, scanned drawings |
The Black & white preset also ticks the "Black and white only" box, which switches the tracer to a fixed grey palette instead of colours picked from the picture, and puts the picture on white first, because transparent pixels would otherwise be read as black. You can untick that box at any time to get colours back. Once you move a slider, the preset label changes to custom settings; pick a preset again to return to its values.
Colours (2 to 64)
How many colours the SVG may use. Fewer colours mean flatter artwork, fewer shapes and a smaller file. If your logo has three colours plus a white background, try 4 or 5 and see whether it still looks right. Too few merges similar colours; too many splits a flat colour into bands of near-identical shapes.
Detail (1 to 10)
Low values draw rough, smooth outlines with few points. High values follow every bump of the edge. Logos with sharp corners and clean curves look best at the high side of the middle; blurry pictures look better at the low side, because following the blur only traces the noise.
Remove specks (0 to 100)
Shapes with fewer outline points than this number are dropped. It is your clean-up slider: raise it to get rid of dust, dots from JPG compression and little islands, and lower it when small details such as the dot on an "i" go missing.
Smooth (0 to 5)
Blurs the picture slightly before tracing. Use it for JPG artefacts, grain and jagged edges. Keep it at 0 for crisp logos, because smoothing rounds off sharp corners.
Remove white background
When ticked, every shape filled with a near-white colour is deleted, so the SVG is transparent there. Near-white means each colour channel is at 235 or above. Be aware that white areas inside the artwork, such as the eye of a mascot or the hole in the letter "o", become see-through too. A PNG that was already transparent has its fully transparent shapes dropped when the SVG is written.
Trace size
Pictures are shrunk to this longest side before tracing: 600, 900, 1200 (default), 1600 or 2400 px. A bigger choice keeps more detail and takes longer. Pictures are never enlarged for tracing, so this setting does nothing for a small picture. The SVG is still given the picture's own width and height, and it scales without losing sharpness.
What it accepts and its limits
- One picture at a time. Choosing another replaces the first. Clear removes the current one.
- Formats: PNG, JPG, WebP, GIF, BMP, AVIF, HEIC and TIFF, as long as your browser or our built-in readers can open them. A file that cannot be opened shows an error under the box.
- Large results: if the SVG passes 3 MB, a yellow note suggests fewer colours, lower Detail or a higher Remove specks.
- No shapes: if nothing was found you get "No shapes were found. Try more colours, a lower Remove specks, or turn off Remove white background."
- Failures: a tracing that fails shows the reason followed by "Try fewer colours or a smaller trace size."
Privacy
The tracing runs in your browser, in a background worker so the page stays usable. Your picture is not uploaded. The tool shows a preview of the SVG through an image element, never as page code, so any script hidden in it could not run.
Reading the numbers
Under the comparison you get four figures: Original (the PNG's size), SVG (the SVG's size), Shapes (the number of paths) and Traced in (time). Shapes is the best guide to complexity. A logo is often a few dozen shapes. A traced photo can be thousands, and its file will be heavy.
Tips to work faster
- Start with the largest, sharpest version of the picture you have. Tracing a 150 px thumbnail gives lumpy shapes.
- Count the colours in your logo and set Colours to that number plus one or two.
- Compare at zoom. Use the browser zoom to look at corners and thin lines in the right-hand panel.
- For a signature, use Black & white, then tick Remove white background so it sits on any page.
- Remember that tracing changes the look: it is a redraw, not a copy, so always compare against the original before you replace it.
Common problems and how to fix them
The SVG looks lumpy or wobbly
Raise Detail, lower Smooth to 0, and check the source. Soft or low-resolution pictures do not contain the information needed for a clean edge.
Small details are missing
Lower Remove specks and raise Colours. If the detail is very light in colour, check that Remove white background is off.
Gaps or thin lines between colour areas
The tool adds a hairline outline in each shape's own colour to close those gaps in colour presets.
The file is huge
A photo or a picture with gradients makes thousands of shapes. Lower Colours, lower Detail, raise Remove specks, or choose Logo / icon. For lighter files overall, a flat version of the artwork traces best.
The colours are slightly off
The tool picks colours from your picture. They are close, not guaranteed to match a brand's exact hex values. After tracing you can open the SVG in an editor and set the exact colours.
Related tools
- SVG to PNG: turn the finished SVG back into a PNG at any size.
- Crop Image: trim empty space around a logo before tracing.
- Image Compressor: make the original picture lighter if you only need a PNG.
- PNG to ICO: make an icon file from a logo.



