What SVG to PNG does
SVG to PNG validates UTF-8 SVG markup, rejects active or external-resource patterns, and renders static artwork with a local SVG canvas library. The resulting canvas is exported as a PNG without painting a background.
The renderer uses numeric width and height when provided, derives a fitted canvas from the viewBox when needed, and otherwise falls back to 1,024 square pixels. Animation and mouse behavior are intentionally ignored.
How to use SVG to PNG
- Select one self-contained SVG file no larger than 2 MB.
- Start the local render and resolve any safety or XML validation message.
- Inspect transparency and dimensions, then download the PNG.
Important details
Self-contained static SVG is required
The safety checks reject scriptable elements, event attributes, foreignObject, embeds, imports, and non-fragment resource URLs. Fonts or images hosted elsewhere are not fetched during rendering.
PNG keeps pixels, not paths
Transparency can remain in the output, but vector paths, selectable text, and infinite scaling are lost. Generate at dimensions appropriate for the final display.
Practical uses
- Export a transparent logo for software without SVG support.
- Create a raster preview of a static icon for documentation.
- Prepare self-contained vector art for a PNG-based upload field.
Privacy and limitations
The SVG is checked and rendered in the browser, with external fetches blocked. PagesTools does not upload the source markup or PNG result.
Input must be a safe UTF-8 SVG no larger than 2 MB. Dynamic behavior, animation, foreignObject content, external fonts or images, and scripts are unavailable; the PNG is a fixed-resolution raster rather than editable vector artwork.