Convert SVG to PNG at the exact pixel size you need
LOCALSVG stays sharp at any scale, yet email clients strip it, marketplaces reject it and many design tools want a raster file. This converter renders each drawing on a canvas inside your browser and exports a PNG at the width you choose, with a transparent background or a solid fill. Several files can be processed in one run, and every file is downloaded individually or as a ZIP. Nothing is uploaded.
How it works
- 01
Add one or more SVG files
Drop SVG files or pick them from your device. The tool reads the root width and height, falls back to the viewBox when an attribute is missing, and shows the intrinsic size of every file. A file that cannot be parsed is marked in the list so you can remove it before converting.
- 02
Set the output width
Enter a width in pixels or pick a preset from 64 to 2048. Height follows each file's own aspect ratio, so a wide logo and a square icon can be converted in the same batch without stretching. For favicons and app icons, 192, 512 and 1024 are the common targets.
- 03
Choose transparency or a background
Transparent is the default and keeps the alpha channel of the original drawing. Switch it off and pick a colour when the PNG will sit on a fixed background, pass through a system that shows transparency as black, or go to print. A solid fill avoids the grey checkerboard surprise.
- 04
Convert, check and download
Each file is rendered locally and encoded as PNG. Look at the previews, download single files, or take all of them in one ZIP. If a drawing comes out empty, the usual cause is malformed markup, a linked external image, or text that depends on a font the browser does not have.
When to use it
App icons and favicons
One vector logo can be exported at 192, 512 and 1024 pixels in three runs. PNG icons are accepted by web manifests, app stores and older browsers that ignore SVG favicons. Keep the SVG as the source and regenerate whenever the mark changes.
Social previews and Open Graph images
Most platforms refuse SVG for link previews and post images. Render a wide graphic at 1200 pixels, or a square one at 1080, and upload the PNG. The original stays editable, while the exported raster is only the delivery format.
Email and documents
Gmail, Outlook and many word processors handle SVG poorly or not at all. Convert a logo or diagram to PNG with a white background, then paste it into the newsletter or document. Transparent PNG is fine for the web but often turns black in desktop email clients.
Print and client handoff
Print shops and client portals usually ask for a raster file at a specific width. Export large enough, because a PNG can always be scaled down but not up without soft edges. If the SVG uses live text, convert the text to outlines first so the PNG matches your design.
Questions
Is my SVG uploaded?
No. The file is read with the browser's File API, parsed as XML, drawn to a canvas and encoded locally. There is no upload request, no server copy and no log of the drawing. You can confirm it in the Network panel of the developer tools while a conversion runs.
Why is the PNG blank?
The three common causes are a missing xmlns attribute on the root element, a reference to an external image or stylesheet that the browser cannot load, and malformed markup. This tool adds the namespace when it is absent, but it cannot fetch remote assets. Opening the SVG directly in the browser is a quick way to see whether it renders at all.
Why does a large export look blurry?
An SVG has no pixels, so sharpness depends on the width you choose. Exporting a detailed illustration at 64 pixels throws away most of the detail. If the result looks soft, raise the width and check the preview again. Extremely large widths are also limited by canvas memory in the browser.
Does the PNG keep transparency?
Yes, as long as the transparent option stays on and the SVG itself does not paint an opaque background rectangle. PNG supports an alpha channel and the canvas starts empty. If the artwork includes a white background shape, the PNG will contain that white area too.
Can I convert several files at once?
Yes. The queue accepts multiple SVG files and applies the same width and background settings to all of them. Every result keeps the original file name plus the pixel width, and the ZIP preserves those names. Files that fail to parse are counted separately, so one broken drawing does not stop the batch.
Why do fonts and external images disappear?
Text inside an SVG is drawn with fonts available on the machine, not with the font file from the design tool. A missing font is silently substituted and can shift the layout. Remote images, external stylesheets and web fonts may be blocked. Embed images as data URIs and convert text to paths before exporting.
What is the maximum output size?
The tool caps a side at 8192 pixels because canvas memory and browser limits vary. In practice icons, logos and social images stay well below 2048 pixels. If you need a bigger raster for print, export at the highest practical size and let the print workflow handle the rest.
PNG, JPG or WebP — which should I choose?
PNG is lossless and supports transparency, which suits logos, icons, screenshots and diagrams. JPG produces smaller files for photographs but has no transparency. WebP is often smaller than both, yet some older systems still reject it. This tool exports PNG because it is the safest format for vector artwork.
Does it work offline or on a phone?
The page has to load once, then all processing runs locally in a modern mobile or desktop browser. There is no server round trip, so a phone with limited data can still convert artwork. Very large files take longer because decoding and encoding happen on the device.
Can I set width and height independently?
Not in this tool, and that is deliberate. A fixed ratio prevents stretched logos and squashed icons, which are the most common mistakes in online converters. If a platform demands exact dimensions that differ from the artwork ratio, pad or crop the PNG afterwards with our image tools.