RevealTheme logo

Otimizador de SVG

Remova metadados, comentários e espaços em branco desnecessários da marcação SVG.

Como usar esta ferramenta

  1. 1

    Paste your raw SVG markup into the input box.

  2. 2

    Read the byte count and percentage saved shown above the result.

  3. 3

    Review the minified SVG in the output box to confirm it still renders correctly.

  4. 4

    Click Copy to put the optimized markup on your clipboard.

O que é o Otimizador de SVG?

Os arquivos SVG exportados de ferramentas de design como Figma ou Illustrator costumam conter metadados do editor, declarações XML e namespaces prolixos de que os navegadores não precisam. Esta ferramenta os remove: a economia típica fica entre 20% e 60% do tamanho do arquivo, sem nenhuma diferença visual.

Casos de uso comuns

  • Shrinking icon SVGs exported from Figma before pasting them inline into a React or Vue component.

  • Cleaning up Illustrator output that ships with a verbose XML header and editor comments.

  • Reducing the size of small inline SVGs embedded directly in HTML to trim page weight.

  • Removing designer metadata and indentation before committing icons to a shared repo.

  • Quickly checking how many bytes a given SVG can save before reaching for a heavier build-time tool.

  • Tidying SVG snippets pasted into a CMS or email template where extra whitespace bloats the payload.

Perguntas frequentes

É tão bom quanto o SVGO?
O SVGO é mais agressivo (simplificação de paths, fusão de atributos). Esta ferramenta cuida das melhorias mais comuns —espaços em branco, comentários, cabeçalhos XML— instantaneamente no seu navegador.

Ferramentas relacionadas