Guide · File Tools / Archive & File
About SVG Cleaner & Size Optimizer
Strip XML prologs, editor comments, Illustrator/Figma/Inkscape metadata blocks, empty groups, and redundant whitespace from raw SVG code.
When to use this tool
Shrinks exported vector icons cleanly before inlining SVGs into React components or CSS backgrounds.
How to use SVG Cleaner & Size Optimizer
- Upload an .svg file or paste SVG markup into Raw SVG Markup.
- Run optimization to inspect byte reduction % and copy or download the cleaned SVG.
Supported inputs, options, and outputs
- Input: Raw .svg file or markup text.
- Outputs: Original vs cleaned byte metrics, percentage saved, and downloadable cleaned .svg.
Accuracy notes and limitations
- Performs safe regex/structural cleanup (metadata, comments, whitespace) rather than full floating-point path geometry simplification or curve merging like SVGO.
- Inspect optimized output visually if the source SVG depends on editor-namespaced custom attributes.
Privacy and browser processing
PDFs, archives, binary files, and metadata stay strictly inside browser memory via pdf-lib, DataView, and Web Crypto—zero files are transmitted to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all File Tools.