Tools Hub

SVG to PNG

Rasterise SVG markup or a file to PNG at any width, with a transparent or white background.

Browser onlyYour data never leaves this device.

Runs entirely in your browser. The SVG you paste or open is never uploaded or stored.

Details: Privacy policy

Input

Or paste the markup below. Scripts and external references are rejected.

Height follows the SVG aspect ratio.

Result

SVG preview at the requested output size

1024 × 683 px

Source: 120 × 80 px. The PNG is rendered locally at the target size.

SVG preview ready for download.

Continue in Next Tool (Pipeline)

Transfer this output directly into complementary tools without re-uploading

SVG to PNG rasterises vector markup in the browser and hands back a PNG at the width you choose. The source can be a pasted document or a .svg file, and the height follows the original aspect ratio so nothing is stretched. Before rendering, the tool rejects scripts, inline event handlers and external references: those are the parts of an SVG that can execute or fetch, and a converter has no reason to accept them. The preview and the downloaded PNG come from the same canvas pass at the requested size, so the file matches what you see. A transparent background is preserved by default, with a white option for documents that will be pasted somewhere that assumes white. Everything runs locally on your device; no markup, image or filename is transmitted or stored.

How to use SVG to PNG

  1. Paste the SVG markup or choose a .svg file.
  2. Set the output width and background.
  3. Download the PNG from the preview.

What you get

  • A PNG at the requested width with the original aspect ratio.
  • A preview on a checkerboard so transparency is visible.
  • A clear error when the SVG contains scripts or external references.

When to use SVG to PNG

  • Turn a logo SVG into a PNG for a slide deck that does not accept vectors.
  • Export a chart at 2× width for a retina display.
  • Flatten an icon to PNG with a white background for a print layout.
  • Recover a raster copy of an SVG when a platform rejects the original format.

Frequently asked questions about SVG to PNG

Why does my SVG fail with a security message?

The markup contains a script, an on… event handler or an external href. Remove those parts before converting; an exported image should not carry executable content.

Does the PNG keep transparency?

Yes, when the background is set to transparent and the SVG itself has no opaque background rectangle.

Will text in the SVG render correctly?

Text uses fonts available to your browser. If the SVG depends on a font you do not have, convert the text to paths in the editor that produced it.

What is the maximum output size?

The width is capped at 8,192 pixels, which keeps canvas memory within browser limits.

⚡Embed SVG to PNG on Your Site & Get Badge↓

Embed this in-browser tool into any blog, documentation, or dashboard. Includes an optional dofollow backlink badge to credit Tools Hub.

Height:
<iframe src="https://salaq.com/embed/image/svg-to-png" title="SVG to PNG — Tools Hub" width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden;max-width:100%;" loading="lazy"></iframe>
<p style="font-size:12px;color:#6b7280;margin-top:6px;font-family:system-ui,-apple-system,sans-serif;">Powered by <a href="https://salaq.com/tools/image/svg-to-png" target="_blank" rel="noopener" style="color:#2563eb;text-decoration:underline;">SVG to PNG on Tools Hub</a></p>

Feedback

Send feedback about this tool (placeholder — feedback collection is not wired up yet).