Skip to content
toolsdocks

Convert SVG to PNG

Paste SVG code or open a .svg file, set the width and download a PNG. This page opens the SVG editor with a 1024 px wide PNG export; the height follows the drawing's aspect ratio.

Runs on your device

More options in the full SVG editor and optimizer.

Loading tool…

How to convert SVG to PNG

  1. Paste the SVG code, or open a .svg file.
  2. Check the preview; the PNG panel is under Export.
  3. Set the PNG width (1024 px is preset); the height follows when Keep aspect ratio is on.
  4. Select Download PNG.

Worked example

A 24×24 icon exported at 1024 px wide gives a 1024×1024 PNG, and the size is added to the file name, for example optimized-1024x1024.png.

Formats and limits

InputSVG
OutputPNG
EngineSVGO (browser build); sanitized preview in a sandboxed frame

Limitations

  • External images, fonts and stylesheets referenced by the SVG are not loaded.
  • Up to 8192 px on each side.
  • The PNG is drawn from the optimized SVG when optimization succeeds; check the preview if an optimization option changes the drawing.

Questions

Can I make a high-resolution PNG from an SVG?

Yes. SVG is a vector format, so it renders sharply at any size, up to 8192 px on each side here.

Is the PNG background transparent?

Yes. Areas the SVG does not paint stay transparent in the PNG.

Why are images or fonts missing from my PNG?

Files the SVG links to, such as external images and web fonts, are not loaded. Embed them in the SVG, or convert text to outlines in your design app, before exporting.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

This page opens the SVG editor and optimizer ready for this task. See the privacy policy for how toolsdocks handles data.