Designer and Frontend Tool
SVG Vector Optimizer & Code Extractor
Drop an SVG file or paste markup directly. The tool removes metadata, comments, design-tool attributes, and extra whitespace, then shows exactly how much file size you saved.
Drop an SVG file here
You can also click to select a file. Optimization runs entirely in this browser.
Optimization settings
Optimize SVG online without uploading files
This SVG optimizer helps designers and frontend developers compress SVG, minify SVG, clean SVG code, remove editor metadata, and prepare copy-ready vector markup for production websites. Paste SVG code or upload an SVG file, then compare the original and optimized output.
The optimizer runs locally in your browser, so icons, logos, illustrations, and client assets are not uploaded. Use it to remove comments, metadata, hidden elements, editor attributes, and excessive precision while keeping important viewBox information.
Private SVG cleanup
SVG code is parsed and optimized in the current browser tab. Files are not uploaded to a server.