SVG to PNG

Your file never leaves your device — the rendering happens entirely in your browser.

leave both empty to use the size the file declares · up to 8 MB

What this tool does

Renders an SVG to a PNG at the size you ask for. Leave the boxes empty and it uses the size the file itself declares; give one side and the other follows the shape.

Why we ask you for a size

Plenty of SVGs declare no pixel size at all — only a viewBox, which is a shape, not a measurement, or a width of 100%, which is relative to a page the file does not have. Ask a browser how big such a file is and it will answer 300×150 without blinking: that is a default in the CSS rules, not a fact about your image. We would rather ask you than hand you a number we made up. (Our own QR codes are exactly this kind of file.)

What is in the file, and what is not

An SVG can point at images or fonts elsewhere on the web, and it can carry a script. Drawn as an image, the browser will not load those and will not run that script — so nothing here reaches the network, and nothing in your file executes. The catch is that the missing pieces are simply absent from the PNG, which looks like a bug. So we read your file and list what it points at, instead of letting you wonder.

One thing we cannot fix: text uses the fonts installed on this computer. Nothing is downloaded, so a typeface your machine lacks gets substituted and the PNG will not match the designer's screen. If that matters, convert the text to paths in your editor before you export. As always, the page is static and keeps working offline, verified by our automated tests on every release.