🖼️ Image Tools

SVG to PNG Converter

Turn an SVG into a crisp PNG at exactly the size you need.

  • Any widthsharp output
  • Transparentor colour background
  • PasteSVG code
  • viewBoxproportions kept
Background

How to use the SVG to PNG

  1. 1

    Add an SVG

    Drop a file or paste SVG code.

  2. 2

    Set the width

    Height follows the SVG’s proportions.

  3. 3

    Choose the background

    Transparent or a solid colour.

  4. 4

    Download the PNG

    Rendered fresh at your chosen size.

Features

Sharp at any size

The vector is redrawn, not upscaled.

Transparency

Keep a transparent background.

Paste code

Convert SVG snippets directly.

Correct proportions

Height from the viewBox.

Background colour

For places that need a solid fill.

Never uploaded

Images are processed in your browser and never leave your device.

Who uses it — and for what

Social media

Upload logos where SVG isn’t accepted.

Office documents

Logos for Word and PowerPoint.

App stores

Icon PNGs at required sizes.

Email

Most email clients don’t display SVG.

Why convert SVG to PNG?

SVG is a vector format: shapes are stored as maths, so they stay sharp at any size and files are tiny. But many places don’t accept SVG — social networks, most email clients, Microsoft Office on older versions, app stores and many CMS upload fields. PNG is a universal raster format with transparency support. Because the SVG is drawn fresh at the width you choose, a 4096-pixel PNG of a logo is as sharp as a 64-pixel icon — no blurry upscaling.

Tips

The height is calculated from the SVG’s viewBox so proportions are preserved. If your SVG uses web fonts, convert text to outlines in your design tool first, otherwise a fallback font may be used. External images linked inside an SVG cannot be loaded for security reasons; embedded images work.

The file is processed by your own browser — it is never uploaded to a server, so private photos and documents stay on your device. There are no daily limits, no sign-up and no watermark.

Fonts and external images

Text in an SVG uses fonts installed on the viewing device. If the font isn’t available, a fallback is drawn — convert text to outlines in your design tool before exporting. External images linked from an SVG are blocked for security; embed them in the SVG instead.

Exporting at 1×, 2× and 3×

Screens differ in how many physical pixels they pack into one CSS pixel — the device pixel ratio. A PNG that is exactly the displayed size looks soft on a 2× or 3× phone screen. The usual approach is to export several sizes and let the browser or app choose:

Display size1×2×3×
24 px icon244872
60 pt iOS app icon60120180
200 px logo200400600

Type each width in turn and download; the height follows the SVG’s proportions automatically.

Why the transparent PNG looks right on any background

When the background is set to Transparent, the canvas starts empty and only the SVG’s shapes are painted. The smooth edges of curves and text become partly transparent pixels, so the PNG blends correctly on white, black or a photo. Choose Colour only when the destination can’t handle transparency — some email templates, older document tools and app-store screenshots — and pick the exact colour of where it will sit. Remember the PNG is a fixed-size snapshot: if the SVG contains CSS animation or hover styles, only one static state is drawn.

Worked examples

An app icon at 1024 px

Width 1024, transparent background — perfectly sharp.

A logo for a dark slide

Keep transparency so the slide colour shows around it.

Android icon sizes from one SVG

Android sizes icons in density-independent pixels (dp). A 24 dp icon needs 24, 36, 48, 72 and 96 px versions for the mdpi, hdpi, xhdpi, xxhdpi and xxxhdpi screen buckets (1×, 1.5×, 2×, 3× and 4×). Run the conversion five times with those widths and a transparent background.

Retina images for a website

If a logo is displayed 200 px wide in your CSS, export it at 400 px (2×) and, for phones with very dense screens, 600 px (3×). Each version is drawn fresh from the vectors, so none of them is an upscaled copy of another.

Pro tips

  • Export at 2× the display size for crisp retina screens.
  • Optimise SVGs first with the SVG Optimizer.
  • Use SVG to JPG when transparency isn’t needed.
  • Keep the original SVG — re-export a new PNG whenever you need another size instead of resizing an old PNG.
  • If the converter reports that the SVG could not be drawn, check that the code starts with an <svg> element and has no external references.

Glossary

SVG
Scalable Vector Graphics.
viewBox
The coordinate area that defines an SVG’s proportions.
Rasterize
Render vector shapes into pixels.
Device pixel ratio
How many physical screen pixels make up one CSS pixel — 2 or 3 on most modern phones.
dp (density-independent pixel)
Android’s unit of size; 1 dp equals 1 px on a baseline 160-dpi screen.
@2x
A naming convention for an image exported at double the display size.

Frequently asked questions

Is the background transparent?

Yes by default. Choose “Colour” to fill it, for example with white.

What size should I export?

512 px for app icons, 1024–2048 px for logos on websites, and 4096 px for print.

Can I paste SVG code?

Yes — paste the markup into the text box.

What is the maximum size?

Very large widths depend on your browser’s canvas limits; 4096 px works on most devices.

Are animations kept?

No, the PNG is a still image of the SVG.

Can I make a favicon from my SVG logo?

Export a large square PNG here (512 px or more), then use the Favicon Generator or PNG to ICO converter to create the icon files.

Why does my PNG look blurry on my phone?

It was probably exported at 1× size. Export at 2× or 3× the displayed width.

Found it useful? Share the SVG to PNG:

Last updated 2026-11-21 · Built by Vinayak Agarwal · Part of Image Tools (36 tools)