SVG Viewer & Optimizer
Preview SVG files, inspect the source code, and clean up unnecessary bloat.
About SVG Optimization
SVG (Scalable Vector Graphics) files exported from tools like Adobe Illustrator, Figma, Sketch, and Inkscape often contain significant amounts of unnecessary metadata: editor-specific tags, XML namespaces that aren't used, comments, excessive decimal precision, empty groups, and whitespace. These bloat the file size without contributing to the rendered output. For web use especially, smaller SVGs mean faster page loads and less bandwidth.
This optimizer performs a series of safe cleaning operations: it strips XML comments, removes metadata and title tags (which are invisible to users), collapses redundant whitespace, removes default attribute values, and trims unnecessary decimal precision. The result is a smaller, cleaner SVG that renders identically. All processing happens locally in your browser โ your SVG is never uploaded to any server.
How to Use
- Upload an .svg file by dropping it or clicking the upload zone, or paste SVG code directly.
- The Preview tab shows the rendered graphic; Source shows the original code.
- Click the โจ Optimised tab to see the cleaned version with a file-size comparison.
- Download the original or optimised SVG, or copy the optimised code to your clipboard.