SVG is a vector format: it describes shapes, so it stays sharp at any size. That suits logos and icons, but plenty of places still want a plain image. Email signatures, social profiles, slide decks, document editors and many upload forms do not accept SVG, or show it inconsistently. This tool draws your SVG and saves it as a PNG at the size you pick, with a transparent background or a solid color behind it. You can open a file from your device or paste the SVG code straight in.
How to convert an SVG to PNG
- Add your SVG. Either choose the .svg file, or paste the markup that starts with the svg tag if you copied it from a design tool or a web page.
- Pick a scale from 1x to 4x. The 1x size is the natural width written in the file, and higher values multiply it. If a place needs a specific width, choose the scale that gets you closest.
- Decide on the background. Keep it transparent if the image will sit on different colors, or choose a solid color such as white for places that cannot display transparency.
- Convert and look at the result. Zoom in on thin lines and text to confirm they came out as expected.
- Download the PNG. Save it with a name you will recognize.
Options explained
- Scale (1x to 4x): Because an SVG has no fixed pixel count, scale decides how many pixels the PNG will have. A logo that is 200 pixels wide at 1x becomes 800 pixels wide at 4x. Pick 1x for small web icons, 2x for screens with sharp displays, and 3x or 4x for printing, presentations or when you might need to resize later.
- Transparent background: The empty parts of the SVG remain see-through. Best for logos you will place over photos or colored pages.
- Colored background: Fills the canvas with the color you choose before drawing the SVG. Useful for documents, avatars and sites that fill transparent areas with black.
The PNG is a fixed set of pixels, so it cannot be scaled up later without losing sharpness. That is why picking a generous scale now is cheaper than redoing it.
Tips and common problems
If the output is blank, open the SVG in a text editor and check that it has a width and height, or a viewBox. Without a size, a browser cannot decide how big to draw it. Adding a viewBox attribute usually fixes it.
Text in an SVG depends on fonts. If the file uses a font that is not available on your device, the browser substitutes another one and letters may shift. Designers can avoid this by converting text to outlines before exporting.
External resources are the other common surprise. An SVG that links to an image or font hosted elsewhere may not load those parts when drawn here, because the drawing happens in isolation. Embedded images inside the file do work.
Scale up rather than resizing the PNG later. Rendering at 4x from the vector gives you crisp edges, whereas enlarging a small PNG makes everything blurry.
Very large scales on a big SVG produce huge images. If your browser becomes slow, lower the scale. If the PNG is bigger than a site allows, Compress image or Resize image can bring it down.
For a website icon set, run the PNG through Favicon generator after converting. Want a different format such as WebP or JPEG? Use Convert image on the PNG.
Your files stay on your device
Your SVG is drawn on a canvas inside your browser and the PNG is built there too. Neither the file nor the pasted code is sent anywhere, so unreleased logos and internal diagrams stay private. See How it works.
Frequently asked questions
Does the PNG keep transparency?
Yes, when you choose the transparent option. Empty areas stay see-through. Choose a colored background if you need a solid fill.
What resolution should I choose?
Use 1x for small web graphics, 2x for sharp screens, and 3x or 4x if the image will be printed or enlarged. When unsure, go higher, since you can always shrink a PNG without much damage.
Can I paste SVG code instead of uploading a file?
Yes. Paste the full markup, starting with the opening svg tag, and convert as usual. This is handy when copying an icon from a website or a code editor.
Why does my text look different?
The browser draws text with the fonts available on your device. If the SVG relies on a font you do not have, a fallback is used. Converting text to outlines in your design software prevents that.
Can I convert PNG back to SVG?
No, this tool goes in one direction only. A PNG is made of pixels and cannot be turned back into clean vector shapes without special tracing software.
Can I convert several SVGs at once?
Convert them one after another. Each file gets its own scale and background settings.