SVG Converter
Pictures described as shapes rather than pixels: sharp at any size, and editable as text.
9 tools
Convert to SVG
Convert from SVG
Why SVG is different from every other image format
An SVG is not a grid of pixels but a set of instructions (this line, that curve, this fill) that the browser draws at whatever size it needs. A logo in SVG is perfect on a watch face and on a billboard from the same few kilobytes, and it can be styled, animated and recoloured with the same tools as a web page, because it is markup. For logos, icons, charts and diagrams there is no better answer.
What it cannot do
Photographs. A photograph traced into vectors is either enormous or unrecognisable, and usually both. Traced output is right for simple, flat, high-contrast artwork and wrong for anything with texture or gradient. In the other direction, rendering an SVG to PNG is always safe and often necessary, because plenty of software, and every print workflow, still wants pixels.
The security footnote
Because SVG is markup, it can contain scripts, which is why some systems refuse to accept it and why anything that opens an SVG should sanitise it first. The tools here strip scripts and external references before rendering, so converting an SVG from an unknown source is safe even when opening it in a browser would not be.
SVG to PNG at the right size
An SVG has no pixel size of its own, so the first question when converting is how big the PNG should be, and the answer depends on where it goes. A logo for a website needs the size it is displayed at and the same again at 2× and 3× for high-density screens; a favicon set needs 16, 32, 180 and 512 pixels; a print job needs the physical size at 300 dpi. SVG to PNG takes either a scale factor or exact width and height, keeps the transparent background unless you give it a colour, and renders from the vector paths each time, so the 16-pixel version is drawn at 16 pixels rather than shrunk from a large bitmap and smudged.
Frequently asked questions
Is SVG better than PNG?
For logos, icons, charts and anything drawn as shapes, yes: it is sharp at every size and usually far smaller. For photographs it is useless. Use SVG as the master for graphics and export PNG at the exact sizes that other software asks for.
Why won't my SVG upload?
Because SVG is markup and can carry scripts, many sites refuse it on principle. Convert it to PNG at the displayed size and the upload goes through. The tools here also strip scripts before rendering, so an SVG from an unknown source is safe to convert.
Can I convert a photo to SVG?
Tracing turns a bitmap into shapes, which works for flat, high-contrast artwork such as a scanned logo or a line drawing. A photograph traced to SVG is either huge or unrecognisable. PNG to SVG is for the first case, not the second.