Skip to main content

Image to SVG converter

Trace a raster image into vector shapes, or embed it inside an SVG wrapper.

Processed in your browser. This file is converted on your device and is never uploaded.

Converter

.png, .jpg, .jpeg, .webp, .gif, .bmp up to 50 MB. You can also drag a file here.

Options

Tracing is an approximation. A raster image holds no shapes to recover, so the tracer draws paths around regions of similar colour. It suits logos and line art. On a photograph it produces thousands of paths and a file much larger than the original.

The image is reduced to this many colours before tracing. Fewer means simpler shapes and a smaller file.

No file selected.

About this tool

Turning a PNG or JPEG into an SVG is the one image conversion that cannot really be done. A raster image is a grid of pixels with no shapes underneath it, so there is nothing to recover: any tool claiming to vectorize a photograph is drawing new shapes that resemble it.

This tool does that honestly. It reduces the image to a small number of colours, draws paths around each region, and gives you the result labelled as what it is: an approximation. On flat artwork such as a logo or a line drawing the result can be excellent and genuinely scalable. On a photograph it produces thousands of paths and a file several times larger than the original.

Supported formats and limits

Input
.png, .jpg, .jpeg, .webp, .gif, .bmp
Output
.svg (image/svg+xml)
Output name
The original name with -traced or -embedded, for example logo.png becomes logo-traced.svg.
File size limit
50 MB
Processing
In your browser. The file is not uploaded.

How to use it

  1. Choose a .png, .jpg, .webp, .gif, or .bmp file.
  2. Pick whether to trace the image into shapes or embed the pixels inside an SVG wrapper.
  3. For tracing, choose the kind of source and how many colours to reduce to.
  4. Select Convert, then download the .svg file and check it before relying on it.

Limitations

  • Tracing is an approximation. The output resembles the input; it is not derived from any original geometry, because a raster image has none.
  • Photographs trace badly. Expect thousands of paths, a file larger than the original, and visible banding where smooth gradients became flat regions.
  • Text is not recognised as text. Letters become outlines, so the result cannot be edited or searched as words.
  • Tracing is limited to four megapixels, because it produces one path per colour region and a larger image would exhaust the browser. Resize first if you hit that.
  • The embed option is not vectorization at all. It places the pixels inside an SVG document, so the file carries the .svg extension but scales no better than the original.
  • Fine detail below the colour threshold is discarded rather than approximated.

Common problems

The file was refused before anything started.

Image to SVG converter checks the extension before it reads a byte, and it accepts .png, .jpg, .jpeg, .webp, .gif, .bmp. Browsers report file types inconsistently enough that the extension is what decides.

Rename the file if the extension is simply wrong, or convert it to one of those first. A file whose extension does not match its contents is refused for the same reason, and that one needs converting rather than renaming.

It said the file was too large.

The limit here is 50 MB. It is not a policy but a measurement: everything runs on your own device, and past that size a phone runs out of memory rather than finishing slowly.

Split the file, reduce it before converting, or use a desktop program for that one. A machine with more memory will manage more, but the limit does not know which machine it is on.

I selected several files and only one converted.

This tool takes one file at a time. Doing several at once would multiply the memory in use, which is the thing most likely to fail on a phone.

Convert them one after another. Nothing is kept between them, so there is no state to reset.

The tab reloaded itself part-way through.

The browser ran out of memory and restarted the page. At sizes approaching 50 MB this is the failure a phone hits first, and it looks like a crash rather than an error.

Try a smaller file, close other tabs, or run it on a computer. Nothing was uploaded or lost — the original file is untouched on your device.

The result opened in the wrong program.

The output is a .svg file, and your system opens that extension with whatever it was told to. Nothing about the conversion decides it.

Open it from inside the program you want, or change the default for .svg in your system settings. The file itself is correct.

Frequently asked questions

Is my image uploaded?
No. Both tracing and embedding run entirely in your browser. The image never leaves your device.
Will this give me a proper vector version of my logo?
If the logo is flat colour with clean edges, often yes, and it will scale properly afterwards. If it is a small or blurry copy, the tracer will follow the blur and the artefacts. Redrawing from the original artwork always beats tracing.
Why is the SVG bigger than the PNG?
Because every colour region became a path with many coordinates. This happens most with photographs and with any image containing noise or gradients. Fewer colours produces a smaller file.
What is the difference between tracing and embedding?
Tracing produces real vector shapes that scale. Embedding wraps the original pixels in an SVG document, which is useful only when something insists on the .svg extension. Neither improves an image; only tracing makes it scalable.
Can I get editable text back?
No. That would need optical character recognition, which this site does not do. Traced letters are outlines, not words.
What does the tracing?
ImageTracer, an open-source tracing library released into the public domain, running in your browser. It is credited here because knowing a result came from a tracer is part of knowing what the result is.
Do I need to install anything or create an account to use Image to SVG converter?
No, to all of it. Image to SVG converter runs inside the browser you already have, with no sign-up, no download, no watermark on the result, and no cap on how many files you convert. There is nothing to uninstall afterwards either, because nothing was installed.
Does Image to SVG converter work offline?
Once the page has loaded, yes. The conversion runs on your device, so it needs no connection to do the work. The first visit fetches the page and the code that does the converting; after that a lost connection stops nothing, and a converted file appears exactly as it would online.
How large a file can Image to SVG converter handle?
The limit is 50 MB. It is a deliberate one rather than a technical ceiling: the real constraint is memory, and a file that decodes to more than the device can hold fails in a way that is hard to explain. Phones run out well before laptops do, which is why the limit is set where it is.
Can I convert several files at once with Image to SVG converter?
Not here: this tool takes one file at a time, because what it does depends on choices you make about that particular file. Convert them one after another, or look at the batch converters in the same category, which are built for a folder at a time.

Ads on this site

Advertising pays for this site. The ads may store cookies to choose what to show you and to avoid repeating themselves. Your files are not involved in any of it — they never leave your browser, whichever button you press, and every tool works either way.

What this covers