Adjust optimization

Start with a preset, adjust individual options if needed, then compare the artwork.

Choose an optimization preset

  • Gentle largely preserves IDs, structure and descriptive content. It is a cautious starting point.
  • Balanced uses the established SVGOMG defaults.
  • Compact rounds more aggressively and removes fixed dimensions for flexible web graphics.

Even Gentle cannot guarantee identical rendering for every SVG. External CSS, scripts or animations may depend on IDs, groups or styles. Choose Optimization → Reset settings to restore the defaults.

Find individual optimizations

The right panel contains 48 options grouped under Document, Styles & Colors, Geometry, Structure and Advanced. Use the checkbox on the left to enable or disable an option. Counters show how many options are active.

Use the arrow tab on the right edge or press ⌥⌘0 to show or hide the optimization sidebar. ⌘F opens the sidebar and focuses Find optimization. Enter a search term and expand a group if needed. Esc exits or clears the active search. Use the information button beside an option or hover over it to learn what it does.

Under Document → Remove data attributes, you can remove extra attributes such as data-name="Layer 1", data-id or data-layer. This option is off by default and can be saved in custom presets. Enable it only when CSS and scripts do not depend on these attributes.

Precision and repeated optimization

Numeric precision controls numeric rounding; Transform precision controls transformation precision. Lower values can reduce size but may change curves, spacing or positions. Higher values retain more detail. If unsure, start with the defaults of 3 and 5.

Optimize multiple times lets the engine perform repeated optimization passes to find further savings. This may take longer. An already well-optimized file will not necessarily become smaller.