XML Formatter Developer
Indent XML into a readable tree and check that it parses.
XML Formatter is a free online tool that indent XML into a readable tree and check that it parses. It runs entirely in your web browser using DOMParser, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.
- Price
- Free — no account, no quota, no watermark
- Category
- Developer
- Where it runs
- In your browser, on your device
- Files uploaded
- None
- Technology
- DOMParser
- Settings
- 1
- Works offline
- Yes, after the first visit
About XML Formatter
XML Formatter is one of 43 developer tools on DuckyTools, and like all of them it runs entirely inside this page. Indent XML into a readable tree and check that it parses.
How to use it
- Paste the text you want to run through xml formatter.
- Set indent.
The one setting
| Setting | What it does | Default |
|---|---|---|
| Indent | Choose from 3: 2 spaces, 4 spaces, Tab. | 2 spaces |
Under the hood
| Runs on | DOMParser — parses the markup |
| Controls | Indent |
Questions
What does the indent option change?
It offers 3 choices — 2 spaces, 4 spaces and Tab. The default is 2 spaces, which suits most cases; change it when your input or your destination calls for something specific.
What does XML Formatter use to do the work?
DOMParser parses the markup — all of it running inside this page rather than on a server.