Skip to content
ToolsOnDuty - free online tools
Image Tools

SVG to PNG

Rasterize an SVG file or pasted vector markup into a sharp transparent PNG.

Free browser toolRuns in your browserNo sign-up

Safe SVG rasterizer

Turn vector artwork into predictable PNG pixels

Upload or paste SVG, choose scale and transparency treatment, inspect exact output dimensions and export safely.

Local processingReview before export
Drop an SVG file here
Or paste SVG markup below.

For privacy and predictable output, scripts, foreignObject blocks and external image or font references are rejected. Embed required assets directly in the SVG before converting.

Delivery: A transparent or solid-background PNG with scripts and external resources rejected.

About the SVG to PNG

SVG to PNG renders scalable vector artwork onto a browser canvas and exports predictable raster pixels.

Choose 1x for the SVG's intrinsic dimensions or a higher scale for high-density layouts. Exact output dimensions and file size are shown before download.

For safer, private conversion, scripts, foreignObject content and external image, font or stylesheet references are rejected. Embed required assets directly in the SVG.

Key features

  • File upload or pasted markup
  • Detected or custom base dimensions with aspect lock
  • 1x to 4x output scale
  • Transparent or custom solid background
  • Exact output dimensions and size
  • External-resource and 64MP safety checks

How to use

  1. 1Upload an SVG or paste its markup.
  2. 2Confirm the detected width and height or enter exact base dimensions.
  3. 3Choose an output scale and optional solid background.
  4. 4Render and inspect the exact PNG dimensions.
  5. 5Download the reviewed PNG.

Examples

Export a web icon
Input: logo.svg at 256 by 256
Output: 512 by 512 PNG at 2x

A larger raster export stays crisp when displayed at its intended size.

Frequently asked questions

Will transparency remain?
Yes unless you enable a solid background.
Why are some SVG files rejected?
Scripts, foreignObject content and external resources can be unpredictable or trigger network requests. Embed required assets and use standard SVG shapes, paths and text.
Why choose 2x or 4x?
Higher scales create more pixels for large or high-density layouts, but also use more memory. Outputs above 8192px per side or 64 megapixels are blocked.
Is SVG code uploaded?
No. The browser parses and renders it locally.

Open a related tool to prepare your files or refine the finished result.