About this tool
Rasterise SVG markup to a downloadable PNG, JPEG or WebP at any scale, entirely in your browser.
The SVG to Image converter rasterises SVG markup into a PNG, JPEG or WebP bitmap by drawing it onto an HTML canvas at a scale factor you choose. It reads the intrinsic size from the width and height attributes, falls back to the viewBox and then to the CSS replaced-element default of 300×150, and refuses any output above the 16,777,216-pixel canvas limit that Safari on iOS enforces. Everything happens in the browser, so the artwork is never uploaded.
Open SVG to Image on AltFTool — it loads instantly in your browser.
Paste or upload your source content.
Choose the target format or conversion mode.
Copy or download the converted result.
Canvas rasterising happens in your tab — no upload, no server, no queue.
The tool shows the intrinsic size, where it came from, and the exact output pixels before you export.
Any <script> block or on* handler in the pasted markup is removed before the SVG is drawn.
Multiply the intrinsic size by the scale you need. A 240×120 SVG at 4× gives 960×480. For screen use, 2× covers most high-DPI displays; for print at 300 dpi, take the physical size in inches and multiply by 300 — a 3-inch-wide logo needs 900 pixels of width.
Two common causes. If the SVG has no width and height attributes and no viewBox, browsers fall back to 300×150 px, so the export is small and may crop. And if the output exceeds 16,777,216 pixels — 4096×4096 — Safari on iOS will not allocate the canvas, so this tool blocks that size and asks you to lower the scale.
Canvas rasterising uses fonts installed on the machine doing the rendering. A web font referenced by URL will not load into the image, and an external reference also taints the canvas so the export fails outright. Convert text to paths in your vector editor before pasting, and the shapes come out exactly as designed.
PNG if the artwork has transparency or flat colour and sharp edges, which is almost all logos and icons. JPEG only for photographic content, and note it has no alpha channel — this tool fills the background white or black instead. WebP gives smaller files than both at similar quality and is supported by every current browser.
Add the SVG to Image widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/svg-to-image"
title="SVG to Image — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/svg-to-image?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>