SVG to PNG Converter
Convert SVG graphics to PNG, JPEG or WebP at any width up to 8000 pixels, sharp at every size because the vector is rendered at the target resolution. Upload an SVG file or paste the SVG code, and optionally set a background colour.
Frequently asked questions
Why render at the target width?
The SVG is drawn at a density that matches the requested width, so edges and text stay sharp instead of being scaled up from a small bitmap.
What happens to transparency?
PNG and WebP keep transparent areas. JPEG has no transparency, so a white background is used unless you set another colour.
Can I paste SVG code?
Yes. Paste the markup into the text field, or upload an .svg file. Pasted code is used when both are given.
Why is my SVG rejected?
For security, SVGs that load external files, fonts or stylesheets, contain scripts or foreignObject, or declare entities are refused. Embedded data URI images and internal references with # are allowed.
Which renderer is used?
librsvg through sharp. It supports the common SVG features; some rare filters and CSS features may render differently than in a browser.
What if I leave the width empty?
The SVG is rendered at its own width, taken from its width attribute or viewBox.