Image to SVG Converter

Convert a bitmap into an SVG file on this page. Tracing works best on logos and flat graphics. Photos can be wrapped as a picture inside an SVG instead.

Runs entirely in your browser. Nothing you paste or upload is sent to a server.

Original image

Original image

SVG preview

SVG preview

Traced shapes turn the picture into colored vectors. Exact picture keeps the original look inside an SVG file.

What is Image to SVG Converter?

Traced shapes rebuilds the picture as colored rectangles. The Detail control sets how many cells wide that grid is. It starts at 72 and can run from 24 to 120. Each run of a similar color on a row becomes one rectangle. Colors are grouped in steps of 24, and pixels that are almost transparent are left out. Use this for a flat logo or an icon with few colors. A photo becomes a stack of blocks, not a smooth outline.

Exact picture keeps the original look. The SVG holds the bitmap in an image element, as a PNG. If the longer side is over 1600 pixels, that embedded picture is scaled so the longer side is 1600. Scaling the SVG up later still scales those pixels. Use this for a photo or a screenshot. The file is built in the browser from the image you choose.

How to use it

  1. Choose a PNG or JPG.
  2. Pick traced shapes or an embedded picture, and adjust detail if you trace.
  3. Preview the SVG and download it.

Useful for

  • Trace a simple logo
  • Embed a photo in an SVG
  • Download a vector file without a desktop app

Example

Traced shapes at the default detail of 72 writes a rectangle for each run of color. Exact picture writes one image element. The numbers in a real file follow the picture you chose.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 48" shape-rendering="crispEdges">
  <rect x="0" y="0" width="4" height="1" fill="rgb(0,0,0)"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" viewBox="0 0 800 600">
  <image href="data:image/png;base64,..." width="100%" height="100%"/>
</svg>

Common mistakes

  • Tracing a photo does not draw curves. It writes one rectangle per run of a similar color.
  • Exact picture is still a bitmap inside the SVG. Enlarging the file enlarges those pixels.
  • A higher Detail setting makes more rectangles and a larger file. It does not turn a photo into a clean logo.

Related tools

Questions about Image to SVG

What is the difference between the two modes? +

Traced shapes rebuilds the picture as colored vectors. Exact picture keeps the original look inside an SVG file.

Does conversion leave this browser? +

No. The SVG is built locally from the image you choose.

How do I convert a PNG to SVG? +

Choose the PNG, pick traced shapes for a simple logo or Exact picture for a photo, then download the SVG.

Will a photo become a clean vector? +

No. Tracing is for flat artwork with few colors. For a photo, use Exact picture so the original pixels stay inside the SVG.

Is the image uploaded? +

No. The SVG is created in this browser from the file you choose.

What does Detail change? +

It sets how many cells wide the trace grid is, from 24 to 120. It starts at 72. Exact picture ignores it.

Does Exact picture keep the full original size? +

If the longer side is over 1600 pixels, the embedded picture is scaled so that side is 1600. Smaller pictures stay at their own size.

Are the traced shapes smooth curves? +

No. Each run of a similar color becomes a rectangle. Use Exact picture when the original look has to stay.