SVG Raster Exporter
Turn an SVG into a PNG at a size you choose, without the file reaching out to anything.
Up to 2 MiB and 16 megapixels out. Nothing leaves your browser and nothing is fetched.
Intrinsic size 256 × 128 (from the attributes)
Output 256 × 128 (0.03 MP)
That preview is the canvas that gets exported — drawn once and reused — so what you see and what lands in the file cannot disagree.
Runs entirely in your browser. Your input is not uploaded or stored.
How to use this calculator
- Paste SVG source or choose a file. The size is read from the drawing.
- Set an output width or height, with the aspect ratio locked if you want it, and choose a background or keep it transparent.
- Download the PNG.
How it works
The SVG is rendered by your browser from a blob, with no network access. An SVG that references a remote image, font or stylesheet is refused rather than quietly drawn without it — a drawing that silently loses a logo is worse than one that will not render.
Scripts inside an SVG are never executed. An SVG is a document format that happens to allow script, which is why it is treated as untrusted input rather than as a picture.
A transparent PNG keeps its alpha. If you pick a background colour it is painted first, so nothing is left to the viewer's page colour.
Worked example
A logo at 512 px. Set the width to 512 with the ratio locked, and the height follows the drawing's own proportions rather than being guessed.
Common mistakes
- Expecting a web font named in the SVG to be used — it is not fetched, so the text falls back.
- Exporting a drawing with no intrinsic size and expecting a sensible default.
- Assuming a PNG keeps the SVG's sharpness at any size; it is pixels from the moment it is exported.
Tips
- Runs entirely in your browser. Your input is not uploaded or stored.
Frequently asked questions
Why was my SVG refused?
Because it referenced something outside itself — a remote image, font or stylesheet. Inline everything it needs and it will render.
Does it use the resvg renderer?
No. It uses your browser's own SVG renderer, which is why anything the browser would have to fetch is refused instead.
Is anything uploaded?
Runs entirely in your browser. Your input is not uploaded or stored.
Related tools
- Website Icon Pack
- Exact Image Cropper
- PDF Page Image Exporter
- HEIC Batch Converter
- Image Compressor
- Image Converter
Explore more in PDF, Image, File, Data & Developer Tools.
Cite this tool
Zerdly. (2026). SVG Raster Exporter. Retrieved from https://www.zerdly.com/tools/svg-raster-exporter/
Tip: Enter any known values to calculate the remaining results.
Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.



