SVG optimiser and minifier
Nothing is uploaded — files are read and rewritten entirely in your browser.
Strip editor metadata, shorten numbers and minify an SVG.
How it works
Removes the metadata that vector editors leave behind, trims excessive decimal precision, and minifies whitespace. Typical savings on an Illustrator or Inkscape export are 30 to 70%.
Editor exports are the reason SVGs are so often enormous. Inkscape writes its own namespaced elements, Illustrator embeds generator comments and unused definitions, and both write coordinates to more decimal places than a screen can resolve — a path point at fifteen significant figures describes a position far finer than an atom.
Precision is where the savings mostly come from and also the one setting that can go wrong. Two decimal places is safe for icons and screen graphics; going lower can visibly distort curves, and very large artboards need more precision than small ones because the coordinates are bigger.
This is a conservative optimiser. It does not merge paths, convert shapes or restructure the document, because those transformations can change rendering in ways that are hard to predict.
This tool runs entirely in your browser. Nothing you enter is sent to a server, logged or stored, and the page keeps working with the network disconnected.
Common questions
- Why is my exported SVG so large?
- Editor metadata, unused definitions and excessive coordinate precision. Exports routinely carry ten or more decimal places where two would be indistinguishable.
- How much precision is safe?
- Two decimals for icons and screen graphics. Large artboards need more, because the same relative error is a bigger absolute distance.
Related pages
- Word and character counter Words, characters, sentences, paragraphs and reading time, counted as you type.
- Typing speed test Measure words per minute and accuracy on a one, two or five minute test.
- Remove duplicate lines Strip repeated lines from a list, keeping the first occurrence of each.
- Sort lines alphabetically Sort a list of lines A–Z, Z–A, by length, or numerically.
- JSON formatter and validator Pretty-print, minify and validate JSON, with the exact position of any error.
- Text compare Compare two blocks of text and see which lines were added, removed or changed.
- Regex tester Test a regular expression against sample text, with matches and capture groups shown.
- Case converter Convert text between upper, lower, title, sentence, camel, snake, kebab and other cases.
- Remove empty lines Delete blank lines from a block of text, optionally collapsing runs to one.
- Find and replace Replace every occurrence of a string in pasted text, with optional regex.
Sources
- Calculated on this page — At One Place