Convert SVG to PNG

An SVG has no pixel size of its own, so converting SVG to PNG means choosing one — and because the drawing is redrawn rather than enlarged, any size you pick is perfectly sharp. Transparency is preserved. Drop the file above and it renders in your browser with resvg, so the output is identical on every machine.

  • Where it runs In your browser. The file is never uploaded.
  • Rebuilt PNG works differently from an SVG, so this is not the gradual degradation a lossy codec applies. What PNG can express is reproduced faithfully; what it has no equivalent for does not survive at all.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Text is rendered with the fonts embedded in the file; anything else falls back.

Up to 100 files at once. Mixed formats are fine.

Why you need a PNG when the SVG is better

Vector files are the right thing to keep and the wrong thing to send. An SVG scales to any size without ever going blurry, which is why logos and icons live as one — and it is also a format that plenty of things refuse: older Office versions, many upload forms, app icon pipelines, most print workflows.

Choosing the output resolution

This is the one decision to make, because an SVG genuinely does not have a size. It describes shapes, not pixels, so the conversion has to pick a resolution. The scale setting controls it, and a larger number costs nothing in quality: the drawing is being redrawn rather than enlarged, so it is perfectly crisp at any size the slider offers.

What the slider offers is a multiple of 1024 pixels across: scale 1 is 1024, and each tenth of a step is another 102 pixels, from 102 at the bottom to 10240 at the top. A useful habit is to work out the largest place the image will appear and double it, which covers high-density screens — then pick the step at or just above that number rather than below it.

The font trap, and how to avoid it

SVG stores text as text and refers to a typeface by name, so if the font is not embedded in the file, the renderer substitutes something else and your carefully spaced wordmark comes out wrong. This is the single most common reason an SVG to PNG conversion looks broken.

The permanent fix is in the design tool: convert text to outlines or paths before exporting the SVG, and the letters become shapes that cannot be substituted. It also makes the file safe to hand to anyone else.

Transparency and consistent rendering

Transparent areas stay transparent, so a logo drops onto any background without a white box behind it.

Rendering is done by resvg rather than by your browser, which means the output is identical on every machine — a converter that draws through a canvas gives subtly different results in Chrome and Safari, which is exactly the kind of difference that only shows up after the file has been signed off.

What happens to gradients, filters and blend modes

Plain shapes, strokes and fills convert exactly. Where renderers start to diverge is the elaborate end of the specification: Gaussian blurs, drop-shadow filters, blend modes, and clipping paths built out of other clipping paths.

resvg implements the parts of the specification that real files use and is deliberately honest about the rest — an unsupported filter is left out rather than approximated into something that looks almost right. If an effect matters, look at the PNG rather than assume, and if it is missing, flatten it in the design tool before exporting.

Why the PNG can be enormous

An SVG is often a few kilobytes because it is a description rather than a picture. The PNG is a grid of pixels, and that grid grows with the square of the scale: doubling the scale quadruples the file.

A logo that is 4 KB as an SVG can be several megabytes as a 4000-pixel PNG. That is not a fault, it is the arithmetic of the format — but it is a good reason to pick the resolution you actually need rather than the largest one on offer.

Making app icons and favicons

This is one of the most common reasons for the conversion, and the scale slider lands on some of those sizes and not others. Scale 1 gives the 1024 pixels the app stores want and 0.5 gives 512; 256, 192 and 128 fall between the tenths and come out as 205 or 307 instead. For those, render at 1024 or 512 and resize down in an image tool — downscaling a large PNG is the one direction that stays clean.

For a favicon, note that what is usually wanted is an ICO rather than a PNG, because an ICO holds several sizes in one file. Convert to PNG at the largest size you need and use the PNG to ICO page for the rest.

SVGs that point at something outside themselves

An SVG can reference an external image, an external font or a stylesheet in another file. Those references are not part of the SVG, so when the file arrives here on its own, whatever they pointed at does not arrive with it.

The result is a PNG with a missing photograph or a substituted typeface. If the drawing looked complete in the design tool and incomplete here, this is almost always the reason: export again with resources embedded rather than linked.

Converting a set of icons at once

Drop the folder, up to a hundred files at a time. Every file is rendered at the same scale and comes back as a ZIP, which is usually what an icon set wants — consistency across the set matters more than each file being individually ideal.

Because the rendering happens on your machine there is no queue and no daily allowance, and because it is resvg rather than a browser canvas, the hundredth icon is drawn exactly like the first.

How to convert an SVG to PNG at the size you need

  1. Drop your SVG onto this page, or click to choose one.
  2. It is rendered in your browser at the size you choose.
  3. Download the PNG, transparency intact.

SVG vs PNG: instructions against pixels

SVG compared with PNG
SVGPNG
Full nameScalable Vector GraphicsPortable Network Graphics
File extension.svg.png
Media typeimage/svg+xmlimage/png
CompressionUncompressedLossless — nothing is discarded
First published20011996
Published byW3CPNG Development Group
SpecificationSVG 1.1ISO/IEC 15948
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Bit depth16
Colour it can describeRGBRGB, greyscale, indexed palette
Largest image2,147,483,647 px per side
Opens in a browserEvery browserEvery browser
Considered insteadPDFWebP, JXL

What is lost

SVG describes shapes and PNG stores pixels. The result is sharp at the size it was rendered and no sharper — enlarging it afterwards can only invent the pixels in between, which is why the export size matters more here than in most conversions.

PNG holds a single still image. An animated SVG keeps its first frame and loses the rest, so a conversion is a way to take a still out of one, not a way to move it.

Layers are merged. SVG keeps them separate and editable; PNG stores the composite, so anything that depended on moving a layer afterwards has to happen before the conversion.

What survives

Transparency survives. Both SVG and PNG store an alpha channel, so a cut-out stays cut out and nothing is filled in behind it.

Opening the result

The usual programs do not overlap: SVG opens in Inkscape, Adobe Illustrator and Figma, PNG in Adobe Photoshop, GIMP and Paint.NET — so whoever receives the result needs something from the second list.

File size and quality

PNG packs the same samples into roughly half the space. Nothing is discarded — decode it and you get the SVG back bit for bit — which makes it the better shelf for anything you intend to keep.

What each format is for

SVG is W3C's format, published in 2001. The specification is SVG 1.1, and it is worth reading if the file has to outlive the tool that wrote it.

PNG comes from PNG Development Group and dates from 1996, specified as ISO/IEC 15948. Adobe Photoshop, GIMP and Paint.NET all read it.

SVG to PNG: size, fonts and transparency

Are my SVG files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is resvg, a strict SVG renderer written in Rust; your browser fetches it once and caches it.

What size will the PNG be?

1024 pixels across at the default scale of 1, whatever the SVG says about its own dimensions. The scale slider multiplies that: 0.5 gives 512, 2 gives 2048, and the ends of its travel are 0.1 and 10, so 102 and 10240. The height follows the drawing’s own proportions.

Does the transparent background survive?

Yes. Anything with no fill stays transparent in the PNG, so a logo drops onto any background without a white box around it.

Why does the text look wrong in the PNG?

Because the SVG asked for a font that is not embedded in it. SVG stores text as text and references a typeface by name, so anything not embedded falls back to a substitute. Converting the text to outlines in your design tool before exporting fixes it permanently.

Will it look the same in every browser?

Yes — the rendering is done by resvg rather than by your browser, so the result is identical everywhere. A canvas-based converter gives slightly different output in Chrome and Safari.

Can I export an app icon at 1024 pixels?

Yes, and at the default: scale 1 renders 1024 pixels across, which is the size the app stores ask for. It will be perfectly crisp, because the drawing is redrawn rather than enlarged. The slider stops at 10, so 10240 pixels is the widest the conversion goes.

Not sure which you need?

This page converts one into the other. If you are choosing rather than converting, SVG vs PNG answers which to use, for what, and what each is bad at.

More about these formats

Where these figures come from

The claims this page makes about SVG and PNG are checkable, and these are the documents that settle them.