SVG to PNG
SVG to PNG turns an SVG file or pasted SVG code into a PNG at the exact size you need, from a small icon to a 4,000-pixel print logo, with a transparent or coloured background. It runs in your browser, so your file stays on your device. It is for designers, developers and anyone who needs a logo as a picture.
Choose an SVG file or paste its code.
Your SVG is drawn by your own browser on this device and never uploaded.
What is the SVG to PNG?
SVG to PNG converts vector drawings into pixel images. It reads the SVG's own size from its width, height and viewBox (with units such as pt, mm and in turned into pixels at 96 per inch), then lets you scale it, or set an exact width or height while keeping the shape. Your browser draws the SVG at that size, so edges stay sharp rather than being stretched from a small picture. The background can stay transparent or be white, black or any colour, and a JPG download is there too. It warns when the SVG links to pictures or web fonts on other websites, which cannot load during conversion, and keeps very large sizes within what phones can draw.
Who it is for: Designers exporting logos and icons, developers who need app or social images from SVG, and anyone whose website, app or document will not accept SVG files.
How to use the SVG to PNG
- Choose an SVG file, or paste the SVG code.
- Choose the size: a scale such as 2 times, or an exact width or height in pixels.
- Pick a transparent or coloured background and check the preview.
- Press Download PNG, or Download JPG for a white-backed JPG.
Why use it
- Sharp at any sizeThe vector is drawn at your size, not stretched from a small picture.
- Transparent or colouredKeep transparency or choose white, black or any background.
- File or codeChoose an .svg file or paste the code from your editor.
- Stays on your deviceYour browser draws the file; nothing is uploaded.
At a glance
- What you put in
- One SVG file up to 20 MB, or pasted SVG code
- What you get
- A PNG (or JPG) at the size you choose, with its pixel size and file size
- Limits
- Pictures and web fonts linked from other websites do not load, so embed them first; output is capped at 16,384 pixels a side and about 16.7 million pixels in total; animations are saved as their first frame
- Privacy
- Runs in your browser. Nothing you enter is uploaded or stored.
- Price
- Free for everyone. No subscriptions, no payments, no watermark.
- Works offline
- Yes, once the page has loaded
- Last checked
- by AK Shine
Worked example
A badge SVG with viewBox="0 0 120 60" and no width or height (a blue rounded rectangle, a yellow circle and two white lines), scale 2, transparent background.
Output 240 × 120 px PNG. The SVG's own size is 120 × 60 (from its viewBox). With Size by Width set to 1000: 1000 × 500 px.
With no width or height in the file, the viewBox gives the size in pixels. A width of 1000 keeps the 2:1 shape, so the height is 500.
When to use something else
- If the SVG uses pictures or fonts from other websites, they come out blank or in a standard font. Embed pictures as data and convert text to outlines in your design app.
- For photos or PNG, JPG and WebP files, use the Image Converter instead.
- To make the PNG smaller in file size after converting, use the Image Compressor.
Questions people ask
How do I convert SVG to PNG with a transparent background?
Choose your SVG, leave Background on Transparent and press Download PNG. PNG keeps transparency, so only the parts the SVG draws are filled. JPG cannot be transparent, so the JPG download is given a white background.
What size will my PNG be?
At scale 1 it matches the SVG's own size: its width and height in pixels, or the viewBox when those are missing. Scale 2 doubles both sides. Or choose Width or Height and type the exact pixels; the other side follows the shape.
Will the PNG be blurry if I make it large?
No. The vector is drawn again at the size you choose, so lines and text stay sharp at 4,000 pixels as at 40. Only the file size grows. Pictures embedded inside the SVG keep their own resolution.
Why is some text or a picture missing in my PNG?
For safety, browsers do not load other files while drawing an SVG as an image. Web fonts and pictures linked from other websites stay blank or use a standard font. Convert text to outlines and embed pictures in your design app, then convert again.
What is the largest PNG I can make?
Up to 16,384 pixels on a side and about 16.7 million pixels in total, the canvas limit of Safari on iPhone and iPad. Bigger sizes are reduced to the largest safe size, and the tool tells you.
Is my SVG uploaded anywhere?
No. The conversion happens in your own browser on your device. Your file and the PNG never leave it, and the tool works offline once the page has loaded.
What size should a PNG logo be?
Make it at least twice the largest size it will show at, so it stays crisp on high-density screens. For example, a logo shown 200 pixels wide on a website is best exported at 400 pixels wide.