1. All tools
  2. SVG to PNG

How do I convert an SVG to a PNG?

Drop an SVG file or paste SVG code, choose the output size — 2×, 4× or an exact width — and the background, and the page renders a sharp PNG, JPG or WebP with your browser’s own SVG engine. Because SVG is vector, the image stays crisp at any size. You can download it or copy it straight to the clipboard.

Runs entirely in your browser · no upload · no account · no watermark

  1. Drop an SVG file, or paste SVG code.
  2. Choose size, format and background.
  3. Download the image or copy it to the clipboard.
Drop an SVG file hereor click to choose one
…or paste SVG code

What this page can do

  • PNG, JPG or WebP output
  • 1×, 2×, 3×, 4×, 8× or an exact width up to 16,384 px
  • Transparent, white or custom background
  • Reads width, height and viewBox, with sensible defaults
  • Paste SVG code directly — no file needed
  • Copy the result to the clipboard

When to use this page

  • Turning an icon or logo into a PNG for a document, slide or social post.
  • Making a high-resolution raster of a diagram for print.
  • Getting an image for a tool that does not accept SVG.

When to use something else

  • The SVG uses fonts or images from other websites — they will not appear; embed them or convert text to outlines first.
  • You need many SVGs converted at once — use a command-line tool such as resvg or Inkscape.
  • You need PDF or EPS output for print — use a vector editor.

How it compares with other options

Inkscape, Illustrator and command-line renderers such as resvg or rsvg-convert give precise, scriptable control and handle batches. Online converters usually render on their servers after you upload the file. This page uses the SVG renderer built into your browser — the same one that displays SVGs on websites — so the result matches what you see on the web, and the file stays on your device.

Where your files go

Nowhere. This page loads the code that does the work, and from then on the file you open is read by your own browser. There is no upload step, no temporary server copy and no cleanup to trust. You can check it yourself: open your browser’s network panel while the tool runs — the page still loads its own code and any ads, but no request carries your file.

Questions about this tool

Why is part of my SVG missing in the PNG?

When an SVG is drawn as a picture, browsers block anything it loads from elsewhere — web fonts, linked images and external stylesheets — for security. Embed images as data URIs and convert text to paths, or use fonts installed on your computer.

What size should I export?

For screens, 2× the original size looks sharp on high-density displays. For print, multiply the printed width in inches by 300 to get the width in pixels — for example, 6 inches at 300 dpi needs 1,800 px.

Why does my SVG come out as 300 × 150?

The SVG has neither width and height nor a viewBox, so it has no size of its own and browsers fall back to 300 × 150. Choose a custom width, or add a viewBox to the SVG.

Can I keep the transparent background?

Yes — choose PNG or WebP with a transparent background. JPG cannot store transparency, so the page fills it with white or the color you choose.

Other tools you may need