SVG to PNG Converter

Turn SVG icons, logos and illustrations into PNG images at any size — upload files or paste code, keep transparency, download one by one or as a ZIP.

Drop SVG files here

or click to browse — up to 50 files, max 5 MB each

Output size

🔒 SVGs are rendered locally as images: scripts inside them do not run and nothing is uploaded.

Why convert SVG to PNG?

SVG describes shapes as geometry, so it stays sharp at any size and is ideal for logos and icons on the web. Many places still refuse it, though: social networks, app stores, email clients, office documents, favicons for older systems and most image uploaders want a bitmap. Converting renders the vector at a pixel size you choose and saves it as a PNG, which keeps transparency and has no compression artefacts.

How to use the converter

  1. Drop one or more .svg files on the box, or paste markup into …or paste SVG code and click Convert pasted SVG (try Load example first).
  2. Under Output size, choose Scale (1×–8×) or Width (px).
  3. Keep Transparent background ticked, or untick it and pick a colour.
  4. Check each card: it shows the SVG's own size, where that size came from, and the PNG dimensions and file size.
  5. Click Download PNG, or Download all (ZIP) for several files.

Worked example

The built-in example is a 64-unit icon with only a viewBox:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
  <circle cx="32" cy="32" r="28" fill="#2563eb"/>
  …
</svg>

The card reports SVG size 64×64 (from viewBox). At the default 2× scale the PNG is 128×128 px and is downloaded aspasted-1-128x128.png. Switch to Width (px) and type 1024 and you get1024×1024. A banner with viewBox="0 0 200 50" at Width 1000 becomes 1000×250 — the ratio is never distorted.

How the size is worked out

The converter reads the root <svg> element the same way a browser does. If it has width and height, those are used, in any CSS unit (10cm is 378 px at 96 DPI). If only one is set, the other comes from the viewBox ratio. If neither is set, the viewBox width and height are used, and with nothing at all the browser default of 300×150 applies. Before drawing, the tool writes explicit pixel width and height onto a copy of the SVG (adding a viewBox when missing). That avoids a well-known Firefox problem where a viewBox-only SVG is drawn on a canvas at 0×0 and the PNG comes out blank.

Limitations

  • External resources (web fonts, <image href="https://…">, external CSS) are not loaded in image mode. Embed them or convert text to outlines.
  • Animations and scripts are ignored; the PNG is the initial frame.
  • SVGs using <foreignObject> (HTML inside SVG) may be blocked from export by some browsers.
  • Output is capped at 16,384 px per side and about 268 megapixels; larger requests are reduced and flagged.
  • Each SVG file may be up to 5 MB; up to 50 per batch.

Tips

  • For favicons and app icons, export a large square PNG here and then make the smaller sizes with the Image Resizer.
  • Need JPEG or WebP? Convert the PNG with the Image Format Converter.
  • A PNG of a simple icon is usually tiny; if a photo-like illustration produces a big file, WebP will be much smaller.

Frequently Asked Questions

What resolution should I export my SVG at?

Use 2× or 3× for icons and logos shown on high-density (Retina) screens, or switch to Width (px) and type the exact width you need, such as 512 for an app icon. The height always follows the SVG's aspect ratio.

Why was my SVG exported at 300×150?

That is the default size browsers use when an SVG has no width, height or viewBox. Add a viewBox (for example viewBox="0 0 64 64") to the root element, or simply choose Width (px) to set the size yourself.

Does the PNG keep a transparent background?

Yes, by default. Untick Transparent background to fill it with a solid colour instead, which is useful for platforms that show transparency as black.

Can I convert several SVG files at once?

Yes. Drop up to 50 SVG files (5 MB each) or paste SVG code; each one is rendered with the same settings and you can download them individually or as a ZIP.

Why do fonts or linked images look different in the PNG?

The SVG is rendered as an image, and in that mode browsers do not load external files such as web fonts or linked bitmaps. Convert text to paths and embed images as data URIs in your editor before exporting.

Is it safe to convert an SVG from an unknown source?

Yes. The file is parsed with DOMParser and drawn through an <img> element, where browsers never run scripts. Nothing is uploaded; conversion happens entirely in your browser.