Toolpit
Loading your page…
Toolpit
Loading your page…
Strip bloat and minify SVG files.
No file to hand?(sample-logo.svg · made-up data)
Fewer decimals means smaller paths. Drop too far and curves start to visibly shift.
Strip out editor cruft, redundant metadata, and unnecessary precision to make your SVG dramatically smaller without changing how it looks. Paste or drop your SVG in and copy the optimized version straight back out — nothing is uploaded.
Paste your SVG markup, or drop in an .svg file.
Choose how aggressively to clean it, and compare before and after.
Copy the optimised markup or download the smaller file.
No. Toolpit does not upload your file for processing — the tool runs as code in this browser tab, works on the copy your browser opened, and forgets it when you close the tab. You can check this yourself: open your browser’s network panel and run the tool. You will see the page, its scripts and the ads on the site, and — when you save, if you are signed in — one small request that charges 10 tokens to your account. None of them carries your file, its name or anything read from it, because file processing stays on your device.
Editor metadata, comments, empty groups, unused definitions, default attribute values, and excess decimal places on coordinates. None of it affects how the image draws — an SVG exported from a design tool is often more than half bloat.
It can, in two specific cases: if your CSS or JavaScript targets ids and classes inside the SVG, or if the file relies on markup a cleaner considers redundant. Compare the preview, and if the SVG is scripted or styled from outside, keep ids intact.
It should not, and that is the whole design of it. What is removed is the parts that carry no visual information: editor metadata from Illustrator or Figma, comments, empty groups, unused definitions, and coordinates written to far more decimal places than any screen can show. The shapes, paths, colours and structure that decide the appearance are left alone.
Because it was already clean — an icon exported straight from a good tool, or one written by hand, has little to strip. The dramatic reductions come from files saved out of a full illustration program, which embed a great deal of their own bookkeeping. If the file is enormous and refuses to shrink, it usually contains a traced photograph: thousands of genuine path points, all of which are needed.
Yes, in any editor — it remains a valid SVG. What it loses is the editor’s private metadata, so a program that stored layer names or editable effect settings in the file will have forgotten them. Keep your working file and optimise a copy for the web, which is the habit worth having regardless.
Every one of these runs in your browser too — no upload, no watermark.