Reduce SVG file size by up to 80% without quality loss; with live preview, advanced settings, and cleanup of unnecessary code to improve site loading speed and SEO.
Drag and drop your SVG file here
Or click to select a file
Input
Input preview
Optimized Output
Output preview
Advanced Optimization Settings
Original Size
-
Final Size
-
Reduction
-
This file was already optimized — there was nothing further to remove.
About This Tool
SVG files exported from Illustrator, Figma and Inkscape are full of things that play no part in drawing the image: editor metadata, comments, empty groups and numbers with ten decimal places. This tool clears them out and leaves the artwork looking identical. No installation, no sign-up.
You need it when you are slimming down a theme's icon set, inlining a logo in your HTML and do not want a thousand lines of code sitting in the middle of the page, or when a designer hands over a file whose size makes no sense for a simple icon.
Drag in a .svg file or paste the code directly; the output is rebuilt as you go and the before and after previews sit side by side so you can confirm nothing broke. Original size, final size and reduction percentage appear below, and the result can be copied or downloaded. The files never leave your device.
Frequently Asked Questions
How do I optimize my file?
Drag the .svg onto the box above or click to pick it. You can also paste SVG code straight into the input box. Optimization runs on its own — there is no button to press.
Does the image look different afterwards?
Not with the default settings. The before and after previews sit side by side so you can compare. If you do spot a difference, switch off the advanced options one at a time to find the culprit.
What is the downloaded file called?
If you loaded a file, _optimized is appended to its name, so logo.svg becomes logo_optimized.svg. If you pasted code, it saves as optimized.svg.
What do the advanced settings do, and which are off?
Each option controls one kind of cleanup. Most are on from the start and three are deliberately off: remove ViewBox, clean up IDs, and remove dimensions. Those three break the image in certain uses, so only turn them on when you know what you want.
When should I enable remove dimensions or remove ViewBox?
If you inline the SVG in HTML and size it with CSS, remove dimensions strips the fixed width and height so your own class controls the scale. Remove ViewBox is the risky one: without it the image no longer scales and gets cropped at other sizes.
When does cleaning up IDs cause trouble?
When CSS or JavaScript reaches into part of the image, or an animation targets a specific path. The option shortens those names and the references stop working, so it is harmless for a plain icon and dangerous for animated artwork.
Are the title and description removed too?
Yes, remove title and remove description are both on by default. If the image needs a title for accessibility, switch those off or add an aria-label yourself afterwards.
It says the file was already optimized — what does that mean?
Nothing was left to remove. That is normal for icons that came from an already-optimized library and is not a sign of a problem.
It says the optimizer is still loading, what do I do?
Try again in a moment. The message only shows in the first seconds after the page opens, on a slow connection.
Why did my file shrink so little?
In files with many shapes and complex paths, such as maps and traced images, most of the weight is the path data itself and that cannot be thrown away. The biggest savings come from raw design-tool exports.
How many files at once?
One at a time. The next file you drop replaces the previous one, so copy or download each result before moving on.
Do you have a tool for turning a bitmap into SVG?
Yes. The PNG to SVG converter traces a bitmap into vector paths, and you can optimize its output right here.
Is my file uploaded anywhere?
No. The files never leave your device and all the work happens there.