SVG Optimizer & Minifier
Paste SVG code or open a file to strip out comments, metadata and editor data from Illustrator, Inkscape or Figma. Smaller SVGs make faster websites.
🔒 Everything you type stays in your browser. Nothing is sent to a server.
By Shah Rukh, software developer · Last updated:
What the optimizer removes
- XML declarations, comments and DOCTYPEs
<metadata>blocks and editor data from Inkscape, Sodipodi, Illustrator, Sketch and Affinity- Empty groups and unnecessary whitespace
It deliberately keeps paths and shapes exactly as they are, so the image never changes. Files exported from design apps often shrink by 20–60%.
The preview displays your SVG as an image, so any scripts inside it can’t run.
Frequently asked questions
Will optimizing change how my SVG looks?
No. Only non-visual data is removed. Paths and shapes are untouched.
Is this like SVGO?
It’s a lighter, safe clean-up. SVGO can shrink files further by rewriting paths.
Can I optimize several files?
One at a time for now. Open each file and download the result.
Related tools
QR Code Generator
Free QR codes for links, Wi-Fi, text and contacts.
Color Picker & Palette
HEX, RGB and HSL codes plus matching palettes.
Contrast Checker
Check WCAG AA/AAA colour contrast for text.
Base64 Encoder / Decoder
Encode or decode Base64 text (UTF-8 safe).
URL Encoder / Decoder
Percent-encode or decode URLs and query strings.
Binary / Hex Converter
Convert between binary, octal, decimal and hex.