SVG to PNG Converter.
Render SVG markup or an .svg file to a crisp PNG at any width or scale, with optional background.
Runs in your browserAbout SVG to PNG Converter
SVG to PNG Converter turns a vector graphic into a raster image you can use where SVG is not accepted: app store listings, email templates, slide decks, favicons for older tools, or social media uploads. Paste the markup or drop an .svg file, choose an output width or a scale factor, and download the PNG. The SVG is rendered at the target size rather than drawn small and stretched, so a 24×24 icon exported at width 512 keeps perfectly sharp edges. For example, an icon with viewBox="0 0 64 64" and scale 4 becomes a 256×256 PNG with a transparent background; set the background to #ffffff when the destination does not support transparency. The converter reads the size from the width and height attributes or, when they are missing, from the viewBox; an SVG with neither has no defined size, which is the most common reason exports come out as a tiny 300×150 box in other tools. Other frequent problems are external references: fonts loaded from a web URL, linked images and CSS files are not fetched when the SVG is rendered as an image, so text may fall back to a system font. Convert text to paths in your editor or embed images as data URLs before exporting. Width and height given in units such as mm or em are ignored in favour of the viewBox. Rendering uses your browser's own SVG engine and canvas; the file is not uploaded anywhere.
How to Use
- Paste SVG markup or drop an .svg file.
- Set an output width in pixels or a scale such as 2 or 3, and a background colour if you need one.
- Download the PNG.
Frequently Asked Questions
Why does my text look different in the PNG?
Fonts referenced by URL or installed only on the designer's machine are not available when the SVG is rendered as an image. Convert the text to outlines or embed the font as a data URL.
What size will the PNG be?
The width you enter, or the SVG's own width times the scale. The height always follows the SVG's aspect ratio, so nothing is distorted.
Is there a size limit?
Each side can be up to 8192 pixels, which is within what all major browsers can allocate for a canvas.
Is my SVG uploaded?
No. It is rendered by your browser and never leaves your device.
Related Tools
Shrink SVG files by removing editor junk, metadata and comments and by rounding coordinates.
Convert images between PNG, JPEG, WebP and AVIF with adjustable quality, right in your browser.
Resize, crop and re-encode PNG, JPEG and WebP images to exact pixel sizes in your browser.
Turn one 1024×1024 image into every iOS AppIcon size with Contents.json and Android mipmap icons, as a ZIP.
Format, minify, and validate XML.
Convert between HEX, RGB, and HSL formats.