How to Convert PNG to Vector (SVG) Free, No Upload
To convert a PNG or JPG logo, icon, or drawing into a scalable vector file, open the PNG to SVG Converter, upload your image, pick a tracing preset under What kind of picture is this?, and click Convert to SVG. Your image stays in your browser tab and downloads as an editable .svg file.
In this guide
- Raster vs vector in plain English
- Which images trace well and which do not
- Step 1: Upload your PNG or JPG
- Step 2: Choose a tracing preset and scale
- Step 3: Trace and compare side by side
- Step 4: Download and optionally minify your SVG
- How to prepare your PNG before tracing
- Why the SVG can be larger than the PNG (and how to shrink it)
- When not to convert to SVG
- Common tracing mistakes and fixes
- Nothing is uploaded
- Frequently asked questions
- Related tools and guides
Raster vs Vector in Two Sentences
A raster image (like PNG, JPG, or WebP) stores a fixed grid of colored squares called pixels, so enlarging it past its original size makes edges look blurry or blocky. A vector image (like SVG, Scalable Vector Graphics) stores mathematical lines, curves, and solid fills instead of pixels, so a browser or design app can redraw it crisply at 16 pixels or 16 feet.
Which Images Trace Well and Which Do Not
Tracing (also called vectorizing) scans pixel clusters, groups similar colors into flat zones, and fits curves around their borders. That works brilliantly on artwork with clean edges and fails on continuous shading:
| Image type | Result | Advice |
|---|---|---|
| Flat logos and app icons | Clean, sharp paths | Start with Color (default), or Color detailed if thin strokes drop out |
| Signatures, ink scans, stencils | Crisp two-color silhouette | Use Black & white (line art) on a high-contrast scan |
| Simple flat illustrations and badges | Good with minor curve smoothing | Try Color (default) first, then minify with the SVG Optimizer |
| Soft gradients and 3D renders | Visible color banding | Use Posterized (few colors) only if you want a screen-print look |
| Photographs (portraits, landscapes) | Posterized blobs and huge files | Do not convert; keep photographs in JPG, PNG, or WebP |
How to Convert PNG to SVG in 4 Steps
Step 1Upload your PNG or JPG
Open the PNG to SVG Converter and click Upload PNG or JPG to Vectorize, or drop a file into the box. PNG, JPG, and WebP files are supported. If either side of your image is larger than 2048 pixels, the converter automatically downscales the working copy proportionally to fit within 2048px so tracing does not stall your browser; the output SVG still scales freely afterwards.
Step 2Choose a tracing preset and scale
Under What kind of picture is this?, pick the preset that matches your source image:
- Color (default): Uses a balanced 16-color palette and standard curve tolerances. Best starting point for logos, icons, and flat art.
- Color detailed: Expands to 32 colors with tighter curve fitting and keeps smaller shapes (it throws away fewer of the tiniest paths). Use it when the default misses fine details, knowing the file will be larger and slower to trace.
- Black & white (line art): Forces a deterministic 2-color trace with line filtering enabled. Ideal for monochrome logos, stamps, signatures, and ink drawings.
- Posterized (few colors): Limits the trace to 4 colors with light blur preprocessing and coarse cleanup, creating the smallest SVGs and a stylized poster look.
Next, check How much bigger than the original (range 1 to 4, default 1). Because vectors scale to any dimension without losing sharpness, leave it at 1 unless a downstream editor expects larger base coordinates.
Step 3Trace and compare side by side
Click Convert to SVG. After a brief pause on detailed files, the tool renders Original (raster) beside Traced (SVG) and prints a size report underneath comparing your input bytes with the generated SVG size.
Step 4Download and optionally minify your SVG
Click Download .svg to save the vector file (named after your original image, such as logo.svg). If the size report shows a larger file than expected, pass the downloaded file through the SVG Optimizer to trim extra decimals and whitespace.
Trace your PNG or JPG to SVG now
Four presets, side-by-side preview, and 100% browser-based tracing.
Open PNG to SVG ConverterHow to Prepare Your PNG First for Cleaner Paths
A tracer is only as accurate as the pixels you feed it. Spending 30 seconds prepping a messy PNG dramatically improves curve quality:
- Start with enough resolution (but stay reasonable): A tiny 48x48 icon lacks the pixel detail needed to tell curves from stair-steps. An image around 400 to 1600 pixels wide gives the tracer smooth curves without hitting the 2048px auto-downscale limit.
- Remove busy backgrounds first: If your logo sits on a cluttered photo or textured paper, run it through the Background Remover first so the tracer does not turn background noise into hundreds of stray paths.
- Crop tightly around the subject: Cut out empty margins or surrounding UI chrome with the Image Cropper.
- Use crisp contrast for line art: Before running Black & white (line art), make sure dark ink clearly separates from a bright background so faint smudges do not trace as islands.
Why the SVG Can Be Larger Than the PNG (and How to Shrink It)
People often assume an SVG is always tiny. For a simple 3-shape logo, it is. For a multi-color graphic or noisy JPEG, the traced SVG can end up several times larger than the input PNG because every single color speck turns into an XML <path> tag packed with coordinate numbers.
To trim a freshly traced SVG without changing how it looks, open the SVG Optimizer:
- Upload your
.svgor paste it into Original Code. - Leave Round decimals to reduce SVG file size checked with Decimal places set to 2 (or try 1 for simple icons; options are 1 to 4).
- Leave Remove comments, <metadata> and editor data (Inkscape, Illustrator, Sketch) checked.
- Click Optimise the SVG, check the percentage saved, and click Download Minified SVG.
Learn more about what minification safely strips in why exported SVGs get bloated. And if you ever need to turn your vector back into a crisp high-DPI PNG at an exact pixel size, use the SVG to PNG Converter and our SVG to PNG export size guide.
When Not to Convert: Photographs
Do not trace photographs expecting a "high-res vector version" of a camera shot. Tracing cannot invent vector shapes where none existed; it collapses continuous skin tones, foliage, and skies into a fixed palette of 4, 16, or 32 flat color regions. You end up with a posterized illustration and an enormous SVG packed with thousands of tiny paths that slows down browsers. Keep photos as JPG, PNG, or WebP, and reserve SVG for logos, icons, diagrams, and line art.
Common Tracing Mistakes and Fixes
- Thin lines disappear after tracing: Switch from Color (default) to Color detailed, which keeps smaller paths and tightens curve tolerances.
- Increasing the scale input expecting sharper curves: Raising How much bigger than the original from 1 to 4 only multiplies output coordinates and inflates file size; leave it at 1.
- Tracing fails while offline or behind a strict blocker: The ImageTracer script loads from
cdn.jsdelivr.net. Allow that script host and reload if you see a CDN loading error. - Stray specks around a logo: Remove compressed backgrounds first in the Background Remover before tracing.
Nothing Is Uploaded
All tracing happens locally in your browser using the HTML5 Canvas API and the ImageTracer script loaded into the page. Your logos, unreleased brand assets, and client illustrations never leave your device, though you need an internet connection on initial load so your browser can fetch the tracing script from the CDN.
Frequently Asked Questions
Which images convert cleanly from PNG to SVG?
Logos, icons, signatures, stencils, scanned ink drawings, and flat illustrations with solid colors trace cleanly. Photographs and smooth gradients do not trace cleanly because vector paths use flat fills.
Which preset should I choose in the PNG to SVG Converter?
Use Color (default) for most logos and multi-color icons, Black & white (line art) for two-color ink drawings or monochrome marks, Color detailed for thin strokes, and Posterized (few colors) for minimal files.
Why is my traced SVG larger than the original PNG?
SVG stores every traced shape as text coordinates inside path tags. An image with many colors, soft shading, or noisy edges generates hundreds or thousands of paths that take more bytes than a compressed PNG.
How can I reduce the size of a traced SVG?
Open the SVG Optimizer, load or paste your traced file, keep Round decimals to reduce SVG file size enabled at 2 decimal places, and click Optimise the SVG.
Why should I not convert a photograph to SVG?
Tracing approximates continuous tones using a small palette of flat color regions, which turns faces and skies into posterized bands and creates a huge file full of tiny paths. Keep photos in JPG, PNG, or WebP.
What happens if I upload a PNG wider than 2048 pixels?
The converter automatically scales the working copy down proportionally so neither side exceeds 2048 pixels before tracing. That prevents browser freezes, and the resulting SVG still scales to any size cleanly.
Related Tools and Guides
- PNG to SVG Converter - trace PNG, JPG, or WebP images into scalable vectors.
- SVG Optimizer - round path coordinates and cut traced SVG byte size.
- Why Exported SVGs Are Bloated - what minification strips safely and what to keep.
- Background Remover - clear busy backgrounds before tracing a logo or mark.
- SVG to PNG Converter - render your master SVG back out to crisp PNG at 1x to 10x scale.
- SVG to PNG Export Sizes - exact pixel sizes for favicons, app icons, social previews, and print.