How to use it
This SVG to PNG converter turns a vector file into a fixed-size PNG image that keeps its transparent background. Your SVG is rasterized at 144 DPI, the longest edge is capped at 4000 pixels with the aspect ratio preserved, and the result is saved as a lossless PNG. Use it whenever a platform, document or app store refuses vector files but you still need crisp edges.
How to convert SVG to PNG here
- Drop one or more .svg files onto the upload area; the queue holds up to 20 at a time.
- Rename the output in the queue if you want a descriptive file name such as
icon-192.png. - Press Convert, or switch on “Convert automatically” so each file is processed the moment it joins the queue.
- Save each PNG on its own, or grab the whole batch with “Download all as ZIP”.
What size will the PNG be?
SVG dimensions are measured in CSS pixels, and CSS defines 96 of them per inch. Rendering at 144 DPI therefore multiplies every dimension by 1.5: a file declared as 400 × 300 becomes a 600 × 450 PNG. Physical units follow the same rule, so anything specified in inches, centimeters or millimeters comes out at 144 pixels per inch.
| Root element of the SVG | PNG you get | Why |
|---|---|---|
viewBox="0 0 24 24" with no width or height | 36 × 36 | The viewBox size is read as pixels, then scaled by 1.5 |
width="400" height="300" | 600 × 450 | Straight 1.5x scaling |
width="2in" height="1in" | 288 × 144 | 144 pixels per physical inch |
viewBox="0 0 1024 1024" | 1536 × 1536 | Plenty for most app store artwork |
width="3200" height="1800" | 4000 × 2250 | 4800 px would exceed the cap, so it is scaled down proportionally |
The first row catches a lot of people out. Icon libraries ship their glyphs on a 24-unit grid without explicit dimensions, so the PNG lands at a thumbnail-sized 36 pixels. Open the file in any text editor and add width and height attributes equal to two thirds of the size you want; leave the viewBox alone and the drawing scales with it. Need exactly 512 pixels? Enter 342, convert, then bring the result to 512 with the image resizer.
Why some SVG files are rejected or render differently
An SVG is a small document as much as a picture: it can pull in other files, load web fonts or run scripts. To keep the server safe, a file that tries any of this is refused outright rather than quietly cleaned. If you see “The uploaded SVG file was rejected for security reasons”, check for one of these:
- Linked images such as
<image href="photo.jpg">, or anything pointing at a URL. A picture embedded as a base64 data URI (PNG, JPEG, GIF, WebP, BMP or AVIF) is accepted. - Web fonts loaded through
@importorurl(), including fonts embedded as data URIs. - Scripting:
<script>blocks, event attributes likeonloadoronclick, andjavascript:links. <foreignObject>, which some diagram editors use to wrap text labels in HTML.- A DOCTYPE that declares XML entities.
Text deserves its own warning. Live <text> elements are drawn with the fonts available on the server, not the ones installed on your machine, so a brand typeface may be swapped for a fallback or the conversion may fail. Converting text to outlines first removes the guesswork: in Inkscape use Path › Object to Path, in Illustrator use Type › Create Outlines. Keep the SVG itself under 2 MB as well; auto-traced artwork with tens of thousands of nodes often goes over.
Favicons, app icons and social images
Most requests to convert SVG to PNG come from the same handful of jobs. These are the commonly requested sizes, along with the SVG width to enter so the 1.5x scaling lands exactly on target:
- apple-touch-icon: 180 × 180, so set the SVG to 120 × 120.
- Web app manifest icons: 192 and 512 pixels; enter 128 and roughly 342.
- Browser tab favicon: 32 × 32 and 16 × 16. Hairlines vanish at these sizes, so a simplified mark usually reads better than the full logo. The tool does not create ICO files, although current browsers accept PNG favicons.
- Open Graph link previews: 1200 × 630 is the widely used size; define the SVG as 800 × 420.
- Slides, Word documents and email signatures: transparency lets the logo sit on any template color without a white box around it.
Screen versus print resolution
For anything shown on a screen, only the pixel count matters; browsers ignore the DPI tag stored inside a PNG. Printers think in dots per inch, and 300 DPI is the usual request from print shops. Multiply the printed width in inches by 300 to get the pixels you need: a 3-inch logo on a flyer needs 900 pixels, which means an SVG width of 600. Because of the 4000-pixel ceiling, the widest print you can make at 300 DPI is about 13.3 inches. For banners and signage, hand the printer the vector file instead of a PNG.
Transparency, file size and when PNG is the wrong choice
PNG is lossless and carries a full alpha channel, so anti-aliased edges and soft shadows survive exactly as drawn and the logo shows no white fringe on a dark background. The trade-off is weight: flat logos stay small, while large illustrations full of gradients can run to several megabytes. For web pages, the same artwork is usually far lighter through the SVG to WebP converter, and an existing PNG can be slimmed down with the image compressor. If you want a solid white background rather than transparency, the SVG to JPG converter fills it in for you.
Finally, ask whether you need a raster file at all. Icons and charts on your own website are usually lighter as vectors, stay sharp on every screen density and can be recolored with CSS. Our guide on what an SVG file is covers when keeping the vector is the smarter move.
Privacy and limits
Your file is uploaded to our server, converted within that single request and returned to you as the download. Once the PNG is on its way back, the SVG is discarded rather than archived or passed on, and the converter asks for neither sign-up nor payment. The contents must match the extension, so a renamed file is refused. Output is always a raster format; this tool cannot write SVG.