DEVELOPER TOOLS / DEVTOOLS
XML Formatter
Indent XML source so nested elements are easy to inspect.
0 characters
0 characters
Processing happens locally in this browser.
ABOUT THIS TOOL
What XML Formatter does
Add consistent indentation to XML source so parent and child elements are easier to follow. The result stays plain text and is never rendered as markup.
Useful when inspecting XML feeds, configuration files, and service responses.
How to use XML Formatter
- Paste the XML document or fragment.
- Select an indentation width or tabs.
- Select Format XML and review the indented source.
ANSWERS AND DETAILS
Frequently asked questions
What does this tool do?
Add consistent indentation to XML source so parent and child elements are easier to follow. The result stays plain text and is never rendered as markup.
When is this tool useful?
Useful when inspecting XML feeds, configuration files, and service responses.
Is my input uploaded?
No. This tool runs in your browser and does not send the value you enter to a processing server.