Skip to main content

SVG to PNG

Turn SVG code or SVG files into PNG images at 1x, 2x, 3x or 4x, or at an exact width, with a transparent or coloured background. Private, in your browser.

SVG code

Stays in your browser

Results

Your files appear here.

Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)

Free Online SVG to PNG Converter

Paste SVG code or open SVG files and get PNG images. Choose a scale, or an exact width, and keep the background transparent or give it a colour. It gives developers a quick browser-based way to solve a focused svg to png task before moving the result into a project.

How to convert SVG to PNG

Paste the SVG code, or choose one or more SVG files. Choose the scale and press Convert. Download each PNG, or all of them as a zip.

Getting a sharp result

PNG is made of pixels, so decide the size you need. For a logo on a website, 2x is a good choice; for print, set a large width.

Common mistakes

  • An SVG with no width, height or viewBox: its size is unknown. Add a viewBox such as viewBox="0 0 24 24".
  • A transparent PNG on a dark page looks different from a preview on white: set a background colour if you need one.

Frequently asked questions

Why convert SVG to PNG?
Some places do not accept SVG: social media, email, many upload forms and presentation tools. PNG works everywhere.
Which scale should I choose?
1x gives the size written in the SVG. 2x and 3x make sharper images for high-resolution screens. For print, use a larger scale or set an exact width.
Is the background transparent?
Yes by default: anything the SVG does not paint stays transparent. Turn off "Transparent background" to fill it with a colour.
Are fonts and external images shown?
Browsers do not load external files into an SVG drawn this way, so use embedded images and text converted to outlines for an exact result.
How do I use this svg to png tool?
Use the interactive controls above; processing stays in your browser and the result is intended as a practical starting point for development work.

More Frontend & Design

View all Frontend & Design tools →