Paste XML
Result
LocalThis runs in your browser. Nothing you paste here is sent anywhere.
XML -> FORMATTED · Local tool
XML formatter
Format, beautify and validate XML, with real error positions.
Last updated
01 / Your device
the file stays here
02 / Browser memory
the work runs locally
03 / Your downloads
the result arrives here
How it works / no cloud
A conversion engine, not an upload form.
filetity parses the XML in your browser with its own tokenizer, checks that every tag closes and closes in the right order, and prints it back with the indentation you chose. Nothing is sent anywhere, which is the point when the XML is an API response or a config file from work.
- Offline ready
- Installable app
- No file limit queue
Straight answers
No accordion. Nothing hidden.
- Is it free?
- Yes, with no watermark and no page limit.
- Does it need an account?
- No. There is no account system.
- Is my file processed on my device?
- Yes. The file is read by your browser and never uploaded. There is no server to send it to.
- What formats are supported?
- XML in, including declarations, DOCTYPE, comments and CDATA. Formatted XML out, or minified.
- What are the limits?
- Formats and validates that the document is well-formed. It does not check against a DTD or an XSD schema.
- Does it work on mobile?
- Yes, on any modern mobile browser. Large files are limited by the memory the phone gives the browser.
- Does it work offline?
- Yes, once the page has loaded. The tool keeps working with no network connection.
- Is my XML uploaded to a server?
- No. The parser runs in your browser and there is no server to send it to. That matters here more than on most tools, because the XML people need formatted is usually an API response, an invoice or a config file they are not allowed to paste into a random website.
- What does 'well-formed' mean, and is it the same as valid?
- Well-formed means the syntax is right: every tag closes, they nest in the right order, and the special characters are escaped. Valid means it also matches a schema that says which elements are allowed where. This page checks the first, which is what catches almost every real error.
- Why does it say the line and column?
- Because the reason anyone opens a formatter with broken XML is to find the character that broke it. A message saying only 'invalid' sends you back to reading the file by eye.
- Can it minify as well as beautify?
- Yes. Choose Minified as the indent and the whole document comes back on one line, which is what you want before putting XML into a request body or a config value.
Keep working locally
4 available · more coming