SVG to PNG Converter
: Free SVG to PNG converter: render SVG files as sharp PNG, JPG or WebP at 1× to 8× or an exact width, transparent or on a colour, batch with ZIP, in your browser with no uploadSVG to PNG Converter
A free SVG to PNG converter: drop one SVG or a whole set of icons and get PNG images back, drawn sharp at the size you pick, with a ZIP download for the lot. It can also save SVG as JPG or WebP. There is no sign-up, watermark or upload; your browser draws each SVG and encodes the image itself, so logos and designs never leave your device. Use it when an app, a document or a social site takes PNG or JPG but not SVG.
How to convert SVG to PNG
- Bring in the SVGs.
Open filespicks them (gzipped .svgz files too), or drag them over the page;Exampleloads a small logo with see-through corners. Each file starts converting the moment it lands. - Pick the
Format: PNG keeps transparency and every edge crisp, JPG makes smaller files with a solid background, WebP does both in browsers that can write it. - Pick the
Size.1×uses the size written in the SVG;2×to8×multiply it for high resolution PNGs (a 24 pixel icon at 4× becomes 96 × 96);Width in pixelsorHeight in pixelssets one side exactly and keeps the proportions. - Leave
Backgroundempty to keep the background transparent, or type a colour (a hex code, a name, rgb() or hsl()) to fill it. For JPG and WebP,Quality %sets the trade between size and detail. - Download each image from its own row, or everything as
svg-to-png.zipwithDownload all. Each row shows the image's pixel size, the size the SVG gave itself, and anything it could not draw.
Example
How an icon is sized before drawing at 4×: the root's width and height are set to the output size, so the shapes are drawn sharp at 96 pixels instead of a 24 pixel picture being stretched. The rest of the file is unchanged.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="96" height="96"><circle cx="12" cy="12" r="10"/></svg>Details
- An SVG is a set of drawing instructions, not a grid of pixels, so it can be drawn at any size without blur. A PNG is a fixed grid. This converter does not shrink or stretch a picture: it rewrites the SVG's own width and height to the pixel size you chose and lets the browser draw the shapes at that size, which is why a 4× or 2000 pixel PNG has clean edges.
- The starting size comes from the SVG itself. Width and height in px, pt, mm, cm, in or em are turned into pixels at the usual 96 per inch (so 1 inch is 96 pixels and 72 pt is 96 pixels). When the width or height is missing or a percentage, the viewBox gives the proportions; when the SVG has neither, browsers fall back to 300 × 150 and the row says so.
- An SVG with no viewBox does not scale on its own; one is added from its width and height so the whole drawing grows with the image instead of being cut off.
- Transparent areas stay transparent in PNG and WebP. A JPG cannot be see-through, so it gets white unless you type another background colour. Partial transparency in the colour you type is ignored, so the fill is solid; a fully see-through colour such as
transparentmeans no fill, the same as leaving the field empty. - The browser draws the SVG the way it shows an SVG in an <img> tag: scripts never run and nothing is fetched from the web. Outside files the SVG links to (a photo, a web font, a stylesheet) are therefore missing from the image (a linked photo leaves an empty space, never a broken-image icon), and the row warns about them. Text is drawn with the fonts on your device unless the font is embedded in the SVG; for an exact match, convert text to outlines in your editor first. An animated SVG gives its first frame.
- To print, work out the pixels from the size and DPI: a 4 inch wide image at 300 DPI needs 1200 pixels, so choose
Width in pixelsand type 1200.
Limits
- No limit on how many SVGs go in the list. Each image may be up to 40 megapixels (for example 6324 × 6324, or 8944 × 4472), the size a phone browser's canvas can be trusted with; a larger choice is refused with the largest width (or, in Height mode, height) that fits.
- Linked images, web fonts and stylesheets are not loaded, and HTML inside a <foreignObject> may not export in Safari.
- Safari cannot save WebP; choose PNG or JPG there.
- This page turns SVG into pixels. To go the other way, from PNG to SVG, the shapes have to be traced, which is a different job; to make an SVG smaller as SVG, use the SVG Optimizer. Nothing is stored, so reloading the page empties the list: save your images first.
FAQ
Is this SVG to PNG converter free, and are my files uploaded?
It is free, with no account, no watermark and no limit on the number of files, and nothing is uploaded. Your own browser reads each SVG and writes the PNG, so tomz.dev never receives it.
How do I convert SVG to a high resolution PNG?
Choose 2×, 4× or 8× in Size, or pick Width in pixels and type the width you need, such as 2000. The shapes are drawn at that size, so the PNG stays sharp however large it is, up to 40 megapixels.
Can I save SVG as a PNG with a transparent background?
Yes. Leave Background empty and choose PNG (or WebP): every area the SVG does not paint stays transparent. Type a colour only when you want a solid background.
Can I convert SVG to JPG instead?
Yes, choose JPG in Format. JPG has no transparency, so the background becomes white unless you type another colour, and Quality % sets how much the file is compressed.
Why is my text in a different font, or an image missing?
An SVG drawn as a picture cannot fetch anything from the web, so linked images and web fonts are left out; text falls back to a font on your device. Embed the images in the SVG, or convert text to outlines (paths) in your design app, and convert again. The row's warning counts the linked files.
Runs entirely in your browser. Nothing is uploaded.