SVG to PNG Converter

Drop SVG files, get PNG back — 100% in your browser. No uploads, no accounts, no limits. Scale presets, exact pixel sizes, transparency kept honest.

Designer wedge: 1x / 2x / 3x retina presets and custom dimensions with aspect-ratio lock — the sizes icon and logo work actually needs.

Drop SVG files here

or — multiple files welcome

Up to 10 MB per file · up to 50 files per batch · nothing ever uploads

Output settings
Scale
2x is the usual choice for retina screens.
Background
Transparent is the default — the PNG keeps its alpha channel. A colour flattens the image onto it.

No files yet. Your SVGs are sanitized and rendered on your device — scripts are stripped, external references are refused, and nothing is uploaded. See the privacy panel below for how to verify that.

Privacy: nothing leaves your device

Your files are never sent to any server — all conversion happens on your device. All JavaScript is vendored locally (JSZip for batch downloads), with no CDNs and no webfonts. The only network requests on this page are the site's own analytics (Google Analytics and a Cloudflare beacon), which load once when the page opens and never see your files — so the counter below stays at zero while you convert. Your SVGs are read into memory, sanitized, rendered on a canvas, and encoded as PNG, all on your machine. The page keeps working with your internet disconnected after it loads.

Network requests observed during processing: 0 (live counter — counts every resource request the browser makes after load)

How to verify it yourself in DevTools
  1. Press F12 to open developer tools, then open the Network tab.
  2. Convert one or more SVG files on this page.
  3. You will see zero new requests while converting — the counter above stays at 0. The only requests the page ever makes are the site's own analytics (Google Analytics and a Cloudflare beacon), which load once when the page opens, before you start converting.
  4. For the strongest check: load the page, then disconnect your internet (or tick Offline in the Network tab) and convert again — it still works.
What sanitization does to your SVG

Every file is cleaned before it is rendered, and the file card shows exactly what was removed:

  • Stripped: <script> blocks, embedded HTML (<foreignObject>), SMIL animation elements (a PNG is a still frame), event-handler attributes (onclick, onload, …), and DOCTYPE declarations (no external DTD or entity expansion).
  • Refused outright: any file that tries to load something from the network — external images, fonts, stylesheets or links (http(s)://, protocol-relative //, external url() in styles) — and script-like references (javascript:, data:text/html, including entity- and percent-encoded smuggling attempts).
  • Allowed: same-document references (url(#gradient), href="#id") and embedded data:image/ payloads.
  • Rendering itself goes through the browser's image path, where SVG scripts cannot run and external loads are blocked by the browser — sanitization is the first line, not the only line.

How to convert SVG to PNG without uploading it

SVG is a vector format — infinitely scalable, tiny, and perfect for logos and icons — but plenty of places still need a raster image: a favicon, a social-media post, a slide deck, an email signature, a marketplace listing. The usual converters upload your file to a server, convert it there, and hand it back. That is slow, it leaks your artwork, and for client work it can breach confidentiality. This tool does the whole job in your browser:

  1. Drop your SVG files (or paste the markup). Up to 50 files per batch, 10 MB each.
  2. Pick a size. 1x keeps the SVG's own size; 2x doubles it for retina displays; 3x triples it for print. Or type exact pixels — the aspect ratio stays locked unless you unlock it.
  3. Pick a background. Transparent is the default and keeps the alpha channel. Choose white, black, or a custom colour and the image is flattened onto it — the file card says so.
  4. Download each PNG, or all of them at once as a ZIP.

Which size should you pick?

Honest limitations

Frequently asked questions

How can I convert SVG to PNG without uploading it anywhere?

Use a tool that processes files locally in your browser. This converter loads your SVG into memory, sanitizes it, renders it onto a canvas with your browser's built-in SVG support, and encodes the result as PNG — all on your machine. Your files are never sent to any server; the only network requests on this page are the site's own analytics (Google Analytics and a Cloudflare beacon), which load when the page opens and never see your files. Watch the Network tab in developer tools while it works and you will see zero requests during processing — the live counter on this page shows the same number. The page keeps working with your internet disconnected after it loads.

What scale should I choose — 1x, 2x or 3x?

1x renders at the SVG's own size. 2x doubles each side for retina and high-DPI screens — the usual choice for logos and icons — and 3x triples it for print or large displays. For an exact pixel size, use the custom width/height fields; the aspect ratio is locked by default. Outputs are capped at 16 megapixels so a huge viewBox cannot crash the tab.

Does the PNG keep transparency?

Yes, by default — PNG keeps its alpha channel, so transparent areas stay transparent. If you need a solid background, choose white, black, or a custom colour and the converter flattens the image onto it, and tells you it did so.

My SVG has no width or height — what size will the PNG be?

If it has a viewBox, that is used as the base size. If it has neither width, height nor viewBox, the browser default of 300×150 is used and the converter says so on the file card. You can always override with custom dimensions.

Is it safe to convert an SVG I downloaded from the internet?

SVG is XML and can carry scripts and external references, so every file is sanitized before rendering: <script>, embedded HTML, animation elements and event-handler attributes are stripped, and any file that tries to load something from the network is refused outright. Rendering goes through the browser's image path, where SVG scripts cannot run at all. The file card shows exactly what was removed.

Will the text in my SVG look the same in the PNG?

Text renders with the fonts available on your device. If the SVG names a font you have installed it will match; a webfont that would normally be downloaded is never fetched, so the browser falls back to a similar installed font. For pixel-perfect text, convert the text to outlines in your vector editor first.

Can I convert animated SVGs?

A PNG is a still image, so animation cannot survive. The converter strips SMIL animation elements and renders the static artwork underneath — the first frame.

Is there a file size or daily limit?

No daily limit and no account. A 10 MB cap applies per file and 50 files per batch, and outputs are capped at 16 megapixels. Convert bigger jobs in smaller batches.