Formatting
The tool parses SVG source, serializes it as XML, and adds readable line breaks and two-space indentation.
Use cases
Use it before manual source edits, code reviews, documentation examples, and debugging compact SVG exports.
Format SVG/XML source with line breaks and indentation.
Page context
XML Formatter formats SVG/XML source with line breaks and indentation.
The tool parses SVG source, serializes it as XML, and adds readable line breaks and two-space indentation.
Use it before manual source edits, code reviews, documentation examples, and debugging compact SVG exports.
Format SVG/XML source with line breaks and indentation.
Choose an SVG file, paste SVG markup, or load the sample to begin.