How to convert an SVG to PNG with OnyxPDF
- Drop an .svg file into the tool, or paste SVG markup into the box.
- Set the output width in pixels — the height follows the SVG’s proportions.
- Click “Rasterize to PNG”.
- Download the PNG.
Why do it in your browser instead of uploading?
- Any size from one source: favicon-small to presentation-huge, always crisp because the vector re-renders at your chosen width.
- Paste-markup mode is perfect for icons copied from design tools and code.
- Transparency preserved — no white box baked in.
- No upload of your brand assets.
Good to know (honest limits)
- Browsers block external references inside SVGs (linked images, web fonts) for security — fully self-contained SVGs render perfectly; an SVG that pulls outside files will miss those parts.
- The SVG needs an intrinsic size (width/height or viewBox) to rasterise; the tool tells you if yours lacks one.
Frequently asked questions
Why convert SVG to PNG at all?
Some places still refuse SVG: older email clients, chat apps, office documents, app stores. A PNG at the right size is the universal fallback.
What width should I choose?
Match the destination: 512 px for app icons, 1024+ for slides and print-ish use. Vectors scale losslessly, so bigger is safe.
Why did part of my SVG not render?
If the SVG references external images or fonts by URL, the browser blocks them for security. Embed those assets inside the SVG (data URIs) and it will render completely.
Is my SVG uploaded?
No. It is parsed and rasterised in your browser.