SVG to PNG Converter
Why convert at all: vectors vs pixels
SVG is a drawing described in maths — circles, paths, text — which is why it scales infinitely and weighs kilobytes. PNG is a grid of pixels: fixed resolution, universally understood. Conversion is needed wherever the consumer cannot speak vector: older email clients and office documents, many social platforms’ upload dialogs, app stores and favicon pipelines, print shops that ask for “a PNG at 1,000 px”, and any canvas-based editor. The conversion moment is also the one decision that matters: the output size. Render too small and the PNG is mush when displayed large; render large and you pay in file size for pixels nobody sees. The professional habit is to export at 2× the largest display size (so retina screens stay crisp) — a logo shown at 200 px gets a 400 px PNG. This tool takes the width and computes the height from the SVG’s own proportions, reading its width/height attributes or, failing those, its viewBox — the two places an SVG declares its shape.
How the conversion runs, and its honest limits
The page wraps your markup in an image, draws it to a canvas at the requested size, and reads the canvas back out as PNG — all with the browser’s own SVG engine, the same one that renders SVGs in web pages, so what you preview is what you download. Three limits come with that honesty. External references do not travel: an SVG that points at web fonts, external images or stylesheets will render without them, because the rasterised copy is deliberately cut off from the network (a security feature of SVG-as-image) — inline your fonts as paths or accept the fallback font. Animation freezes: SMIL or CSS animation renders as its first frame. Text depends on fonts you have: a font named in the SVG renders in that font only if your system has it; the receiving system’s fonts are irrelevant once the pixels are baked. None of these affect the mainstream jobs — icons, logos, diagrams, illustrations — and the preview shows you exactly what the PNG will contain before you download it, so a broken render never reaches your files.
Sizes for common jobs
Website and app icons: export the set — 16, 32, 48 for favicons (or use our Favicon Generator, which builds the whole package), 180 for Apple touch icons, 192 and 512 for Android/PWA. Social and documents: 1,000–2,000 px on the long edge covers slides, posts and retina displays comfortably. Print: work backwards from physical size × 300 DPI — a 4-inch-wide print slot wants 1,200 px. Presentations and Word documents: 800–1,600 px wide is the sweet spot between crispness and file weight. In every case keep the original SVG as your master: the PNG is a serving, not the source, and the next size request is then a ten-second re-export rather than a redraw. If you need the reverse trip — a PNG traced into vector — that is a different and lossier art (tracing), not something this or any honest converter can do exactly; keep your vectors.
Frequently asked questions
How do I convert SVG to PNG without uploading the file?
Paste the SVG code into the box (or load the .svg file), set the output width, and use the download button that appears under the preview. The conversion runs entirely in your browser — the SVG is rendered to a canvas locally and exported as PNG — so the file never leaves your device. Height is computed automatically from the SVG’s own aspect ratio (its width/height attributes or viewBox), and transparency is preserved unless you choose a background colour.
What size PNG should I export?
Twice the largest size it will be displayed at is the reliable rule: a logo shown at 200 px wants a 400 px PNG so high-density screens stay sharp. For documents and slides, 800–1,600 px wide is typical; for print, multiply the physical width in inches by 300 (a 4-inch slot = 1,200 px). Bigger is not automatically better — a 6,000 px export of a simple icon is a megabyte doing a kilobyte’s job. When in doubt, export two sizes and compare file weights.
Why does my converted PNG have a white (or chequered) background?
Because SVG backgrounds are transparent by default, and PNG preserves that transparency — the chequerboard in the preview is the standard way editors show “nothing here”. Viewed on a white page it looks white; on a dark page, dark. If your destination cannot handle transparency (some older tools flatten onto white or, worse, black), choose the white or black background option before downloading and the tool will bake that colour in deliberately, under your control.
Why does the PNG look different from my SVG — wrong font or missing image?
Almost always an external reference. SVG rendered as an image is sandboxed: it cannot load web fonts, external pictures or linked stylesheets, by design, for security. The fix is to make the SVG self-contained before converting — embed images as data URIs, inline the CSS in a style element, and convert text to paths in your vector editor if the exact font matters. The preview on this page is the honest test: it uses the same sandboxed rendering, so if the preview is right, the download is right.
Can I convert a PNG back to SVG here?
No — and be wary of tools that promise it cleanly. Rasterising (this direction) is exact: the vector describes the pixels. Tracing (the reverse) is interpretation: software guesses at shapes, and the result is an approximation with stray points and lost editability, serviceable for simple logos but never the original file. The professional rule is to keep the SVG master forever and treat every PNG as a disposable export at a chosen size — which is exactly the workflow this page is built for.
Related tools
Behaviour verified in Node on 24 November 2026. Everything runs in your browser — nothing you type is sent anywhere.