Optimizador SVG online gratuito
El Optimizador SVG limpia y minifica el marcado SVG eliminando comentarios, metadatos, residuos del editor y atributos innecesarios. Los archivos SVG más pequeños cargan más rápido y son más fáciles de incrustar en línea.
The optimised result can be embedded with the SVG to Base64 Converter or rasterised with the SVG to PNG Converter. To review the colours it uses, the Color Palette Extractor is the tool.
Cómo usar Optimizador de SVG
- 1 Paste the SVG markup, or drop an `.svg` file.
- 2 Inspect the findings: this shows what the optimiser intends to remove before it does anything.
- 3 Apply the clean-up. Editor metadata, comments, empty groups and default-valued attributes are stripped, and coordinates are rounded.
- 4 Copy the result or download it, then check the image still renders as expected.
Cómo usarlo
Pega tu marcado SVG y haz clic en Optimizar. El SVG limpio y minificado aparece debajo con una comparación de tamaño, listo para copiar o descargar.
- Elimina comentarios y bloques de metadatos
- Suprime atributos específicos del editor
- Colapsa el exceso de espacios en blanco
- Redondeo de números de path opcional
- Muestra los tamaños antes y después
¿Por qué optimizar SVG?
Los SVG exportados a menudo llevan metadatos del editor y comentarios que añaden kilobytes sin cambiar el aspecto de la ilustración. Eliminarlos reduce el tamaño de transferencia y mantiene los SVG en línea ordenados.
Preguntas frecuentes
What is actually taking up the space in an unoptimised SVG?
Usually three things. Editor metadata from Illustrator, Figma or Inkscape, which records the application name, a timestamp and often a full layer tree that nothing renders. Precision, where coordinates are stored as `123.456789` when `123.46` is visually identical. And redundancy — groups wrapping a single element, and attributes set to the value they already default to.
Is rounding coordinates ever visible?
Occasionally, on very detailed artwork viewed at large size. Rounding to two decimals is invisible for essentially any drawing that will be displayed at ordinary scale. If a path looks subtly wrong after optimising, the precision setting was too aggressive for that file — restore the original and use a lighter pass.
Can optimising break an animation or a script?
It can, which is why the tool reports what it is about to remove. If the SVG contains `<animate>` elements, event handlers or `<script>` tags, those are functional rather than decorative and stripping them changes behaviour. Check the preview after every pass on an animated file rather than trusting the size saving.
Herramientas de imagen y color relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Optimizador de SVG: