Image ToolsFree Tool

SVGOMG (SVG Optimiser)

Provided bySVGOMGjakearchibald.github.io/svgomg

Web GUI for the SVGO optimiser — shrinks SVG files for production by stripping metadata, simplifying paths, and remov...

Screenshot of SVGOMG (SVG Optimiser) on SVGOMG
jakearchibald.github.io/svgomgOpen the live tool →
About this tool

What SVGOMG (SVG Optimiser) does

SVGOMG is a web-based interface for the SVGO optimiser that helps designers and developers shrink SVG files for production use. Users can paste or upload SVG markup and apply a range of optimisation steps to reduce file size. The tool strips metadata, simplifies paths, removes unused attributes, and offers granular control over what gets cleaned up, making it possible to achieve significant size reductions without manually editing code. What sets this particular site apart is its live comparison view and granular preset system. The interface shows a side-by-side original versus optimised preview, with a gzipped comparison toggle that lets users see how the file will compress in transit. A comprehensive checklist of over forty individual optimisation steps — from removing doctype and comments to converting non-eccentric ellipses to circles — lets users tailor the output precisely. Additional features like multipass optimisation, number precision controls, and the ability to prettify or inline styles give fine-grained results that go beyond a simple one-click shrink.

Step by step

How to use the SVGOMG SVGOMG (SVG Optimiser)

  1. 1

    Paste your SVG markup into the input field or upload an SVG file from your device

  2. 2

    Browse the list of optimisation steps and tick the ones you want applied, or use the preset options

  3. 3

    View the side-by-side comparison of original vs optimised markup in real time

  4. 4

    Toggle 'Show original' and 'Compare gzipped' to assess the before-and-after impact on file size

  5. 5

    Click 'Download' to save the optimised SVG, or copy the cleaned markup to use elsewhere

Is it right for you

Best for

Designers and developers who need to reduce SVG file size for web performance without losing essential markup, especially those who want visual comparison and fine control over which elements are stripped.

Limitations

  • Requires internet connection as a web-based tool
  • Optimisation results depend on user-selected settings; aggressive cleaning may remove intentional comments or metadata
  • Large or complex SVG files may take longer to process in the browser
Questions

SVGOMG (SVG Optimiser) FAQ

Will SVGOMG remove my viewBox or essential attributes?
SVGOMG keeps viewBox by default unless you explicitly choose to remove it. You can selectively enable or disable individual optimisation steps, so you retain control over which attributes are stripped.
Can I preview the optimised SVG before downloading?
Yes, the tool provides a side-by-side comparison view that shows the original markup alongside the optimised version, and you can toggle a gzipped compression preview to see real-world file size impact.
Is there a limit on file size or number of optimisations?
The tool runs entirely in the browser, so very large SVG files may process more slowly, but there is no stated file size limit. Each optimisation step can be applied independently, allowing multiple passes if needed.
Does SVGOMG work offline?
No, SVGOMG is a web application hosted at jakearchibald.github.io/svgomg and requires an active internet connection to function.
Keep Exploring

Similar tools

Based on shared tags