ToolCabana

Converti SVG in PNG

Riproduce markup SVG sicuro come immagine PNG.

Favorites are saved in this browser. Find them in My favorites.

Converti SVG in PNG

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Come usare Converti SVG in PNG

SVG to PNG renders SVG markup you paste into a PNG image. The SVG is sanitized first, removing scripts, style elements and attributes, embedded images, links and animations. If the root svg element has no width or height, the tool uses 1200 by 800 pixels. Markup with a DTD, entities or more than 5,000 elements is rejected.

  1. Incolla l'origine nell'editor di input, oppure carica l'esempio integrato.
  2. Controlla il formato di origine prima di eseguire l'operazione.
  3. Esegui la conversione da SVG a PNG, esamina il risultato, poi usa i controlli disponibili per copiare o scaricare.

Cosa supporta questo strumento

Riproduce markup SVG sicuro come immagine PNG.

Limiti ed elaborazione

Le immagini sono limitate a 32 megapixel e 16.000 pixel per lato. La maggior parte delle operazioni accetta un'unica origine; le operazioni in batch supportate producono un archivio ZIP.

Origine di esempio
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="300" viewBox="0 0 400 300"><rect width="400" height="300" fill="#f5ede6"/><circle cx="200" cy="150" r="80" fill="#ed854b"/></svg>

Domande frequenti

How do I set the size of the PNG when converting SVG?

Add width and height attributes to the root svg element, and the PNG is rendered at those pixel dimensions. When an attribute is missing, the tool fills in 1200 for the width or 800 for the height before rendering.

Why does my SVG look different after converting to PNG?

The markup is sanitized before rendering. Style elements and style attributes, image and use references, foreignObject and animations are stripped, so artwork that depends on them renders without those parts. Presentation attributes such as fill and stroke are kept.

Why does SVG to PNG time out or fail?

Rendering stops after 8 seconds, and SVGs larger than 16,000 pixels per side or 32 megapixels are refused. Markup that is not valid SVG, or that contains a DOCTYPE or entities, also returns an error instead of an image.

Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

Quali sono i limiti di input?

Le immagini sono limitate a 32 megapixel e 16.000 pixel per lato. La maggior parte delle operazioni accetta un'unica origine; le operazioni in batch supportate producono un archivio ZIP.