SVG Optimizer
Minify and clean SVG files — remove comments, metadata, unused IDs, and whitespace.
520 bytes
155 bytes
-70.2%
size reduction
-365 B
bytes saved
520 → 155
bytes
What this SVG optimizer removes
This tool applies a set of safe, lossless transformations to reduce SVG file size: stripping XML declarations, HTML comments, <title>, <desc>, and <metadata> blocks (which browsers ignore), removing redundant attributes like version and xmlns:xlink when not used, dropping data-* attributes added by design tools, and collapsing whitespace between elements. Unreferenced id attributes (not used in url(#...) or href) are also stripped.
For full optimization, consider SVGO. For converting SVG to other formats, try Image Converter or Base64 Image Encoder.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.