About this tool
This tool rasterizes an SVG vector file into a PNG or JPEG image at whatever resolution you choose, right in your browser. Drop in an .svg file, and it reads the file's own width, height, and viewBox to suggest a sensible starting size — you can then type in any output dimensions you like before converting.
It's handy whenever you need a raster version of vector artwork: turning a logo or icon into a PNG for a platform that doesn't accept SVG uploads, generating several fixed pixel sizes (app icons, favicons, social media avatars) from one master vector file, or dropping a crisp graphic into a document or slide deck that expects a regular image format.
Because SVG is vector artwork rather than a grid of pixels, scaling it up or down to your chosen output size stays sharp — there's none of the blur or pixelation you'd get stretching a JPEG or PNG photo past its native resolution. Choose PNG to keep any transparency in the original SVG, or JPEG with a background color if you need a flat, fully opaque image. Everything happens locally via the Canvas API — your SVG file is never uploaded anywhere.
Frequently asked questions
Why does my rasterized PNG look pixelated at large sizes?
This shouldn't happen if the conversion itself is working correctly — SVG is vector data, so it scales cleanly to ANY output pixel size without pixelation, unlike scaling up a raster image. If your PNG looks pixelated, double-check that the output width/height you set are what you actually intended (a much smaller target size than you meant will look "correct" but tiny, and then LOOK blurry/pixelated if you then display it at a much larger size in your final use case — that's a display-time scaling issue, not a conversion-time one). Re-export at your true intended final pixel dimensions to get a crisp result.
Why does my SVG show up smaller/larger than expected before I set custom dimensions?
The default size shown comes from the SVG file's own declared `width`/`height` attributes if present, or its `viewBox` dimensions if not, or a generic 512×512 fallback if the file has neither — many SVGs (especially those exported from design tools) only declare a `viewBox` without explicit pixel dimensions, so the "natural" size you see isn't always meaningful. Just set the width/height fields to whatever you actually need; since SVG is vector data, there's no quality tradeoff for choosing a size different from the detected default.