Paste raw SVG code, preview it instantly, and download it as a clean .svg file or a rasterised PNG at up to 4× scale — all in your browser, nothing uploaded.
Paste the full <svg>…</svg> markup — the preview updates live.
SVG keeps it vector; PNG rasterises at your chosen scale.
Copy an icon out of a design tool or a code snippet and you often end up with a block of SVG markup rather than a file. This tool turns that text back into something you can use: a vector .svg file, or a raster .png at the resolution you need.
Keep the SVG when you want a crisp vector that scales to any size — ideal for logos, icons, and print. Export a PNG when a tool only accepts raster images; scale it up to 2× or 4× so it stays sharp on high-DPI screens.
Parsing, preview, and both downloads run entirely client-side, so your markup never touches a server — safe for brand assets and internal graphics.
Paste the full <svg>…</svg> markup into the box above. The tool previews it live, then lets you download it as an .svg file or as a PNG image at 1×, 2×, or 4× scale.
The SVG is drawn onto an HTML canvas at your chosen scale and exported as a PNG. Because SVG is vector, a higher scale gives you a larger, sharper PNG with no blurring — pick 4× for print or high-DPI screens.
No. Everything happens in your browser — parsing, preview, and both downloads. Your markup never leaves your device, which makes this safe for logos and internal assets.
The browser blocks SVGs that pull in external images or fonts when drawing to a canvas. Inline any referenced assets and embed fonts as paths or data URIs, and the PNG export will work. The SVG download is unaffected.