SVG / Vector Optimizer
Processed in your browserOptimize SVG files by removing bloat, in your browser.
🗂️
Drop SVG files here
or click to browse — .svg files only
Options
Safe
Use with care
What happens to your file
Processed in your browser
- Your files are processed in this browser tab. They aren't sent to our servers or to anyone else.
- The tool's code comes from greatestfiletools.com, including fflate 0.8.3.
- Those libraries download the first time the tool needs them.
- Copies of your files and results aren't saved on this device, apart from what you download. The site stores your cookie choice, plus Google Analytics cookies if you accept them.
- If you accept analytics cookies, Google Analytics records your visit. It doesn't receive your files or file names.
Checked on October 17, 2026 in Chromium, Firefox and WebKit by an automated test that records the browser's requests while it processes sample files. How the check works.
Report a problem with this tool. Please don't attach files that contain personal information.
FAQ
Is my SVG file uploaded to a server?
No. Optimization runs in this browser tab using the browser's DOM parser and string processing. Your files aren't sent to our servers.
What does the optimizer remove?
You can choose to remove: comments, <metadata> elements, Inkscape, Sodipodi and Sketch editor elements, attributes and unused namespaces, empty <g> groups, the top-level <title> and <desc>, and redundant whitespace. It doesn't rewrite paths or shorten numbers the way a full optimizer does. For safety it always removes scripts, event handlers, <foreignObject> and links to other files or sites, including url() and @import in CSS.
Can I preview the SVG before downloading?
Yes. The tool renders a live preview of the optimized SVG alongside the original so you can compare visually before downloading.
Can I paste SVG code directly instead of uploading a file?
Yes. Use the Paste SVG tab to paste raw SVG markup. You can also drag and drop .svg files onto the drop zone.
Will the optimizer break my SVG?
The default settings remove comments, metadata, editor data, the XML declaration and DOCTYPE, empty groups and runs of whitespace between tags (not under xml:space="preserve"), and add a viewBox only when the SVG has a plain pixel width and height and no viewBox. Options like 'Remove <title> and <desc>' are opt-in. An SVG that uses scripts, or images, styles and files linked from elsewhere, will lose them. Preview the result before downloading.