⚡
usefultools.dev
PNG

SVG to PNG Converter

NOUVEAU

Convert SVG code or files to PNG at any size or scale, with a transparent or solid background.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

Or paste the SVG code below. Nothing is uploaded.

⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Scale
viewBox="0 0 120 80" at 2×
240 × 160 px PNG
Units
width="2in" height="1in" at 1×
192 × 96 px (96 px per inch)
viewBox
viewBox="0 0 100 50" at 3×
300 × 150 px PNG
JPG
JPG with a transparent background
Transparent areas become white
Warning
href="https://example.com/photo.jpg" inside the SVG
Warning: external resources will not load
📖

Présentation

SVG is a vector format that stays sharp at any size, but many places — social networks, email clients, app stores, slide decks and older software — only accept raster images such as PNG. This SVG to PNG converter turns SVG code or an .svg file into a PNG (or JPG or WebP) at exactly the size you need.

Choose a scale such as 2× or 4× for crisp high-resolution output, or type an exact width and height with the aspect ratio locked. Missing width and height attributes are handled for you: the size is taken from the viewBox or, when there is none, measured from the drawing itself. Pick a transparent background or any solid colour.

The SVG is rendered by your own browser and drawn on a canvas, so your artwork is never uploaded. Because browsers block external files when drawing an SVG as an image, the tool warns you about linked images, fonts and stylesheets that will not appear.

Pourquoi utiliser cet outil ?

  • Create PNG icons, logos and illustrations from SVG without design software
  • Exact pixel size or 0.5×–8× scale for sharp results on retina screens
  • Transparent PNG or a solid background colour
  • Warnings for external resources that will not render
  • Private — conversion happens locally in your browser
⭐

Fonctionnalités

📋

Paste or upload

Paste SVG code or load an .svg file; a sample is included to try it out.

📐

Scale or exact size

Multiply the original size or set width and height with an aspect-ratio lock.

🔍

Smart size detection

Reads width/height with units, falls back to the viewBox, then to the measured content.

🎨

Background control

Transparent by default, or fill with any colour — JPG always uses a solid fill.

⚠️

Resource warnings

Flags external images, fonts, stylesheets and foreignObject that browsers will not render.

💾

PNG, JPG or WebP

Choose the output format and quality, with a live preview and file size.

🛠️

Mode d'emploi

1

Add your SVG

Upload an .svg file or paste the SVG code into the box.

2

Set the size

Pick a scale (0.5×–8×) or switch to Exact W × H and enter the pixel dimensions.

3

Choose background and format

Keep it transparent for a PNG, or choose a colour; select PNG, JPG or WebP.

4

Download

Check the preview and download the image.

🤔

Questions fréquentes