Clean and shrink SVG markup by removing comments, metadata, and unused IDs.
Quick Answer
SVG Optimizer & Path Cleaner lets you: Clean and shrink SVG markup by removing comments, metadata, and unused IDs. To start, paste SVG markup directly, or upload an .svg file.
Paste SVG markup directly, or upload an .svg file.
Toggle comment removal, metadata stripping, unused ID cleanup, and precision rounding.
See the size saved and preview before/after, then copy or download the optimized SVG.
Drag & drop an .svg file here, or click to browse
Or paste raw SVG markup into the box above