Runs on your device

SVG to PNG or JPG converter

Drop an SVG, choose an export size and a format, and get a PNG with the transparency intact or a JPG that weighs less. The whole thing runs in the page, so your file never leaves the machine you are sitting at.

  • No upload, no queue, no account
  • PNG for transparency, JPG for a smaller file
  • 1x to 8x, with the pixel size spelled out before you commit

Convert an SVG

Nothing gets uploaded

Drop an SVG here

or

Reads
  • SVG
  • SVGZ
  • Inline SVG
writes PNG JPG

The SVG is drawn on a canvas on this machine and encoded here as a PNG or a JPG. Nothing is sent to the server, which is why this one finishes instantly instead of showing a progress bar.

How the PNG or JPG gets made

No server round trip, so there is nothing to wait for.

  1. 1

    Drop the SVG

    The file is read as text and measured. If it declares a width and height, those are used. If it only has a viewBox, the viewBox sets the ratio and the export size sets the pixels.

  2. 2

    Pick the size and format

    The size dropdown spells out the pixel dimensions each multiplier produces, so you are not guessing whether 4x means four times 32 or four times 512. Then choose PNG if the background has to stay see-through, or JPG if the file needs to be small.

  3. 3

    Save the file

    The image is redrawn at the full export size and encoded, then held in the page until you download it. A JPG is flattened onto the background colour first, because the format has no transparency to fall back on. Nothing is written anywhere else.

SVG to PNG and JPG questions

The details that matter when the export has to be used somewhere specific.

Does my SVG get uploaded?

No. This converter has nothing to do with the tracing engine. The SVG is read on your own device, drawn into a canvas and encoded there, so no copy travels anywhere. That also means it works with files you would rather not hand to a stranger's server.

PNG or JPG, which should I pick?

PNG if anything in the artwork is see-through, or if it is mostly flat colour like an icon, a logo or a diagram, because PNG stores flat areas without smearing the edges. JPG if the background does not matter and the file has to be small, which is usually the case for a photograph or a wide gradient.

Will the transparency survive?

In a PNG, yes. PNG carries an alpha channel, so a transparent background stays transparent rather than turning white. JPG has no alpha channel at all, so anything transparent has to be flattened onto a colour. That is what the background control does when you pick JPG. Leave it white and you get what a viewer would have shown you anyway.

What size should I export at?

Export at the pixel size you will actually display, then double it for high density screens. A 200 point icon shown on a 3x phone screen wants a 600 pixel PNG. Exporting far beyond that only makes the file heavier, because PNG compresses flat colour well but not at no cost.

Why does a huge export get reduced?

Browsers cap how large a canvas can be, and the ceiling differs between them. If a multiplier would exceed it, the export comes down to the largest size that fits and the status line says so, rather than failing silently or handing you an empty file.

My SVG did not convert. What now?

The usual culprits are files that are not really SVG, or SVG that points at something external like a linked font or image. An SVG drawn into a page cannot load outside resources, which is what makes this safe, so those files need their fonts converted to paths first. Opening it in Inkscape and saving again usually fixes it.

Going back the other way?

Trace a PNG, JPG or WebP into clean vector paths in about twenty seconds, then scale it as far as you like.

PNG to SVG