svg-optimizer
/// IMAGES
SVG Optimizer
Safely sanitize and minify SVG files by stripping XML comments, editor metadata, non-rendering tags, scripts, and redundant whitespace. Compares byte sizes with live preview and safe download.
File processed locally. No upload.
Drop an SVG file here or click to browse
Or paste markup directly into the editor below · 100% processed in browser
Optimization & Security Rules
Safe Static OutputOriginal Size
814 B
Optimized Size
431 B
Savings
-47.1% (383 B)
Applied Optimizations:
Stripped XML commentsRemoved non-rendering metadata and descriptionsCleaned Inkscape, Sodipodi, Sketch, and Adobe editor metadataRemoved empty <g> and <defs> containersCollapsed redundant whitespace and formatting tabs
Sandboxed Visual RenderSafe static rendering
Security & Static Asset Notice
This optimizer strips executable scripts, event handlers, and remote references to ensure that downloaded files are clean and safe for web delivery. The resulting file is a safe static vector; interactive animations or JavaScript triggers are deliberately eliminated.
// Runs entirely in your browser. Nothing is uploaded, nothing is stored, and it keeps working with the network off.