SVG to PNG Converter
Drop an SVG file here
or paste with Ctrl+V. Up to 10 MB per file.
Your files stay on your device. Nothing is uploaded.
Paste the markup. It is checked and drawn as you type.
Your files
Estimated file size: Add an SVG to see the estimate.
Lossless, and the background can stay transparent.
Fill in one side and the other follows the shape of the SVG. Fill in both and the SVG is fitted inside that box.
With a scale, more DPI means more pixels: 300 DPI is 3.125 times the pixels of 96 DPI. The DPI is also saved inside PNG and JPG files.
Transparent areas stay see-through. Choose a solid color if your target platform does not support transparency.
SVGs using currentColor render black by default. Pick a color to match your brand.
This SVG uses currentColor, so the color below is applied.
One click sets the exact size. The SVG is fitted inside it, centered.
Result
Step by step: how your SVG becomes an image
Example: a 24 × 24 icon to a 1,024 × 1,024 PNG
- Load the SVG. Its size is 24 × 24 px, taken from its viewBox.
- Exact size 1024 × 1024 px. The drawing is enlarged 42.67 times to fit inside it with its shape kept.
- Output size: 1,024 × 1,024 px at 96 DPI, 1.05 megapixels. The limit is 8,192 px on a side.
- Make a canvas of 1,024 × 1,024 px with a transparent background.
- Draw the SVG onto the canvas. currentColor becomes #000000. Fonts and pictures from outside files are not loaded, for security.
- Encode as PNG: lossless, transparency kept. The 96 DPI is saved in the file.
- Result: a 1,024 × 1,024 px PNG file.
App icon size guide
The sizes most sites and apps ask for. Each row is one click in the presets above.
| Use | Size (px) | Where it is used |
|---|---|---|
| Favicon | 16 × 16 | Browser tab |
| Favicon | 32 × 32 | Browser tab on sharp (retina) screens, bookmarks |
| Favicon | 48 × 48 | Site icon in search results, desktop shortcuts |
| Favicon | 64 × 64 | Larger site icon files |
| Apple Touch Icon | 180 × 180 | iPhone and iPad home screen |
| Android and PWA | 192 × 192 | Android home screen, PWA manifest |
| Android and PWA | 512 × 512 | PWA install prompt and splash screen |
| iOS App Store | 1,024 × 1,024 | App Store listing |
| Social share (OG) | 1,200 × 630 | Link preview (Open Graph) on social networks and chat apps |