Optimise SVG
An SVG exported from a drawing program carries far more than the drawing: comments, editor metadata, numbers with twelve decimals, empty groups. Here they go, and what you see stays the same.
Your file stays on your device: nothing is uploaded
How it works
The file is rewritten in a more compact form: out go comments, leftovers from the drawing program and definitions nobody uses. What stays is the proportions, the size and the titles — everything that makes the drawing behave as before. How much you gain depends on how it was exported: from a drawing program up to 70 %, from an already optimised file nothing — and in that case you get your original back, unless you asked for scripts to be stripped.
Frequently asked questions
- How many SVGs can I optimise, and how big?
- Up to 100 files at a time, each up to 20 MB. A drawing with very detailed paths won’t keep you waiting for minutes: the slowest step is skipped, the result tells you so, and the gain is usually small. With several files you can also download them all together as a .zip.
- Do copyright notes and descriptions in the file survive?
- Titles stay, and so do descriptions, except empty ones or those written automatically by the drawing program (“Created with…”). The metadata block and comments are removed: to keep a licence note, write it as a comment starting with an exclamation mark, as in <!--! … -->.
- My site styles or scripts the SVG. Will it still work?
- Inside the file, yes, but ids get shortened or dropped: if your CSS or JavaScript points at an id in the drawing, run it again with “Keep ids” under “Advanced options”. Any scripts in the file stay in, unless you turn on “Strip scripts”.
- Do clickable links in the drawing still work?
- Yes: after optimising they’re counted, and if any have gone the file is redone in a way that keeps them. If even that fails, the result tells you how many links were lost: the drawing looks identical, but clicking there no longer goes anywhere.
Your files are never uploaded. Anywhere.
Your file stays in your browser’s memory: it is read, processed and written back here. There is no server to send it to.
- Processed locallyEverything happens on your device.
- Nothing to upload, nothing to wait forNothing to upload, no waiting.
- No files to deleteWe keep nothing: nothing reaches us.