🔒 100% private — runs in your browser, nothing is uploaded

SVG to PNG Converter

Turn SVG markup or an .svg file into a PNG or JPG at the size you choose.

SVG is a drawing described in words: infinitely scalable, tiny in bytes, and useless in the places that want pixels — a slide deck, a social post, a form upload, a README screenshot. This tool does the one job of turning that description into an actual image, at the exact pixel size you ask for, without the file leaving your device.

The SVG is drawn and rasterised on this device only — nothing is uploaded. If your SVG has no width/height and no viewBox, browsers fall back to a 300×150 drawing area, and so does this tool; set an explicit width or a custom output width here for a predictable result.

Quick answers

How do I convert an SVG to PNG without uploading it?

Paste the markup or open the .svg file here, choose a size and background, and press Convert — the drawing is rasterised by your own browser.

The download is produced on your device, so the tool works for unpublished artwork and client files alike.

What size will my PNG be?

By default, the SVG’s declared width and height (or its viewBox size); scale presets multiply that, and a custom width overrides it with the height scaled to match.

An SVG with neither width/height nor a viewBox falls back to 300×150, the same default browsers use.

Can the PNG keep a transparent background?

Yes — choose PNG and the Transparent background. JPG cannot hold transparency and is flattened onto white instead.

White and black backgrounds are also offered for PNG when you need the artwork on a fixed ground.

How to use

  1. Paste your SVG markup into the box, or open an .svg file — a preview appears so you can check it looks right.
  2. Choose the output size: a scale preset, or type an exact width and the height follows the proportions.
  3. Pick a background — transparent, white or black — and PNG or JPG.
  4. Convert, check the rendered preview and its pixel size, then download.

About this tool

Size deserves a moment, because it is where SVG conversions usually go wrong. The tool reads the SVG’s own width and height attributes first, then its viewBox, and scales from there, always preserving the aspect ratio — type a custom width and the height is worked out for you. If an SVG declares neither width/height nor a viewBox, there is honestly no “natural size” to discover: browsers fall back to a 300×150 drawing area, this tool does the same and tells you, and setting a custom width is the fix.

Background and format interact, so the controls are honest about it: PNG keeps transparency, JPG has none — pick JPG with a transparent background and the tool flattens onto white rather than producing a surprise black box. One real limit: SVGs that reference external images, fonts or stylesheets cannot be rasterised this way, because an SVG drawn as an image is not allowed to reach out to the network. Embed those assets in the file first. Everything runs in this page; nothing is uploaded or stored.

Frequently asked questions

Is my SVG uploaded to a server?

No. The SVG is turned into an image by your browser, on this device. Nothing is sent anywhere or stored.

Why did my image come out at 300×150?

Your SVG declares no width, no height and no viewBox, so it has no intrinsic size; 300×150 is the standard fallback drawing area. Open the SVG, add a width/height or a viewBox, or simply type the width you want in the custom width box here.

Why is my converted image blank or missing parts?

Almost always external references: an SVG drawn as an image may not load linked images, web fonts or external CSS, so anything not embedded in the file goes missing. Embed images as data and convert text to paths, then convert again.

PNG or JPG — which should I choose?

PNG for logos, icons and line art: it is lossless and keeps transparency. JPG for photo-like artwork where a smaller file matters more than exact edges — and remember JPG flattens transparency away.

Can I make the PNG bigger than the SVG’s stated size?

Yes — that is the point of a vector. Pick 2×, 3× or 4×, or type a larger custom width; the drawing is re-rendered at that size, so edges stay sharp rather than being stretched from a small bitmap.

📦 Embed this tool on your site

<iframe src="https://verystep.com/embed/svg-to-png/" title="SVG to PNG Converter" width="100%" height="520" loading="lazy" style="border:0"></iframe>

Free to use. The embed shows a small "Powered by Verystep" link.

First time embedding? Read the step-by-step guide →

More free tools