SVG Beautifier
☞ runs entirely in your browser — nothing is uploadedDrop your SVG here
or click to browse — SVG only
Before and after
SVG Beautifier
Turn a one-line minified SVG back into indented, readable code — without changing a single thing it draws.
or click to browse — SVG only
Before and after
readable again
A minified SVG is one long line, which is fine for a browser and miserable for a person. This page re-indents it with two spaces per level so you can find the element you need.
Nothing else is touched. Comments stay, colors keep the exact notation you wrote, and every coordinate keeps its decimals — the file will get bigger, and that is the whole point.
three steps
Pick a .svg file — it stays on your device.
The formatted code appears with two-space indentation.
Take the code into your editor, or save the file.
quick answers
No. Only whitespace between elements changes. Colors, coordinates, comments and attribute order are all left exactly as they were.
Indentation is real characters. A formatted file is meant for reading and editing — run it through the minifier again before shipping it to a website.
No. The file has to parse before it can be formatted. If nothing happens, open it in the SVG viewer, which shows exactly where the parser stopped.
No. Formatting happens in your browser and the file never leaves your device.