SVG to PNG

Paste or load an SVG and get a PNG, JPG or WebP image at the size you need (1x to 8x or an exact width or height), with a transparent or coloured background. Everything in your browser.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Drop an SVG file here or choose a file; or paste the code below.

Dimensions and viewBox

If the SVG has no width and height the tool uses the viewBox; if that is missing too, 300×150 as browsers do. The scale applies to these dimensions.

External resources

Images, fonts and stylesheets linked by address are not downloaded: the browser draws the SVG as an image, and does so without network access. Embed the resources in the file (data:) if you need them.

Where the data goes

Everything happens on this page: the SVG is never uploaded or stored anywhere. Scripts and event handlers are removed before drawing anyway.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Paste the SVG code into the text field or load an .svg file.
  2. Check the preview and the detected size of the SVG.
  3. Choose the size: a "Scale" from 1x to 8x, or a "Width" or "Height" in pixels (proportions are kept).
  4. Choose the format (PNG, JPG or WebP) and the background: transparent or a colour.
  5. Press "Download the image".

Frequently asked questions

Why is the image blurry or small?

An SVG is vector and can be exported at any size without losing sharpness: raise the scale (up to 8x) or enter a larger width.

The SVG has no width and height: what size is it?

The viewBox is used. If that is missing too, browsers use 300×150 and the tool warns you that the proportions are guessed.

Why are images or fonts of the SVG missing?

Resources linked by an external address are not loaded (for your privacy and safety). Embed them in the file as data: URIs and they will appear.

Can I have a transparent background?

Yes, with PNG and WebP. JPG does not support transparency and uses a white background.

Is my SVG uploaded anywhere?

No: drawing and conversion happen in your browser.

Privacy

Everything happens on this page: the SVG never leaves your device and external resources are not requested.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain