← All guides

How to Convert SVG to PNG (and When to Use Each)

imagessvgpngdesignvector

You have an SVG file. Maybe it’s a logo your designer sent. Maybe it’s an icon you found on a free SVG library. Maybe it’s something you exported from Figma or Illustrator. Now you need to put it somewhere that doesn’t support SVG — a Word doc, a PowerPoint slide, an old CMS, an email, a forum post — and it’s not working.

Convert it to PNG. Here’s how, and a quick primer on when SVG is the better choice in the first place.

The fastest way: convert in your browser

Use the SVG to PNG converter. Drop in your SVG, pick the output size, click convert. The PNG downloads.

The flow:

  1. Open the SVG to PNG tool
  2. Drag in your .svg file
  3. Choose the output dimensions (the SVG can be rendered at any size you want)
  4. Click convert
  5. Save the resulting PNG

Conversion is instant — it’s just rendering the SVG to a canvas at the specified size, then exporting that canvas as PNG.

Why SVGs are different from PNGs and JPGs

SVG stands for Scalable Vector Graphics. The difference from PNG and JPG isn’t about file format — it’s about what’s inside the file.

PNG and JPG files store pixels — a fixed grid of colored dots. A 800×600 PNG is literally 480,000 colored dots stored in a compressed way. Resize it and you either lose detail (smaller) or get blurry pixels (bigger).

SVG files store shapes — a set of geometric instructions like “draw a circle here at radius 50, fill with this color, then draw a curve from point A to point B.” When the browser displays an SVG, it follows those instructions to draw the shapes at whatever size you ask for. Make it 100px wide, the circle is small. Make it 10,000px wide, the circle is huge — and still perfectly sharp.

This is why SVG is great for logos, icons, illustrations, and diagrams. They look perfect at every size, from a 16×16 favicon to a billboard.

PNG (and JPG) are great for photographs and anything with the kind of complex, continuous-tone detail that doesn’t decompose into shapes — you can’t describe a photo of a face as “circles and curves,” so you store the actual pixels.

When to use SVG

  • Logos — almost always start as SVG, used as SVG on web, converted to PNG only when needed
  • Icons — small, simple, need to look crisp at multiple sizes
  • Illustrations with limited colors and clear shapes
  • Diagrams, charts, infographics — especially anything you might want to embed and zoom into
  • Anywhere on the web that supports it (which is basically everywhere modern)

When to use PNG instead

  • Anywhere SVG isn’t supported — old CMSes, email clients, Word/PowerPoint inserts (sort of works but flaky), forums, social media posts
  • When you need a fixed-resolution version to send to a printer, embed in a specific layout, or upload to a form
  • When you’ve added raster effects to the SVG (like drop shadows that render as bitmaps) and want to bake them in

The most common reason to convert SVG to PNG is the destination doesn’t support SVG. Once you know it doesn’t, you pick a target resolution and convert.

What resolution should I export at?

This is the key choice — SVGs are resolution-independent, so you have to choose a resolution when converting.

Rule of thumb: export at the size you’ll display the image at, multiplied by 2 (for retina/high-DPI screens).

Specific examples:

  • Logo for a 200px-wide website header → export at 400px wide. (At 2× for retina, the logo looks crisp; the browser scales it down to fit.)
  • Icon for a 48×48 button → export at 96×96 or 128×128.
  • Image for a printed flyer at 4×6 inches at 300 DPI → export at 1200×1800.
  • PowerPoint slide background at 1920×1080 → export at 1920×1080 (PowerPoint doesn’t do retina scaling).
  • Social media post → export at 2048px on the longest side (most platforms shrink and reencode, so giving them more pixels gives them more to work with).

When in doubt, export bigger than you need. PNGs scale down nicely; they don’t scale up. Bigger source = better-looking final result.

SVG to JPG instead of PNG?

You can — we have a SVG to JPG tool for it. But JPG handles graphics worse than PNG (compression artifacts around sharp edges, no transparency support, fundamentally lossy). For logos and icons, PNG is almost always the better choice.

Use SVG to JPG when:

  • The image has been combined with a photo backdrop in the SVG, so it now has photo-like content
  • File size matters more than crisp edges (rare for converted SVGs since they’re usually small anyway)
  • The destination specifically requires JPG and won’t accept PNG

For 95% of “I need this SVG as a normal image file” cases, PNG is what you want.

Common gotchas

Fonts not rendering. SVGs often reference fonts by name. If the font isn’t installed on your machine (or available as a web font in the browser context where the conversion happens), the browser falls back to a default font and the converted PNG looks wrong. Fix: in the SVG, “outline” the text before converting (turns the letters into shapes, removing the font dependency). Tools like Illustrator and Figma have an “Outline text” or “Flatten” option.

Embedded images come through differently. SVGs can embed other images (PNG/JPG) inside them. Those embedded images don’t scale infinitely — they’re already pixels. The PNG export at high resolution will scale them up, often blurring them. Fix: replace embedded raster images with vector versions, or accept that the embedded portions will look the same as if you just converted the embedded raster directly.

Transparency is preserved. PNG supports alpha transparency, so any transparent areas in your SVG (logos against a transparent background, for example) come through as transparent PNG. This is one of the big wins of PNG over JPG — JPG would force a solid background color.

SVG with animations or interactivity. SVGs can include CSS animations, JavaScript, mouseover effects. None of that survives a conversion to PNG — you get a static snapshot. If you need to preserve animation, convert to an animated GIF or WebP with a different tool (we don’t have that converter; ezgif.com works for one-offs).

When you receive a PNG and wish it were SVG

Going the other way (PNG → SVG) is much harder. PNG is pixels; SVG is shapes. Converting a pixel grid back into geometric shapes is a non-trivial computer vision problem called “tracing.” Some online tools do it (Vectorizer.io, Adobe Capture), but results are mixed. For simple high-contrast graphics (a logo on a clean background), tracing can work; for anything complex, you’d need to redraw it manually in vector software.

If you have a high-quality original PNG and need the icon at multiple sizes, you might just need PNG to JPG (smaller) or multiple sized exports rather than a true SVG. We don’t have a PNG-to-SVG tool because the quality of automatic tracing isn’t reliable enough to recommend.

Compressing the output

The PNG that comes out of SVG conversion can be larger than it needs to be — the converter renders at full quality without recompressing. Run it through the Image Compressor afterward to drop the file size (often by 50%+) without visible quality loss. Most apps and email clients are fine with 100 KB PNGs and not so fine with 2 MB ones.

TL;DR

  • SVG works in browsers and modern design tools — use it where supported
  • Need a PNG version for a destination that doesn’t support SVGSVG to PNG converter
  • Export at 2× the display size for retina/high-DPI sharpness
  • Compress the output with Image Compressor afterward
  • PNG to SVG is much harder — automatic tracing is unreliable, manual redraw is usually needed