Guide
Turning a vector graphic into a sharp PNG at the right size
SVG is the ideal format for logos, icons and illustrations: it scales to any size without losing sharpness. But plenty of places don’t accept it, including many social networks, office apps, app stores, email signatures and some content management systems. Converting to PNG gives you a pixel image that works everywhere. The key decision is how many pixels it should have, since that’s fixed once the vector becomes a bitmap.
Load the SVG
Drop an .svg file, or paste SVG code into the editor, which is handy when you’ve copied an icon from a code repository or an icon library. The preview appears as soon as the markup is valid. If it isn’t, for example because the code is cut off, you’ll see a message instead.
Choose the width for the destination
The height follows the SVG’s own proportions, so you only set the width:
| Destination | Width to export |
|---|---|
| Icon in an app or UI, shown at 32 px | 64 px (2×) |
| Logo on a website, shown about 200 px wide | 400–512 px |
| Social media profile image | 512–1024 px |
| Slides and documents | 1024–2048 px |
| Print, 4 inches wide at 300 DPI | 1200 px |
| Large print or poster detail | 4096–8192 px |
Exporting at twice the displayed size keeps graphics crisp on high-density (Retina) screens. The quick buttons cover common sizes, and any width up to 8192 px can be typed.
Background and format
- Transparent background + PNG is the standard for logos and icons that sit on different backgrounds.
- Color background when the destination needs a solid image, such as a white square for a marketplace listing.
- JPEG always gets a background (white unless you choose another color), because it can’t store transparency. Use it for large illustrations where file size matters more than transparency.
- WebP for websites: transparency plus smaller files.
The line under the preview shows the exact pixel size and file size before you download.
Common pitfalls, and fixes
Wrong fonts. If your SVG contains live text, it’s drawn with whatever font is available when converting, and fonts referenced from the web or installed only in your design app won’t be found. Convert text to outlines (paths) before exporting the SVG.
Missing images. Bitmaps linked from other files or URLs aren’t loaded. Embed them in the SVG instead.
Odd proportions or a tiny result. SVGs without width, height or viewBox information fall back to 300 × 150. Add a viewBox in your editor so the proportions are known.
Blurry edges at small sizes. Thin strokes on a small icon can blur. Export larger, or simplify the icon for small sizes.
Privacy
The SVG is rendered by your browser. The file and the code you paste stay on your device, which matters for unreleased logos and client artwork. The PNG keeps the SVG’s file name, so logo.svg becomes logo.png.
Who converts SVG to PNG
- Designers deliver logos in PNG for clients and platforms that don’t accept SVG, such as many social networks and email signatures.
- Developers create PNG fallbacks and app icons at exact sizes.
- Marketers need a high-resolution PNG of a logo for slides, documents and print.
- Teachers and students put vector diagrams into documents and presentations that don’t handle SVG well.
A complete example: a logo for every use
- Paste the SVG code or open the .svg file.
- Export at 1024 px with a Transparent background for presentations and documents.
- Export again at 512 px for social media profile images; add a solid background if the platform shows transparent areas as black.
- Export a small 256 px PNG for email signatures, where large images are scaled down anyway.
- Name each file with its size, such as logo-1024.png, so you can find the right one quickly.
Size guide
| Destination | Width |
|---|---|
| Email signature | 256–400 px |
| Social profile picture | 512–1024 px |
| Slides and documents | 1024–2048 px |
| Print (about 10 cm at 300 DPI) | about 1200 px or more |
Tips
- If text in the SVG renders in the wrong font, convert text to outlines (paths) in your design software before exporting the SVG.
- External images and fonts linked from the SVG aren’t loaded; embed them or convert them to paths first.
- Keep the SVG as your master file; you can always export another size from it.
Related tools
- Favicon Generator to make website icons from a logo.
- Image Converter for converting between bitmap formats.
- Image to Base64 to embed a small icon in code.
Checked against the current version of the SVG to PNG on .

