Skip to content
Upload Nothing runs in your browser

SVG to PNG by drawing the file as an image

Use svg to png when you need a raster of a drawing and you do not want that file inserted as HTML. The SVG is drawn as an image. Scripts and markup inside it are not added to the page. Width defaults to 1024 pixels, and the height follows the drawing’s own proportions. Output defaults to PNG. You can pick JPG or WebP instead. The background defaults to transparent. One file at a time, in this tab.

Illustration of an svg to png drawing of a logo at a set pixel width

Loading tool…

or drop / paste

How to turn svg to png

  1. Add one SVG. This page takes a single file. Drop it, paste it, or use Choose files. A folder of icons means one run per file.
  2. Leave width at 1024 unless you know the pixel width you need. The height is calculated from the drawing so the proportions stay. You do not type height separately.
  3. Leave the format on PNG and the background on transparent if the icon should keep a clear edge. Switch to JPG only after you set a solid background colour, because JPEG cannot store transparency.
  4. WebP is available if you want that file instead of PNG. The drawing is still an image at the width you set. It is still not inserted as HTML.
  5. Press Rasterise SVG and download the result. If the SVG cannot be drawn, you get an error and no made-up picture. The source file stays where it was.

SVG to PNG options explained

The SVG is drawn as an image. It is never inserted as HTML, so it is not added to the document as markup. That is deliberate. A file that will not draw fails the job instead of being spliced into the page.

Width defaults to 1024 pixels. You can set it between 16 and 8000. Height follows the SVG’s aspect. A wide drawing becomes a short strip. A square stays square. There is no separate height field.

Output defaults to PNG, with JPG and WebP as the other choices. Background defaults to transparent, which suits PNG. For JPG, set a solid colour first. A transparent default cannot survive as transparency inside a JPEG.

This page handles one SVG. It does not zip a folder, because it does not accept a folder. It does not trace a PNG back into vectors, and it does not edit paths.

Drawn as an image, not as markup

An SVG is text that can contain more than shapes. This tool does not paste that text into the page. It draws the file as an image at the width you asked for, then encodes the pixels. If the browser cannot draw it, the run stops. You do not get a partial document with the SVG living inside it.

That also means the download is a raster. Paths, text as real text, and layers are gone. You can scale the PNG later with resize image, and it will behave like any other PNG, including blur if you enlarge it. Keep the SVG if you still need it sharp at another size.

Width, height, and the clear background

1024 is the default width because it is enough for many icons and previews and not so large that a simple logo becomes a huge bitmap. Type a larger width, up to 8000, when the raster will be printed or shown full-bleed. The height is whatever the drawing’s proportions require at that width.

Transparent is the default background, and PNG can keep it. A logo with no painted backdrop should show clear corners. If you choose JPG, set a colour such as #ffffff before you run. Otherwise the JPEG has no alpha to store and the clear areas will not stay clear. WebP can be chosen when you want that format at the same pixel size.

One file, and no trip back to SVG

The control takes a single SVG. There is no batch and no ZIP on this page. Repeat the run for the next icon, and change the width if that icon has a different brief. The previous download stays a normal PNG, JPG, or WebP.

Nothing here writes SVG. png to jpg and the image converter do not accept this source either. They start from rasters. If the drawing fails to load, the message is that the SVG could not be drawn. Fix the file or the width. The tab does not upload it for a second opinion.

Limits, formats and output

Accepted input SVG
Files per batch 1
Soft size warning 50 MB each
Hard stop 500 MB total in memory
Output The chosen image format, or a ZIP for a batch
Account None. The tool runs in this tab.

Your file never leaves your device

This SVG is drawn and saved by code running in this browser tab. The work runs in a Web Worker in this tab, using WebAssembly for the heavy parts, and the result comes back as a local blob. This site does not upload the file, store it, or log its name.

To verify: load the page, turn on airplane mode, and drop the file again. It still finishes. Or open DevTools, choose Network, and watch the run: there is no upload. The architecture is described on How it works.

Frequently asked questions

Is the SVG inserted into the page?

No. It is drawn as an image and never inserted as HTML. Markup inside the file is not added to the document. If it cannot be drawn, the tool stops and does not invent a picture.

What size is the PNG?

Width defaults to 1024 pixels. You can set 16 to 8000. Height follows the SVG’s own proportions at that width. There is no separate height box. A larger width means a larger raster, not a sharper vector in the download.

Does the background stay clear?

It defaults to transparent, and PNG can keep that. JPEG cannot. If you pick JPG, set a solid background colour first. WebP is the third output if you want that file at the same pixels.

Can I convert several SVGs at once?

No. This page takes one file. Run it again for the next drawing. There is no ZIP of a folder here. Bulk resize images will not read SVG either. It expects rasters.

Will text in the SVG stay selectable?

No. The download is pixels. Words become part of the picture at the width you chose. They are not a text layer. If you need the words as text, keep the SVG.

Can I turn the PNG back into SVG here?

No. The raster is the output. This site does not trace pixels into paths. Resize or compress the PNG with the raster tools if the size is wrong. The original SVG remains the editable file on disk.

Last updated 2026-09-26. By Tam.