SVG to PNG Converter

Rasterise an SVG into a PNG at its natural size, keeping transparency, for places that need a fixed-resolution image instead of vector code.

Image Tools● Free No upload Instant

Loading SVG to PNG Converter…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

Drop in an SVG and it is rasterised to a PNG at the SVG's natural size, with transparency preserved. Vector code becomes a fixed-resolution image you can use where an SVG is not accepted. One caveat: if the SVG has no width and height attributes, the browser falls back to 300 by 150 pixels, so set those for the size you want. Your browser does the conversion.

What the SVG to PNG Converter does

An SVG is vector code: shapes described by maths, so they stay sharp at any size. A PNG is a fixed grid of pixels. This tool rasterises the SVG: it renders the vector at a set size and freezes it into a PNG, which you can use anywhere a vector file is not accepted.

Transparency is kept, because PNG supports an alpha channel. The output is lossless, so the PNG keeps the shapes as the browser drew them.

How it works

Drop or pick an SVG. The browser renders it and reports its natural width and height.

It is drawn onto a canvas at that size and exported as a PNG. There is no white background, so transparent areas stay transparent.

Download the PNG. The SVG is never uploaded, and the canvas export carries no metadata.

Processing pipeline

  1. Load the SVG. Your browser renders the SVG file on your device.
  2. Read its natural size. The width and height come from the SVG's attributes, or a 300 by 150 fallback if none are set.
  3. Draw to a canvas. The rendered vector is painted onto a canvas at that size.
  4. Export the PNG. The canvas is saved as a lossless PNG with transparency preserved.

Privacy

Your browser renders and converts the SVG and never uploads it. No server is involved.

An SVG can contain scripts, but because it is drawn through an image element rather than embedded as live markup, those scripts do not run. The conversion is inert and local.

No account, no stored copy; the PNG exists only on your device.

Technical details

InputSVG
OutputPNG (lossless)
Output sizeSVG's natural size (or 300 by 150 fallback)
TransparencyPreserved
Scaling controlNone (uses the intrinsic size)
MetadataNone carried
Processing100% in-browser

Standards & references

  • SVG (vector): Scalable Vector Graphics describe images as shapes and paths, so they render crisply at any size until rasterised.
  • Intrinsic sizing: A rasteriser reads the SVG's width and height; if both are missing it falls back to a default, which in browsers is 300 by 150 pixels.

Accuracy and limits

The output PNG is the SVG's natural size. If the SVG declares width and height, that is what you get; if it only has a viewBox, the browser derives a size; if neither is set, it falls back to 300 by 150, which is the most common reason an SVG comes out smaller than expected.

There is no size or scale control in this tool. To get a larger PNG, set the width and height on the SVG first, then convert. Rendering at the target size keeps the result crisp, where enlarging the PNG afterwards would blur it.

Rasterising is one-way: once the SVG is a PNG it is fixed-resolution and loses the vector's infinite scalability. Convert at the size you actually need.

External resources the SVG references, such as fonts that are not embedded or linked images, may not appear in the PNG. Embed them in the SVG for a complete render.

Where people use it

Use a logo where SVG is rejected

Turn a vector logo into a PNG for a tool, document or platform that does not accept SVG.

Social and email images

Produce a raster version for places that strip or block SVG for security.

Fixed-size export

Freeze an icon at a specific size after setting its width and height.

Preview a vector as an image

Get a quick PNG snapshot of how an SVG renders.

When it fits, and when it doesn't

Good for

  • Getting a raster PNG from vector code
  • Keeping transparency from the SVG
  • Using artwork where SVG is not accepted

Not the best choice for

  • Keeping infinite scalability, which rasterising loses
  • A precise output size, since there is no scale control here
  • SVGs that rely on external, non-embedded resources

For a specific output size, set the SVG's width and height before converting; to keep vector scalability, use the SVG itself rather than a PNG.

Frequently asked questions

What does rasterising an SVG mean?
It means rendering the vector shapes into a fixed grid of pixels, here a PNG. The SVG describes the image mathematically; rasterising freezes it at one resolution so it can be used as an ordinary image.
What size will the PNG be?
The SVG's natural size. If it has width and height attributes, those are used; if only a viewBox is present, the browser derives a size; if nothing is set, it falls back to 300 by 150 pixels.
Why did my PNG come out small or at 300 by 150?
The SVG has no explicit width and height, so the browser used its default size. Add width and height attributes to the SVG and convert again to get the size you want.
Can I choose the output resolution?
Not directly in this tool. It renders at the SVG's intrinsic size. To get a bigger PNG, set the SVG's width and height first, then convert, so it is rendered crisply at that size.
Does it keep transparency?
Yes. The PNG keeps the SVG's transparent areas, because no background is added and PNG supports an alpha channel.
Is the PNG lossless?
Yes. PNG is a lossless format, so the shapes are saved as drawn, with no compression artefacts.
Why convert vector to raster at all?
Some tools, platforms and documents do not accept SVG, or block it for security. A PNG works everywhere an image is allowed, at the cost of the SVG's scalability.
Are SVG scripts a security risk here?
No. The SVG is drawn through an image element, which does not run embedded scripts, and the whole conversion is local. Nothing executes or is uploaded.
Why is my text missing or wrong in the PNG?
If the SVG uses a font that is not embedded, the browser may substitute or drop it. Embed the font or convert the text to paths in the SVG before converting.
Can I convert PNG back to SVG here?
No. This goes one way, vector to raster. Turning a PNG into a true vector needs tracing, which is a different process.
Is my SVG uploaded?
No. Your browser renders and converts it with no server involved, and the site stores nothing.
Does the PNG carry any metadata?
No. The canvas export writes only pixels, so the PNG has no metadata.

References

Draws the SVG onto a canvas at its intrinsic size and exports a lossless PNG with transparency preserved; if the SVG has no width and height set, the browser falls back to 300 by 150, so declare those for predictable output. All local, nothing uploaded.

PopularHot

Image Compressor

Drag the quality slider and watch the JPEG size drop.

ImageOpen
PopularNo Upload

Image Resizer

Set exact pixel dimensions with the aspect ratio locked.

ImageOpen
Popular

Image Cropper

Drag a box and keep only that part of the picture.

ImageOpen
Popular

Favicon Generator

Make 16, 32 and 180 pixel favicon PNGs from one image.

ImageOpen
Popular

Image to PDF

Put JPGs or PNGs into one PDF, one image per page.

ImageOpen
Trending

PNG to WebP Converter

Shrink a PNG to WebP and keep the transparency.

ImageOpen

Back to the SVG to PNG Converter

Your image stays on this device. There's no account and no charge.