SVG Optimizer

Shrink an SVG's file size — comments, metadata, precision.

About this tool

Shrinks an SVG file's size by stripping comments, editor metadata (like <title>/<desc> left over from design tools), extra whitespace, and rounding coordinate precision — all without changing how the image looks.

Everything runs locally in your browser — nothing is uploaded.

Frequently asked questions

Will this change how my SVG looks?
Visually, no — rounding coordinate precision to 2–3 decimal places (the default) is far below what's visible on screen. Going all the way down to 0 decimals on a very detailed/curvy path can occasionally introduce a tiny, usually imperceptible shift.
How does this compare to a dedicated tool like SVGO?
This covers the biggest, safest wins (comments, metadata, whitespace, coordinate precision) but isn't as exhaustive as a full SVGO pipeline, which can also merge paths, simplify shapes, and strip unused definitions. For most hand-exported or design-tool SVGs, this alone often cuts a large chunk of the file size.
Is my SVG uploaded anywhere?
No — optimization happens entirely in your browser.