SVG to PNG

Pick the size you need and get a crisp PNG. Free, no sign-up, no watermark, and the file stays in your browser.

  • 100% in your browser
  • No upload, no signup
  • Transparency preserved
  • Batch + ZIP

A vector has no fixed pixel size — the size you pick here is what decides how sharp the PNG is. Why?

Why convert SVG to PNG

SVG is the better format right up until something refuses to accept it. Email clients strip it. Most social platforms will not take it as an avatar or a preview image. Plenty of upload forms, print services, marketplaces and older applications only understand pixels. Slide decks and documents embed it unpredictably. None of that is a flaw in SVG — it is simply not universally supported, and PNG is.

So the usual reason to convert is compatibility rather than preference. You keep the SVG as the master copy and export a PNG whenever something downstream needs one, at whatever size that particular use calls for.

The second reason is fixing the appearance in place. An SVG renders using whatever fonts and rendering engine the viewer has, so it can look subtly different from one machine to another. A PNG looks the same everywhere, because every decision has already been made.

And unlike the other direction, this one is straightforward. Going from PNG to SVG means guessing at shapes that were never in the file. Going from SVG to PNG just means drawing, which a browser already does well — the only real decision is how big.

Upload toolsTheir server?This toolYour deviceNothing leaves your device, so there is no copy to delete.
Other converters upload your file to a server. This one draws it where it already is.

Why "without losing quality" is the wrong question

An SVG has no pixel size of its own. There is nothing to preserve when you convert it — there is only the size you choose, and that choice is the whole ballgame.

It is one of the most common things people search for alongside this conversion, and it comes from a reasonable place: with JPEGs, every save costs you something, so it makes sense to assume every conversion does too. Vectors do not work that way.

An SVG is a set of instructions — draw a circle here, fill this path with that colour. It has no resolution. When you export a PNG, the browser follows those instructions at whatever size you asked for, and draws it fresh. Ask for 4000 pixels and it draws at 4000 pixels. Nothing is being downsampled or re-compressed, because there was no pixel data to start from.

We checked how far that holds. Taking a 100-pixel source and rendering it at increasing sizes: at 1000 pixels the export takes about 20 milliseconds, at 4000 a quarter of a second, at 8000 roughly a second, and at 16000 about five seconds and four and a half megabytes. Every one of those is a clean render, not an enlargement. Past that a browser canvas gives up, which is why this tool caps the longest side at 16000.

So if a PNG you exported looks soft or jagged, the explanation is almost never that the converter was lossy. It is that the export was done at too small a size for where the image ended up — a 64-pixel PNG dropped into a slide at 400 pixels wide will look bad no matter which tool produced it.

This reframes the whole task. The question is not "how do I avoid losing quality", it is "how many pixels does this need". A favicon needs 512. A social preview needs 1200 by 630. A logo going to print needs whatever the printer asked for. Once you know that number, the conversion is trivial — which is why it is the first thing on this page rather than an option hidden behind a menu.

Vector 4×Bitmap 4×
A vector is redrawn at whatever size you ask for. A bitmap can only be stretched.

How to convert SVG to PNG

Four steps, all inside this browser tab. Nothing is uploaded at any point.

1

Drop your SVG in

One file or a batch. We read each one locally and look at it — its size, whether it refers to anything on the web, and whether it can be exported at all.

2

Check the source size

We show the size we read out of the file and where it came from: the width and height attributes, or the viewBox. This matters more than it looks, and the next section explains why.

3

Pick your output size

Use a multiplier, type exact pixels, or take a preset — 512 for a favicon, 1200 by 630 for a social image, 1024 for an app icon. Lock the aspect ratio if you want the proportions kept. Choose a transparent or white background.

4

Convert and download

Each file is drawn at the size you asked for and handed back. A batch comes down as a ZIP. Nothing was uploaded, so there is no server copy and no queue.

Going the other way? If you have a PNG and want a vector out of it, that is a much harder problem and it is worth reading about first — our PNG to SVG tool explains what it can and cannot do.

What this converter does

It converts SVG to PNG at exactly the size you specify, in your browser, and asks nothing in return. No account, no email, no daily limit, no watermark and no queue.

Size is the main control, not a hidden setting. Multipliers, exact pixel dimensions with an aspect-ratio lock, and presets for the sizes people actually ask for. Two of the tools ranking for this search offer no size control at all — you get whatever they decide.

It tells you where the default came from. The size read out of your file is shown along with its source, because SVG files disagree about how to state their own dimensions and the browser's answer is not always the one you want.

It checks the file before converting rather than after. Three things can go wrong with an SVG in a browser, and all three are detectable up front: HTML content that cannot be exported, fonts or images loaded from the web that will not be drawn, and a missing namespace declaration that stops the file loading entirely. The first two are explained, the third is repaired.

Batch conversion is included, with no cap worth mentioning. Several files at once, one size setting, one ZIP at the end.

Transparency is kept by default, and there is a white background option for the places that need one.

People use this for:

  • Favicons and app icons at the exact pixel sizes required
  • Social preview images, which must be raster
  • Email signatures and newsletters, where SVG is stripped
  • Marketplace and print uploads that only accept PNG
  • Slide decks and documents that embed SVG unpredictably
  • Screenshots and documentation where the file must look identical everywhere
  • Exporting icons at 2× and 3× for high-density screens

Works on any device

It runs in the browser, so there is nothing to install and no difference between platforms.

§ 01

Windows

Works in Chrome, Edge and Firefox. Nothing to install, nothing left behind.

§ 02

Mac

Works in Safari, Chrome and Firefox. The PNG lands in Downloads like any other file.

§ 03

iPhone and iPad

Pick an SVG from Files and get a PNG back into Files. No app needed.

§ 04

Android

Works from any file manager. The conversion runs on your device, not on a server.

§ 05

Linux

Works in Firefox and Chromium, which is convenient when ImageMagick is not installed.

§ 06

Chromebook

Runs locally in the browser, which on a Chromebook is where everything runs anyway.

What can go wrong with an SVG

The conversion itself is reliable. What is not reliable is SVG files, which vary enormously in how they are written. These are the four situations we test for on every file you drop in, measured by running real files through a real browser.

width + height100 × 100viewBox only150 × 150neither300 × 150We use the viewBox rather than the browser's 150 × 150.
Three ways to write an SVG, three different default sizes — and two of them are CSS defaults that have nothing to do with the drawing.
SituationWhat happensWhat this tool does
The file states a width and heightThose are used, converted from cm, mm, pt or in if neededUses them and says so
Only a viewBox, no width or heightThe browser reports 150 × 150 — a CSS default, unrelated to the drawingUses the viewBox instead, which is what the author meant
Neither oneThe browser reports 300 × 150 and does not scale the contents to fitFalls back to 300 × 150 and tells you the file gave no size
A font or image loaded from the webNever fetched — text silently renders in a different typefaceDetects it and warns before you convert
HTML inside a foreignObjectThe canvas is tainted and the export is refused by the browserDetects it, explains it, and suggests Inkscape
Missing xmlns declarationThe file fails to load at allAdds it automatically and carries on
TitleTitleWeb fontFont changes<foreignObject>HTML insideCannot export
The two things that actually go wrong, both detected before you press convert.

The one case nothing in a browser can fix

If an SVG contains a foreignObject — a block of HTML embedded inside the vector — the browser marks the canvas as tainted the moment it is drawn, and then refuses to let anything read the pixels back. That is a security rule about cross-origin content, not a bug and not something a converter can work around. Any tool running inside a browser tab hits the same wall; tools that appear to manage it are doing the work on a server. Diagramming tools are the usual source: Mermaid and draw.io both emit foreignObject for text blocks. If you have one of those files, a desktop program like Inkscape will export it without complaint. We check for it before you press anything, because finding out afterwards is worse.

How to tell whether your export is big enough

Open the PNG and view it at 100%, then compare that with how large it will actually appear — the width of the column it sits in, the size it is printed at, the pixel dimensions the platform asks for. If the PNG is smaller than the place it is going, it will look soft, and no converter setting changes that. Export again at the larger number instead. For screens, a good habit is to export at twice the size you need, because high-density displays draw two physical pixels for every CSS pixel.

Your SVG stays in your browser

The conversion happens on your own device. Your file is read locally, drawn onto a canvas in this tab, and handed straight back. It is never uploaded, so there is no server copy and no retention period to think about.

Worth being precise here: browser-based conversion is not unique to this page. The site currently ranking first for this search also runs entirely client-side, and says so. We mention it because it is true and because it is a reason to prefer a tool, not because it sets us apart.

One genuine detail: scripts inside an SVG do not run. A browser drawing an SVG through an image element executes nothing and fetches nothing external — we verified both. So a file from a source you are unsure about cannot do anything here beyond being drawn.

§ 01

No upload

The file is converted on your device.

§ 02

No account

No sign-up, no email, no daily limit.

§ 03

No watermark

The PNG is yours, unmarked.

§ 04

No scripts run

Anything embedded in the SVG is inert.

Frequently asked questions

Will converting SVG to PNG lose quality?
No, and the question is worth unpicking because it comes up constantly. An SVG has no resolution of its own — it is a set of drawing instructions. Exporting to PNG draws those instructions at whatever size you ask for, so nothing is being compressed or downsampled. If your PNG looks soft, it was exported at too few pixels for where it ended up. Export it again at a larger size and it will be sharp.
What size should I export at?
Whatever the destination asks for. A favicon wants 512 pixels, a social preview image wants 1200 by 630, an app icon wants 1024. For anything appearing on a screen at a size you control, export at twice that size — high-density displays draw two physical pixels for every CSS pixel, and a 2× export is what keeps edges crisp on them. For print, ask whoever is printing it; they will give you a pixel count or a DPI and a physical size.
Why does my PNG look blurry?
Almost always because it was exported smaller than the space it is being shown in. A 64-pixel PNG placed in a slide at 400 pixels wide is being stretched by the slide software, and no setting in any converter fixes that. Export at the size it will actually be displayed, or larger. The one other cause is a display with a high pixel density, which is the same problem in disguise — the fix is the same, export bigger.
Why did the text change font?
Because the SVG refers to a font hosted on the web, and browsers do not fetch external resources while drawing an SVG. This is a deliberate security boundary, not a limitation of this tool — the same thing happens in every browser-based converter. The text falls back to a default typeface, silently. To avoid it, embed the font in the SVG, or convert the text to outlines in your design tool before exporting. We check for this and warn you before converting.
Why won't my SVG convert?
Two causes account for nearly all of it. The file may contain a foreignObject — a block of HTML inside the vector, which browsers refuse to export for security reasons. Diagram tools like Mermaid and draw.io produce these, and a desktop program such as Inkscape will export them fine. Or the XML may be malformed, in which case the browser cannot load it at all. A third cause, a missing xmlns declaration, we repair automatically rather than rejecting.
What size does it use by default?
The size stated in the file, and we show you which part of the file it came from. If the SVG has width and height attributes we use those, converting from cm, mm, pt or inches where needed. If it only has a viewBox we use that — deliberately, because a browser would report 150 by 150 for such a file, which is a CSS default that has nothing to do with the drawing. If the file states no size at all, we fall back to 300 by 150 and say so.
Is transparency kept?
Yes, by default. A PNG supports transparency and anything not painted in your SVG stays transparent. If you need a solid background — some upload forms and print workflows do — there is a white background option.
Can I convert several files at once?
Yes. Drop in as many as you like, set the size once, and everything comes back as a ZIP. The multiplier options apply to each file's own source size, so a batch of differently sized icons all get doubled rather than forced to one dimension. If you want them all at identical dimensions, type an exact size instead.
Is there a maximum size?
16000 pixels on the longest side. That is not an arbitrary cap — it is where browser canvases stop working. We measured it: 16000 by 16000 produces a valid 4.5 MB PNG in about five seconds, while 20000 fails outright. If you ask for more, the size is reduced to fit and you are told.
Do I need to upload my file?
No. The file is read and converted on your own device, inside this browser tab. Nothing is sent anywhere, so nothing is stored and there is no retention period.
Can I convert a PNG back to SVG?
You can, but it is a fundamentally harder job and worth understanding before you try. Going from pixels to vectors means tracing shapes that were never in the file, which works beautifully for logos and line art and poorly for photographs. Our PNG to SVG page measures exactly how well it works for each kind of image.
What is an SVG, anyway?
A text file describing shapes — lines, curves, fills — rather than a grid of pixels. Because it stores instructions instead of dots, it can be drawn at any size without ever going blocky, and it is usually much smaller than a bitmap for flat artwork like logos and icons. You can open one in a text editor and read it. The trade-off is that not everything accepts the format, which is why this page exists.

Convert your SVG at the right size

Pick a size, get a crisp PNG. Free, batch, and it never leaves your browser.

Convert SVG to PNG