🖼 Image & Media

SVG to PNG Converter

Convert SVG files or source code to PNG via Canvas with adjustable size.

Drag & drop an SVG file

or click to choose an SVG file

How to convert SVG to PNG

Paste SVG source or pick a file, set the output size in pixels, and the result is drawn to a preview ready to save as PNG. Changing the source, width, or height redraws it instantly. Loading and conversion stay in your browser.

  1. Provide an SVG by pasting source into the text box or choosing a file with "Choose SVG file". First time? Try "Sample SVG".
  2. Set the output size (width and height) in pixels.
  3. Check the preview and press Download PNG to save it.

Examples

  • Icon SVG → set 512 × 512 to export converted.png at 512×512.
  • Logo SVG → render 1024 × 1024 for a high-res PNG to use in print or an OG image.
  • Sample SVG (a red circle) → click to load the source and preview/save right away.
  • Small SVG with a viewBox (0 0 100 100) → scale it up to any size without blurring, since it is vector.
  • Wide SVG → set width and height separately to export at any aspect ratio.

For power users

  • Pasting source and changing width/height update live, so you can try sizes quickly.
  • Because SVG is vector, exporting larger than the display size still yields a sharp PNG.
  • A self-contained SVG that references no external images or web fonts converts reliably.

FAQ

Is my SVG sent to a server?
No. Loading and the PNG conversion both run in your browser; the SVG is never transmitted or stored externally. It also works offline.
Can I use external SVG URLs?
No. File upload or pasted source only — no external requests. To use a URL, copy the SVG contents and paste them into the source box.
Can I set the output size freely?
Yes. Specify width and height in pixels. Because SVG is vector, exporting larger than the display size still gives a sharp PNG with crisp lines — for example 512×512 or 1024×1024.
Are some SVGs unsupported?
SVGs that reference external images or web fonts may not render correctly since no external requests are made. A self-contained SVG with a viewBox is the safe choice. If it cannot be parsed, an error is shown.