View SVG code and download it as an image
SVG Viewer shows the image behind your SVG code as soon as you paste it. Choose a size and format, then download it as PNG, JPG, WebP, SVG or PDF.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
- Original size
- —
- Code size
- —
- Elements
- —
Download
Runs entirely in your browser — nothing you enter is uploaded.
How to use SVG Viewer
Three steps, about a minute.
-
1
Paste your SVG code
The image appears straight away. You can also open a .svg file.
-
2
Choose a size and format
Pick a ready-made size or type your own width and height.
-
3
Download
Your file is created in your browser and saved to your device.
SVG Viewer questions
Is it safe to paste SVG code from somewhere else?
Yes. The code is displayed as an image, so any scripts inside it don't run. If you download the SVG format, those scripts stay in the file, so only open that file directly if you trust it.
Which format should I choose?
PNG suits icons and logos and keeps transparency. JPG makes smaller files but has no transparency. SVG stays sharp at any size.
Is the PDF a vector file?
No. The PDF contains an image at the size you choose, so pick a larger size for print. For a vector file, download SVG.
Why is an image or font missing?
Linked images and web fonts aren't loaded, so embed images in the SVG and convert text to outlines in your design tool. Otherwise text uses a font installed on your device.
What happens if I change the proportions?
The image isn't stretched unless the SVG asks for it. It's centred at the chosen size, with the background filling the extra space.