Skip to main content
>_devtools

SVG Optimizer

Shrink SVG files with SVGO: remove editor metadata, round numbers, simplify paths. Compare before and after, with toggles for ids, viewBox and precision.

How to use it

Shrink SVG files with SVGO: remove editor metadata, round numbers, simplify paths. Compare before and after, with toggles for ids, viewBox and precision. Paste an SVG above and choose which safe optimization passes to keep.

Example

Input: <svg width="24" height="24" viewBox="0 0 24 24"><path d="M1 1 L23 23"/></svg>
Output: The optimizer removes redundant markup while preserving the drawing.

Limits and behavior

  • Preview the result before using it; some optimization passes remove metadata or ids.
  • Input is limited to 1 MiB of UTF-8 text.