SVG optimizer
Strip fluff from an SVG and download a smaller file. Nothing is uploaded.
Runs in this tab. The file stays here.
This runs in your browser. Nothing is uploaded.
About SVG optimizer
Strips comments, metadata, and excess precision from an SVG you drop here, then lets you download the smaller file. No upload.
Exported SVGs from design tools carry comments, editor metadata, and too many decimal places. This page runs a local optimizer—whitespace collapse, comment stripping, number rounding—so the file shrinks without a trip through an upload form.
It is not a full SVGO plugin ecosystem. Aggressive path rewriting can break some artwork; if the preview looks wrong, keep the original. Always glance at the before/after byte sizes and the rendered preview before you commit the file to production.
Only SVG is accepted. Raster compression belongs under Compress.
Edge cases include SVGs with embedded scripts, foreignObject HTML, filters that depend on sub-pixel coordinates, and icons that look identical at 16px but break when paths are merged. Some Figma exports reference editor-specific attributes this pass will strip. Animations and SMIL may survive or may not depending on the optimizer path; check motion in the preview.
The file bytes never leave your machine. Client logos, unreleased UI assets, and internal icon sets are decoded and rewritten in the tab. There is no “optimize my SVG” upload queue on a server. Download the result when the preview matches what you expect, and keep the original SVG in version control until you are sure.
How to use SVG optimizer
- 1Drop an .svg file onto the workbench.
- 2Review the optimized preview and size delta.
- 3Download the cleaned SVG.
What it won't do
- Conservative optimization, not every SVGO plugin.
- SVG input only; raster formats belong under Compress or Convert.
Common questions
Is this SVGO in the browser?
It may use SVGO when the bundle allows; otherwise a conservative hand-rolled pass. Either way, bytes stay local.
Can optimization break my icon?
Yes, on exotic filters or editor-specific markup. Keep a backup.
Do you convert SVG to PNG here?
No. Use Convert → SVG to PNG for rasterization.
Will optimization always make the file smaller?
Usually, but not always. Already-minimal icons may shrink by only a few bytes. If size grows, keep the original.
Related tools
Why this one doesn't upload your file
There is no server to upload to. This page is a static file, and the work happens in your browser using the same graphics and WebAssembly code that renders every other site you visit. Your file is read from disk into memory, processed, and handed back as a download. Once the page has loaded you can disconnect from the network entirely and it keeps working. The longer explanation