Image to SVG converter

Vectorize an image online. Drop a PNG, JPG, WebP, AVIF, GIF or BMP below and it is traced into vector paths. Your first conversion needs no account.

Drop your image here

Drop an image here to vectorize it.

PNG, JPG, WebP, AVIF, GIF or BMP, up to 20 MB

Browse files

Image to vector: what changes

A raster image is a grid of pixels, and enlarging it makes the pixels show. Vectorizing traces the image into shapes instead. Each region of color becomes a path with a fill, and soft shading can become an SVG gradient. The result is one file that scales to any size.

The script lettering further down is a 12 KB SVG at any size. Enlarged to 4,000 px wide as a PNG, it is 870 KB, and still the same pixels made bigger.

Images made of shapes vectorize best: logos, icons, lettering, flat illustrations and line art. Photos work too, but they turn into many more shapes and a larger file.

Which image formats work

Files under about 3 MB go to the converter as they are, except GIF and BMP, which are converted first.

PNG
Transparent areas can come back empty or as a white rectangle. See PNG to SVG.
JPG and JPEG
Compression can add similar shades, which Reduce colors can merge. See JPG to SVG.
WebP
Lossy and lossless both work. See WebP to SVG.
AVIF
Accepted on the site. Image links and uploads sent to the API must be PNG, JPEG or WebP.
GIF and BMP
Converted to PNG in your browser, then uploaded.
File size
Up to 20 MB. Files over about 3 MB are shrunk in your browser before upload, to at most 4,000 px on the longest side. PNG, including GIF and BMP after their conversion, keeps its transparency through this step. JPG, WebP and AVIF are saved as JPG.
Not accepted
Other formats, such as TIFF, HEIC or PDF. Export them as PNG first.

Examples for each trace mode

Two of these were traced in General mode, and the other three in Cutting, Laser and Screen print, one each. All five started as PNG files in the examples gallery.

Dark navy script lettering reading Good vibes above the word ONLY in spaced red capitals and a curved underline on cream, original PNG
Original PNG
Dark navy script lettering reading Good vibes above the word ONLY in spaced red capitals and a curved underline on cream, traced to SVG
SVG
A 24 × 24 px detail of the original script lettering, enlarged: the pixels show as blocks
Original, zoomed
The same detail of the SVG script lettering, enlarged: the edges stay smooth
SVG, zoomed

Script lettering

Script lettering in 3 colors: background, navy and red. Thin hairlines in the script stay connected, and the SVG has exactly the 3 colors of the original.

Original
PNG, 1200 × 700 px, 39 KB
SVG
12 KB
Paths
17
Solid colors
3
Gradients
0
Trace mode
General
Open the example page
Illustration of a blue hand placing a card with a red and green parrot onto a glowing cyan platform, original PNG
Original PNG
Illustration of a blue hand placing a card with a red and green parrot onto a glowing cyan platform, traced to SVG
SVG
A 24 × 24 px detail of the original parrot photo card illustration, enlarged: the pixels show as blocks
Original, zoomed
The same detail of the SVG parrot photo card illustration, enlarged: the edges stay smooth
SVG, zoomed

Parrot photo card illustration

A busy illustration with glows and sparkles. The glow around the platform is traced as gradients, 65 in the whole file, and the parrot's feathers stay separate shapes. The SVG is still a bit smaller than the PNG.

Original
PNG, 1024 × 1024 px, 284 KB
SVG
241 KB
Paths
256
Solid colors
74
Gradients
65
Trace mode
General
Open the example page
Black silhouette of a sitting cat with pointed ears, a curled tail and two small white eyes, original PNG
Original PNG
Black silhouette of a sitting cat with pointed ears, a curled tail and two small white eyes, traced to SVG
SVG
A 24 × 24 px detail of the original cat silhouette for vinyl, enlarged: the pixels show as blocks
Original, zoomed
The same detail of the SVG cat silhouette for vinyl, enlarged: the edges stay smooth
SVG, zoomed

Cat silhouette for vinyl

A one-color silhouette for vinyl, traced in Cutting mode. It came back as 2 paths on a white background, and the eyes are holes in the black shape, made with an even-odd fill.

Original
PNG, 1000 × 1000 px, 20 KB
SVG
13 KB
Paths
2
Solid colors
2
Gradients
0
Trace mode
Cutting
Open the example page
Black line art mandala with three rings of petal shapes and dots around a solid center on a white background, original PNG
Original PNG
Black line art mandala with three rings of petal shapes and dots around a solid center on a white background, traced to SVG
SVG
A 24 × 24 px detail of the original mandala line art for laser engraving, enlarged: the pixels show as blocks
Original, zoomed
The same detail of the SVG mandala line art for laser engraving, enlarged: the edges stay smooth
SVG, zoomed

Mandala line art for laser engraving

Line art for engraving, traced in Laser mode. It came back as 3 compound paths in 2 colors, two dark and one light, on a background rectangle. The petals and dots keep even line weights.

Original
PNG, 1000 × 1000 px, 135 KB
SVG
97 KB
Paths
3
Solid colors
2
Gradients
0
Trace mode
Laser
Open the example page
Three-color race t-shirt design with an orange sunburst, navy hills and cacti inside a circle under the words Desert Run and a 5K tag, original PNG
Original PNG
Three-color race t-shirt design with an orange sunburst, navy hills and cacti inside a circle under the words Desert Run and a 5K tag, traced to SVG
SVG
A 24 × 24 px detail of the original desert run 5k tee design, enlarged: the pixels show as blocks
Original, zoomed
The same detail of the SVG desert run 5k tee design, enlarged: the edges stay smooth
SVG, zoomed

Desert run 5K tee design

A tee design drawn for three inks, traced in Screen print mode. It returned 7 paths with 6 solid colors and 1 gradient: the inks and the background, plus 2 light tints along the sun rays and a faint gradient on one navy area. Merge the tints and fill the gradient area with a solid color before you separate.

Original
PNG, 1000 × 1000 px, 54 KB
SVG
57 KB
Paths
7
Solid colors
6
Gradients
1
Trace mode
Screen print
Open the example page

Choosing a trace mode

Every conversion starts in General. To try another mode, pick it under Trace mode in the editor. A mode you haven't tried on this image traces it again and counts as a conversion; switching back to one you already tried does not. Mode traces take longer: in the gallery they took 12 to 41 seconds, against 1 to 4 seconds for General.

General
The default, and the only mode the API uses. Keeps soft shading as gradients. Use it for logos, icons and illustrations going on screens or into print.
Cutting
For Cricut and Silhouette. In the gallery it traced the cat silhouette to 2 paths and a two-color iron-on design to 6. See Cricut.
Laser
For engraving and laser cutting. Download DXF for outlines, or SVG for LightBurn. See laser.
Screen print
A starting point for separations: merge stray tints and check for gradients before you burn screens. The halftone badge shows small dots kept as round shapes. See screen printing.

Edit and download

The editor opens with your image traced. Before you download, you can change it:

Brush
Click a shape to fill it with a new color.
Eraser
Click a shape to remove it, such as a background rectangle.
Reduce colors
Merge the solid colors into a smaller palette, as far as two. Gradients are left alone.
Color shift
Rotate the hue of the solid colors.
Remove background
Use a background mask of the original image to drop background shapes.
Optimize
Shrink the SVG file, lossless or lossy, with the size shown before and after.

Download formats

SVG is the traced file. PNG is rendered from it at 2,048 px wide. AI and PDF keep the vector paths; the AI file is PDF-based. DXF has outlines only, for laser and CNC software (see image to DXF). EPS holds a rendered image up to 1,024 px wide, so for print send PDF or AI (see image to PDF). Pro can download all six in one zip.

Batches, the API and AI agents

For more than a handful of images, use the API or the MCP server. Both are part of Pro and use the same monthly allowance as the site. POST /api/agent/vectorize converts one image and allows 10 requests a minute. POST /api/agent/batch traces up to 10 images in one request and returns a batch ID, and GET /api/agent/batch/{id} gives links to the finished SVGs. Each image costs one credit.

The MCP server gives Claude Code, Codex, Cursor and other MCP clients the same tools, including batch_vectorize and remove_background. See the developer docs and the MCP guide.

Questions about vectorizing images

What does it mean to vectorize an image?
Tracing a pixel image into shapes described by curves, so it can be resized without blur. Image to vector and image to SVG mean the same thing here: the output is an SVG file you can also download as PDF, AI or DXF.
Can I convert a photo to SVG?
Yes. Expect many shapes and a larger file, since grain and fine texture are traced too. The JPG to SVG page has a photo-style example with its numbers.
How does it compare with Inkscape, Illustrator or Vector Magic?
The comparison pages cover Inkscape, Adobe Illustrator, Vector Magic and Vectorizer.AI one by one.
Is it free?
Yes, to start. The daily and monthly allowances for the free and Pro plans are on the pricing page.

Vectorize an image

PNG, JPG, WebP, AVIF, GIF or BMP, up to 20 MB. Choose a file to start the upload.

See all examples