Home › Image Tools › PNG to SVG Converter

PNG to SVG Converter

Turn a PNG, JPG or WEBP image into a real vector SVG made of shapes, not an embedded picture. Pick a preset, adjust colors and detail, compare the result side by side and download an SVG that scales to any size.

Last updated:

Original image
Original
Traced SVG preview
SVG
Advanced

Advertisement
Advertisement

How to use the PNG to SVG Converter

  1. Add an image: drop a PNG, JPG, WEBP or GIF on the box, paste it, or click Choose image. A sample is loaded so you can try the settings first.
  2. Pick a preset: Logo for flat graphics, Black & white for line art, signatures and stamps, Posterized for illustrations, Detailed for photos.
  3. Fine-tune: change the number of colors, the detail level, speckle removal and smoothing. The preview updates automatically.
  4. Compare the SVG with the original. Turn on Transparent background to drop the background color.
  5. Download SVG or copy the SVG code to paste into HTML, Figma, Illustrator, Inkscape or a cutting machine app.

How image tracing works

  1. Color reduction. The image is reduced to a small palette with k-means clustering, so similar shades become one flat color. Images that already have only a few colors keep their exact colors.
  2. Speckle removal. Tiny islands of color smaller than the speckle size are merged into the surrounding color, which keeps the SVG clean and small.
  3. Edge tracing. The outline of every color area, including holes, is followed along the pixel edges.
  4. Simplification and curves. The jagged pixel outlines are simplified to straight lines within the detail tolerance, then smooth corners are turned into quadratic Bézier curves while sharp corners stay sharp.
  5. SVG output. Each color becomes one <path> with the even-odd fill rule, scaled to the original image size.

Choosing a preset

PresetColorsBest for
Logo4, crisp cornersLogos, icons, flat graphics, screenshots of shapes
Black & white1 (black on transparent)Line art, text, signatures, stamps, cutting machines, laser engraving
Posterized8, smoothIllustrations, cartoons, stickers, poster effects
Detailed24, fine detailPhotos and complex artwork, when file size matters less

PNG vs. SVG

A PNG stores a grid of pixels, so enlarging it makes the edges blurry or blocky. An SVG stores shapes as math (lines and curves), so it stays sharp at any size, from a favicon to a billboard, and its colors and shapes can be edited. SVG is ideal for logos, icons and illustrations; PNG and JPG remain better for photographs.

Tip: for the cleanest result from a small or blurry logo, upscale it first or start from the largest version you have, and use the Blur option to smooth out JPG compression noise.

Frequently asked questions

Is this a real vector conversion?

Yes. The image is traced into filled vector paths, one group per color, so the SVG can be scaled to any size without pixelation and edited in vector software. Many online converters only wrap the original bitmap inside an SVG file; this tool does not.

What images convert best to SVG?

Logos, icons, clip art, text, signatures, stamps and drawings with flat areas of color convert best. Photos can be traced too, but the result looks like a poster or painting and the file can be large, because every area of color becomes a shape.

How many colors should I use?

Use as few as the image really has: 2 for black and white art, 3 to 8 for most logos, and 16 to 32 for detailed illustrations. Fewer colors give cleaner shapes and smaller files.

How do I make the background transparent?

Turn on Transparent background. The tool finds the color that covers most of the image edges and leaves it out of the SVG. Transparent areas in a PNG always stay transparent.

Can I use the SVG with Cricut or other cutting machines?

Yes. The Black & white preset creates a single black shape layer that cutting machine apps can import as a cut path. Remove speckles to avoid tiny cut pieces.

Why is my SVG file large?

Large, detailed or noisy images produce many small shapes. Lower the number of colors, raise Remove speckles, lower Detail or reduce the trace size to make the file smaller and cleaner.

Are my images uploaded?

No. Tracing runs in your browser using JavaScript, so your images never leave your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

SVG to PNGConvert SVG graphics to PNG or JPEG at any scale.PNG to ICOCreate multi-size favicon .ico files from PNG.Image ResizerResize images to any size without losing quality.Background RemoverRemove image backgrounds automatically with AI.PDF to SVGConvert PDF pages to scalable SVG vector files, with text kept as text or as paths.SVG Blob GeneratorGenerate random organic SVG blob shapes with gradients and export SVG, PNG or CSS clip-path.SVG Path EditorEdit an SVG path d attribute visually: drag points, edit commands, convert, scale and minify.SVG to JSXTurn SVG code into a clean React component: camelCase attributes, style objects, TypeScript.PSD to PNGConvert Photoshop PSD files to PNG and export every layer as its own PNG, no Photoshop needed.HEIC to JPGConvert iPhone HEIC photos to JPG.WEBP to JPGConvert WEBP images to JPG in bulk.PNG to JPGBatch convert PNG images to JPG with a background color.JPG to PNGBatch convert JPG images to PNG.WEBP to PNGConvert WEBP images to PNG, keeping transparency.AVIF to JPGConvert AVIF images to widely supported JPG.PNG & JPG to WEBPConvert PNG and JPG images to smaller WEBP files.Image ConverterConvert images between JPG, PNG, WEBP, AVIF, BMP, GIF and ICO in batches, right in your browser.HEIC to PNGConvert iPhone HEIC and HEIF photos to lossless PNG in batches, with ZIP download.GIF to MP4Convert animated GIFs to MP4 video with loops, scaling and background color, in your browser.ICO to PNGExtract every size from ICO and CUR icon files and save them as PNG images or a ZIP.BMP to JPGBatch convert BMP bitmaps to small JPG files with a quality slider and ZIP download.JPG to SVGTrace JPG photos and logos into real vector SVG files with color and detail controls.SVG to JPGConvert SVG vectors to sharp JPG images at 1x to 8x or any width, with a background color.TIFF to JPGConvert TIFF and TIF images, including multi-page scans, to JPG with a quality slider.JFIF to JPGBatch convert .jfif images to standard .jpg files, re-encoded or lossless, with ZIP download.Camera Shutter Count CheckerFind your camera's shutter count from a JPG or RAW photo. Nikon, Pentax, some Sony and Canon.Film Negative to Positive ConverterTurn scanned color or B&W film negatives into positives with orange mask removal and auto balance.HTML to ImagePaste HTML and CSS, see it rendered live and export a PNG, JPG, WebP or SVG at 1x to 4x.Convert Image to AVIFConvert JPG, PNG and WebP to AVIF with quality and speed control, size comparison and ZIP.Online Image ViewerOpen HEIC, TIFF, PSD, RAW, AVIF, WebP, ICO and more in your browser with zoom, pixel inspector and EXIF.Paste Image to FilePaste a clipboard image with Ctrl+V and save it as PNG, JPG or WebP, or copy images to the clipboard.RAW to JPGConvert camera RAW files (CR2, CR3, NEF, ARW, DNG, ORF, RAF, RW2) to JPG in batch, privately.Convert Image to CMYKConvert an RGB image to a CMYK TIFF or PDF for print, with ink limit, black generation and preview.Text to SVG PathTurn text in any Google or uploaded font into SVG path outlines for Cricut, laser and logos.AI to PNGConvert Adobe Illustrator .ai files to PNG at any DPI, with a transparent background, no Illustrator.CR2 to JPGConvert Canon CR2 RAW photos to JPG in batch: camera preview or developed sensor data.Image Format ComparisonCompress one image as JPG, WebP, AVIF and JPEG XL at the same quality and compare size and detail.PSD ViewerOpen Photoshop PSD files without Photoshop: browse layers, toggle visibility and export layers as PNG.Multi-Page TIFF ViewerView multi-page TIFF scans and fax files page by page, zoom, rotate and export pages as PNG or PDF.WEBP to GIFConvert animated or still WebP images to GIF, keeping every frame delay, with loop and size options.WEBP to MP4Turn animated WebP images into MP4 videos for sharing, with frame timing, length and size options.NEF to JPGConvert Nikon NEF RAW photos to JPG in batch: camera preview or developed sensor data.
See all 37 Image Converters →