An SVG to PNG converter turns a vector drawing saved as .svg into a PNG picture that opens in any program, uploads to any website and prints at any size. Choose your SVG files, pick a size, and the PNG versions are made in your browser and ready to download. Nothing is uploaded: your drawings stay on your device, and transparent backgrounds stay transparent.
What SVG and PNG are
Wikipedia's SVG article explains that Scalable Vector Graphics is an XML-based vector graphics format for two-dimensional graphics, developed by the W3C, stored in XML text files. Because the picture is described by shapes rather than pixels, SVG images can be scaled in size without loss of quality. PNG, according to the PNG article, is a raster graphics file format that supports lossless data compression, and it supports full-colour images with an alpha channel for transparency.
Why convert SVG to PNG
Not every program or website accepts SVG. Many upload forms, word processors, presentation programs, social networks and email programs want a picture made of pixels. The PNG article notes that the format was developed as an improved, non-patented replacement for GIF, and it is accepted almost everywhere. Converting a logo, icon or chart from SVG to PNG gives you a file that works in those places.
How to use the SVG to PNG converter
- Choose your SVG files or drop them on the box. You can add up to 30 at a time.
- Pick the size: the same size as the drawing, or 2, 3 or 4 times larger.
- Download each PNG, or all of them in one .zip file.
Choosing the size
An SVG drawing has a size, given by its width and height or by its viewBox, but because it is a vector drawing it can be drawn at any size. A PNG has a fixed number of pixels. If the drawing is 200 by 100 pixels, the PNG at the same size is 200 by 100, which looks soft on a large screen or in print. At 2 times it is 400 by 200, at 3 times 600 by 300, and at 4 times 800 by 400. Choose a larger size if the PNG will be shown large, and the smallest size that looks sharp if file size matters.
Worked example
Suppose your logo is an SVG with a width of 120 and a height of 80. Converted at 3 times, the PNG is 360 pixels wide and 240 pixels tall, and the edges are drawn sharply at that size rather than stretched from a small picture. If the SVG has no width and height but a viewBox of 0 0 64 48, the converter uses 64 by 48 as the drawing's size. If it has neither, it assumes 300 by 150 pixels, which is what browsers assume.
Transparency and colours
PNG can store transparency, so the empty parts of an SVG drawing stay transparent in the PNG, and the picture sits cleanly on any background. Colours are drawn the way your browser draws the SVG, so the PNG looks like the drawing does on a web page. Fonts are the main thing to watch: text in an SVG uses the fonts installed on your device, and if a font is missing the browser uses a different one, so convert text to outlines in your drawing program first if the exact lettering matters.
Safety of SVG files
The SVG article points out that SVG can include JavaScript, potentially leading to cross-site scripting. The converter draws each file as a picture, which means the browser does not run scripts or load outside resources from it, so converting a file you downloaded does not run its code. Even so, only open files from sources that you trust.
Limits and privacy
Each file can be up to 50 MB, and you can convert up to 30 at once. The PNG is capped at 8,000 pixels on its longest side to keep your browser responsive. The conversion runs in your browser, so your drawings are never sent to a server. Close the page or press Clear to remove the files from the tool.
Checking the result
Open one of the PNG files before you delete or send anything, and compare it with the SVG in your browser. Look at the edges of shapes, at thin lines and at any text. The converted file has the name of the SVG with a new .png ending, so it never overwrites the original. If a drawing looks soft, convert it again at a larger size.
Where to use the PNG
Use the PNG for slides, documents, social media posts, online shops, email signatures and anywhere that asks for an image upload. Because it keeps transparency, a logo can sit on a coloured background without a white box. Keep the SVG for anything that may need to be resized again, since it can always be converted again at a new size.
Converting many files
You can add up to 30 files at once. Each one is converted in turn, and the list shows the size before and after for each. To avoid several download prompts, download them all together in one .zip file. The PNG files keep the names of the SVG files, so give the files clear names first.
Common mistakes
- Choosing too small a size. The PNG can look soft when shown large.
- Deleting the SVG. It is the master that can be drawn at any size.
- Relying on fonts you do not have. Convert text to outlines first.
- Expecting animation. The PNG is a still picture.
What next
Use this often? Add SVG to PNG to your Home screen.
Frequently asked questions
How does an SVG to PNG converter work?
Your browser draws the SVG at the size you choose, and the converter saves the result as a PNG.
What size should the PNG be?
Choose a larger multiple, such as 2 or 3 times, if the picture will be shown large or printed.
Does the PNG keep transparency?
Yes. PNG supports an alpha channel, so transparent areas stay transparent.
Are scripts in the SVG run?
No. The file is drawn as a picture, so the browser does not run its scripts.
Are my files uploaded?
No. The conversion runs in your browser.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.