SVG to PNG
A vector drawing as a PNG at the size you need, or as a whole set of icon sizes at once. Transparency kept, the drawing rendered rather than stretched.
- No uploads
- No sign-up
- No file limit
- No watermark
nothing was uploaded
Why so many SVG conversions come back blurry
An SVG has no pixels, so "convert to PNG" is not really a conversion: it is a decision about how big. Most tools take that decision for you, and a lot of them take it badly, because of a CSS rule almost nobody thinks about.
A drawing with a viewBox and no width or height is a replaced element with no intrinsic size, so a browser draws it at 300 by 150 pixels and scales that to fit. Hand such a file to a converter that simply loads it as an image and you get a 300 pixel drawing blown up to 1,024, which is exactly as soft as it sounds. Here the file's own viewBox is read first and the size you asked for is written onto the root element, so the drawing is rendered at that size.
Two repairs, quietly
A missing namespace. An SVG without xmlns renders perfectly when pasted into an HTML page and fails completely when used as an image. It is the single most common reason a file is said not to convert, and it is added here automatically.
A missing viewBox. Without one there is nothing to scale, so asking for four times larger gives you the same drawing sitting in the corner of a bigger canvas. One is written from the file's own size.
Nothing inside the drawing is touched. It is somebody's source file, and quietly rewriting its contents is how a converter loses a gradient.
A set of sizes, not one
Most reasons to rasterise a vector are reasons to rasterise it several times: 16 and 32 for a classic favicon, 48 for Windows, 180 for an iPhone home screen, 192 and 512 for an Android web app manifest, 1,024 for an app store listing. Tick the sizes, drop the drawings, and every combination arrives in one ZIP, named by size.
Social preview images are the other common reason to rasterise a vector, and they have rules of their own: a fixed shape, a safe area that different platforms crop into, and a size limit. getReport's guide to Open Graph image size and safe area has the numbers, and its link preview checker shows what each platform will actually draw.
What will not survive, and why you are told
The drawing is rasterised by the browser's own SVG engine, so gradients, clip paths, masks, filters and blend modes come out the way they look in a browser tab. What that engine will not do is fetch anything from another server, which is precisely what keeps the promise on this page true even for a file that links to half the internet. So a linked font, a linked picture, script, embedded HTML and animation each get a plain sentence explaining what will be different, rather than a silent difference you find later.
Going the other way
This site turns vectors into pixels. For the opposite, getSVG traces a picture into an editable SVG on the same promise, and a transparent cutout from the background remover is a good thing to hand it: a logo photographed on a wall becomes a clean vector in two steps.
Guides that go further
Part of the formats behind your photos. What each format is, when to use it, and what to do when a file will not open.
- What is an SVG file, and when should you use oneSVG explained: shapes instead of pixels, why it stays sharp at any size, what it cannot do, and how to open, edit and convert one safely.
- SVG or PNG: which one to use, and when to convertA practical comparison of SVG and PNG for logos, icons, photos and email, with the file size numbers and the places SVG is not accepted.
- Favicon and app icon sizes: the list that is actually neededWhich icon sizes a website really needs in 2026, what each one is for, the HTML to declare them, and how to produce the whole set from one drawing.
- Photo file formats: HEIC, JPG, PNG, WebP, AVIF and more, explainedPhoto file formats compared: which keep transparency, which every app opens, and what to turn a HEIC, AVIF, WebP or JFIF into before you edit or share it.
Questions
How do I convert an SVG to a PNG?
Drop the file here, choose a size, and save. An SVG has no pixels of its own, so the size is the only real decision in the conversion, and this asks it properly instead of handing back whatever the file happened to say. You can convert several drawings at once, and they come back as a ZIP.
What size should I export at?
Whatever the picture will actually be shown at, doubled if it is going on a screen where people have retina displays. For a logo in a document, the width in pixels it will occupy times two. For a favicon, 16 and 32. For an iPhone home screen, 180. For an Android web app, 192 and 512. The set mode makes all of those in one go.
Why does my SVG come out blurry in other converters?
Because of a CSS rule almost nobody thinks about. A drawing with a viewBox and no width or height is treated as a replaced element with no intrinsic size, so a browser draws it at 300 by 150 pixels and then scales that up. This tool reads the file's own viewBox first and writes the size you asked for onto the root element before drawing, so the drawing is rendered at that size rather than stretched to it.
My SVG will not open in any converter. What is wrong with it?
Nine times out of ten, a missing xmlns on the root element. An SVG without it renders perfectly when pasted into an HTML page and fails completely when used as an image, which is what every converter does. That attribute is added here automatically, along with a viewBox where the file has none, so a lot of files that are said not to convert simply do.
Will the text in my SVG look right?
Only if the font is on your device or embedded in the file. A drawing rasterised in a browser cannot fetch a font from another server, which is also what stops the file telling anyone that you opened it, so live text is drawn with a font you already have. The page says so when it sees text. Converting the text to outlines in your editor fixes it for good and is worth doing before handing the file to anyone.
Can I keep the transparent background?
Yes, and it is the default. A PNG holds transparency, so everything the drawing does not cover stays clear. Untick it and choose a colour if you need a solid background, which is what a JPG needs anyway.
Can I make a favicon or an app icon set?
Yes. Switch to the set of sizes and tick the ones you want: 16 and 32 for a classic favicon, 48 for Windows, 180 for an iPhone home screen, 192 and 512 for an Android web app manifest, 1024 for an app store. Every drawing you dropped is rendered at every size you ticked and the lot arrives as one ZIP.
Do gradients, filters and clipping paths survive?
Yes. The drawing is rasterised by the browser's own SVG engine, which is the same engine that would draw it on a web page, so gradients, clip paths, masks, filters and blend modes come out the way they look in a browser tab. Script, embedded HTML and animation do not, because a browser never runs those when a drawing is used as an image, and the page says so when it finds them.
Is my file uploaded?
No. The drawing is read and rendered inside this browser tab, and there is no address on this site that could receive a file. That also means nothing the drawing links to is ever fetched, which is why a linked picture gets a warning rather than appearing.
Your files never leave this device
Most online converters upload every file to a server, convert it there and keep it for a while. Here your browser decodes and encodes the picture itself, so there is nowhere for the file to go. You can check it: load this page, switch the browser to offline, and convert a file. How to check a site is not uploading your photos.