SVG to PNG

No upload · runs in your browser
Source
How it works

SVG to PNG: Rasterise at 1×, 2×, 4× or an Exact Width

Rasterise an SVG to PNG at 1×, 2×, 4× or a width you type. Drop a file or paste the markup, an SVG carrying only a viewBox still sizes correctly.

What this does
  • Export at 1×, 2× or 4×, or type a pixel width and let the height follow the ratio
  • Drop an .svg file, or paste the markup into the editor and rasterise that
  • Reads a width or height given in px, pt, pc, in, cm, mm or q, and falls back to the viewBox
  • Transparent or white background, with the PNG size shown before you download it
  • Refuses anything past 12,000 px a side or 40 million pixels rather than returning a blank canvas
FAQ

An SVG rendered through an image element is drawn in an isolated context. External stylesheets and @font-face files pulled in by URL are never fetched, so any family the machine does not already have falls back to a system default. The fix is to convert text to outlines in your editor before exporting, or to embed the font inside the SVG as a base64 data URI. The same isolation applies to artwork: an image element pointing at an https:// URL comes out blank, and a cross-origin resource that does load taints the canvas and blocks the PNG export outright.

Keep going