HexaConverter
svgpng

Convert SVG to PNG

Free online converter for SVG files. Lossless raster format with alpha transparency. Nothing to install, no watermark, and every file is deleted automatically.

Drag and drop your files

or

Upload a SVG file to convert it to PNG. Up to 3 files at once, 100 MB each.

Free · up to 3 files · 100 MB each · files deleted automatically after 1 hour.

About SVG and PNG

SVG .svg

Not pixels at all — an XML text file describing shapes, paths and text. A renderer draws it fresh at whatever size is asked for, so it is sharp at every scale.

Good for

  • Resolution independent — identical on a watch and a billboard
  • Tiny for logos, icons and diagrams
  • Editable as text, and styleable with CSS

Trade-offs

  • Cannot represent a photograph in any useful way
  • Complex artwork can render slowly
  • Converting a photo *to* SVG does not vectorise it

image/svg+xml

PNG .png

A lossless image format built for graphics rather than photographs. Every pixel it stores comes back exactly as it went in, and it carries a full alpha channel for transparency.

Good for

  • Lossless — no generation loss no matter how often you re-save
  • Full 8-bit alpha, so edges blend cleanly over any background
  • Sharp on text, screenshots, logos and line art

Trade-offs

  • Much larger than JPEG for photographs
  • No animation in the baseline format
  • Large photographic PNGs are slow to transfer

image/png

SVG and PNG side by side

SVG compared with PNG
SVGPNG
CompressionVector — text, not pixelsLossless
TransparencyYesYes — 8-bit alpha
AnimationYes — via CSS or SMILNo
Typically used forLogos, icons, diagrams, illustrationsScreenshots, logos, UI assets, anything with transparency

What changes when you convert SVG to PNG

Scalability is lost here

SVG describes shapes, so it is sharp at any size. PNG is a fixed grid of pixels. Once converted, enlarging the result will blur it — so choose the output size before converting, not after, and pick the largest size you will ever need.

How the PNG is written

Our default is maximum compression with adaptive filtering, and fully lossless — lowering the quality dial is what switches PNG to a 256-colour palette, and it is at 100 unless you move it. The quality control on the converter moves this if you need to — the default aims to be indistinguishable from the source at a sensible file size, rather than to win a compression benchmark.

Something has to choose the size

An SVG has no pixel dimensions of its own — it is a description of shapes that can be drawn at any scale. Rendering it to PNG means picking one. We use the size declared in the file, and fall back to 1024 pixels wide when it declares none. Set the width explicitly if the result is destined for print or a high-density screen.

Fonts and linked files are not fetched

An SVG that names a font it does not embed relies on the renderer having that font, and an SVG that links to an external image relies on that link resolving. Neither is fetched from the network during conversion — for safety, since it would mean a converted file could make requests on your behalf. If the artwork depends on either, convert the text to outlines and embed the images before uploading.

SVG to PNG questions