Format SVG XML with stable indentation and readable attributes.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
SVG XML is parsed and serialized with consistent indentation, attribute ordering, and line breaks while preserving namespaces, text nodes, and path data. Formatting changes source layout, not the rendered scene graph.
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="40" fill="#FF6B6B"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"> <circle cx="50" cy="50" r="40" fill="#FF6B6B"/> </svg>
Icon repositories, design handoffs, and code reviews format SVG source.