SVGOMG.net

SVGO Plugin Guide

Long-form reference for every SVGO plugin exposed in SVGOMG.net. Each page explains what the transform does, when to enable it, and common pitfalls — with links back to SVGOMG.net.

Optimization topics

  • Remove metadata and editor noise

    Strip doctype, XML prolog, comments, metadata, and editor-specific attributes from SVG exports for smaller web-ready files.

  • Path and shape optimization

    Round path data, merge shapes, collapse groups, and remove off-canvas geometry to shrink complex Illustrator and Figma exports.

  • IDs, defs, and references

    Clean up ids, defs, gradients, and url(#…) references so unused definitions and duplicate IDs do not bloat your SVG.

  • Styles and CSS in SVG

    Merge, inline, and minify internal styles, or remove style blocks once rules are flattened onto elements.

  • Responsive SVG sizing

    Use viewBox and CSS-friendly dimensions: remove fixed width/height, round numeric values, and avoid breaking scalable icons.

  • Hidden and unused markup

    Remove hidden layers, empty containers, empty text nodes, and redundant stroke/fill attributes from design-tool exports.

  • Attributes and namespaces

    Normalize attributes, remove redundant namespaces, sort attributes, and drop unknown or default values.

  • Transforms that can break SVGs

    SVGO plugins that often cause layout, scaling, or embedded-content regressions — disable first when output looks wrong.

Popular plugins

All plugins (A–Z)