Image to SVG Converter: Turn Any Image into a Scalable SVG

Drop a PNG, JPG, WebP, GIF, BMP or AVIF and get clean vector paths with a live side-by-side preview.

Image to SVG Converter tool

1Add your image

Drop your image here, or click to browse You can also paste with Ctrl+V. Nothing is uploaded.
No file?

2Adjust the result

Start from

Style

More options

3Preview and download

Live preview
Loading…
Original · Image Vector · SVG
Drag the handle to compare · scroll to zoom
100%
Drop image to convertPNG, JPG, WebP, GIF
SVG file size
–
 
PNG
SVG
Colors
–
Time
–ms
 
More detailsColor layers, size history, SVG code
Shapes
–
closed outlines
Nodes
–
path points
Decode–
Quantize–
Trace–
Simplify–
Render–

Color layers

Hover to isolate · click to hide

Live size trace

SVG size per adjustment
SVG sizeOriginal PNG

SVG source

–

              

Under the hood

How Image to SVG Converter works

An image to SVG converter turns any raster picture into vector shapes without you having to know the source format. It accepts PNG, JPG, WebP, GIF, BMP and AVIF, then rebuilds the picture as scalable paths.

  1. Open whatever you have

    Anything your browser can display is drawn onto a canvas and read as pixels. There is no format selector to get wrong, so a mixed folder of PNG, JPG and WebP files all go through the same pipeline.

    Canvas · any browser format
  2. Choose how much to simplify

    You decide the number of colors, from 2 up to 64, or switch to Gray or Mono mode. Fewer colors give a bolder, smaller vector; more colors keep shading.

    Median cut · k-means
  3. Trace each color layer

    Every color becomes a stacked layer whose outline is found at sub-pixel accuracy, so edges follow the real boundary instead of pixel stair-steps.

    Marching squares
  4. Fit curves and export

    Outlines are fitted with cubic Béziers, straight runs stay lines, and the layers are written as one compact SVG with the original proportions.

    Bézier fit · SVG
The four stages of the Image to SVG Converter, from your input to the finished file.

Why use a general image converter

Format agnostic
Use it when you are not sure of the format or when your files come from several sources.
Four starting presets
Logo, Illustration, Photo and Line art cover most pictures, so the first preview is usually close.
Live comparison
The split view and size tile update as you move a slider, so you see the effect of every choice.

Step by step

Image to SVG Converter process

Converting any image to SVG takes four steps. The most important decision is the preset, because it sets sensible starting values for colors, detail and smoothness.

  1. Add your image

    Drop an image onto the box, paste it with Ctrl+V, or press the sample button to see the converter working first.

    Tip: PNG, JPG, WebP, GIF, BMP and AVIF are all supported.

    Drop Image
  2. Pick the closest preset

    Use Logo for marks, Illustration for flat artwork, Photo for pictures and Line art for drawings. Presets only change the starting slider values.

    Tip: You can still change every slider afterwards.

    ColorsDetailSmoothness
  3. Adjust one slider at a time

    Change Colors, Detail or Smoothness and watch the preview, palette and size tiles respond. Changing one control at a time shows what it really does.

    Tip: Zoom to 400% to check edges.

  4. Download the SVG

    Save the SVG or copy the code and open it in Figma, Illustrator, Inkscape or a browser.

    Tip: Check the file-size tile before saving.

    Download SVGimage-to-svg.svg

Use the Image to SVG Converter

Reference

Image to SVG Converter settings / conversion chart

Use the table to choose a preset by image type. The chart shows which kinds of image turn into vectors most successfully.

Vector fit by image type

Vector fit by image typeLogo or icon: 5/5; Flat illustration: 4/5; Line drawing: 4/5; Photograph: 2/5.Logo or icon5/5Flat illustration4/5Line drawing4/5Photograph2/5
Guide, 1 (poor) to 5 (excellent): flat, high-contrast pictures convert best.

At a glance

  • Converts best: Logo or icon.
  • Needs the most care: Photograph.

Guide, 1 (poor) to 5 (excellent): flat, high-contrast pictures convert best.

Image to SVG Converter settings by image type
Image typePresetColorsSmoothnessRemove specksResult
Logo or badgeLogo4–825–30%12 px²Crisp shapes
Flat illustrationIllustration12–2045%8 px²Clean layers
Pencil or ink drawingLine art · Mono2 (ink)35%4 px²Single-color lines
PhotographPhoto32–4860%24 px²Posterized art

Answers

Image to SVG Converter FAQ

Questions people ask about the Image to SVG Converter, answered for this specific use case.

Which image formats can I convert to SVG?

PNG, JPG, WebP, GIF, BMP and AVIF work, along with anything else your browser can open as an image. HEIC, TIFF and PSD files must be exported to PNG or JPG first.

Which preset should I start with?

Match the preset to the picture: Logo for marks, Illustration for flat art, Photo for photographs and Line art for drawings. If the first preview looks too detailed or too plain, change Colors first.

Is my image uploaded to a server?

No. The conversion runs entirely in your browser, so the file never leaves your device.

Why does the SVG look different from my image?

A vector stores flat color regions, so shading and gradients are approximated with bands. Increase Colors and Detail for a closer match, or lower them for a bolder graphic look.

Is there a size limit?

Images are processed up to 3000 px on the longest side. Larger images are scaled down for tracing, and the SVG keeps the original proportions.

Ready to try it?

Your result is one drop away.

Open the Image to SVG Converter

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.