SVG to PNG Converter
Convert an SVG to PNG, JPG or WebP at 1x to 4x or any pixel width, with transparent or coloured backgrounds, entirely in your browser.
Reviewed 23 November 2026 · Free · No account needed
How to use
- Choose an SVG file (or try the sample) and check the preview.
- Pick PNG, JPG or WebP and a size: 1x to 4x of the SVG's own size, or an exact width in pixels.
- Keep the background transparent for PNG or WebP, or choose a colour: JPG always uses a colour.
- Press Download to save the converted image.
Example
Input: logo.svg (240 × 120) at 2x as PNG
Output: logo.png, 480 × 240 px, transparent background
How it works
The browser loads the SVG as an image, draws it onto a canvas of the output size, and the canvas is encoded as PNG, JPG or WebP for download.
Output width = SVG width × scale (or your chosen width); output height keeps the aspect ratio. The SVG's own size comes from its width and height attributes, else its viewBox, else 300 × 150.
A 240 × 120 SVG exported at 2x becomes a 480 × 240 PNG; at an exact width of 1000 px it becomes 1000 × 500.
Limits and edge cases
- The SVG must be self-contained: external images, linked stylesheets and web fonts do not load when an SVG is drawn as an image.
- Text falls back to a system font if the SVG relies on a font that is not embedded.
- Output is capped at 16,384 pixels per side and 100 megapixels in total.
- SVG files up to 10 MB are accepted; scripts inside the SVG never run.
- An SVG missing its xmlns declaration gets it added so the browser will load it.
- Sizes in cm, mm, in, pt and pc are converted to pixels at 96 per inch.
- JPG has no transparency, so the chosen background colour fills the image.
Privacy
The SVG is drawn and encoded locally in your browser. The file is never uploaded to a server.
About this page
Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.
Related tools
Questions about SVG to PNG Converter
How do I convert an SVG to a transparent PNG?
Choose your SVG, leave the format on PNG and keep 'Transparent background' ticked, then press Download. Areas not covered by the drawing stay fully transparent. JPG cannot store transparency, so for JPG the tool fills the background with the colour you choose, white by default.
Why does my text look different after converting?
The browser draws an SVG as an image without loading external resources, so a font that is not embedded in the SVG is replaced by a system font. To keep the exact look, convert the text to outlines in your vector editor, or embed the font in the SVG, before converting.
What size should I export?
1x gives the SVG's own pixel size; 2x suits high-density screens; 3x and 4x are good for printing small items. Or choose an exact width and the height follows. Because SVG is vector, a bigger export stays sharp, but file size grows, and the maximum is 16,384 pixels per side.
Is my SVG uploaded anywhere?
No. The file is read and drawn inside your browser, and the converted image is created and downloaded on your device. Nothing is sent to a server. Scripts inside an SVG are not executed when it is drawn as an image, so an untrusted file cannot run code on the page.