FileToolsHub logo

SVG to PNG

Rasterize SVG markup to a PNG at a width from 16 to 4096 pixels. Height follows the artwork.

Processing: runs in your browser, nothing uploaded

✓ Free to use✓ No sign-up needed✓ Nothing to install

About SVG to PNG

A form wants a PNG and you only have a vector logo. SVG to PNG rasterizes the markup at a width you choose.

Width you type, height from the art

Paste the SVG or upload an .svg file. The width field starts at 512 and accepts 16 to 4096. A bad number falls back to 512. Height is the width times the image aspect, at least 1 pixel. Convert draws the SVG onto a canvas and downloads converted.png. There is no height field and no background swatch. Transparent areas stay transparent if the browser draws them that way. /blog/how-to-convert-svg-to-png is the longer walkthrough, including a favicon step after the PNG exists.

Markup the browser must understand

Invalid SVG fails with an invalid-SVG message. A file that is not .svg is rejected before the canvas step. External images and fonts inside the SVG may not load, because the browser blocks them. Prefer markup that contains its own shapes. A filter, a clip, or a font the browser does not have can look different from a design app. The sample in the box is only a starting mark. Replace it before you export a real logo. ICO Generator can pack a PNG into a favicon after this step. A logo with text should be exported wide enough that the letters stay readable at the size you will display.

When a vector should stay a vector

A website that accepts SVG does not need this raster. PNG to WEBP is for a PNG you already have. JPG to WEBP is for a photo. Compress Image re-encodes a raster and can change a non-PNG into JPEG. This job does not upload the markup. A hairline icon looks soft if the width is tiny, so raise the width before you download. The download name is converted.png. Rename it before you upload it to a CMS that keeps the original filename.

How to use

  1. 1

    Paste SVG markup or upload an .svg file.

  2. 2

    Set the output width from 16 to 4096 pixels. It starts at 512.

  3. 3

    Convert and download the PNG. Height follows the artwork.

Privacy

SVG to PNG rasterizes the markup in this browser, so the file is not uploaded.

Frequently asked questions

What width can I export?

16 to 4096 pixels. The field starts at 512. Height follows the SVG aspect.

Will external images in the SVG show up?

Often no. The browser may block them. Use markup that contains its own shapes rather than a link to another file.

Is the SVG uploaded?

No. The canvas conversion runs in this browser.

Can I set the height separately?

No. Only the width is a field. The height is calculated from the art, so a wide logo stays wide.

Browse all Image Tools · Sitemap