Indent, validate and minify XML. Catches parse errors before you paste a broken feed or sitemap into production.
Drop in a document, an RSS feed, a sitemap, a SOAP envelope or a configuration file. It can be minified into one long line or already partly indented.
Beautify indents every element by its nesting depth, with a choice of two or four spaces. Minify strips the whitespace between tags for the smallest possible payload.
The document is parsed before it is formatted, so a mismatched or unclosed tag is reported rather than quietly producing broken output. Copy the result when it is clean.
Yes. The document is parsed with the browser's own XML parser before formatting. If a tag is unclosed or mismatched you get an error instead of output, so you find the problem here rather than in production.
No. Parsing and formatting both happen in your browser. That matters for SOAP payloads and configuration files, which often contain credentials, endpoints or customer data.
Yes. Both are ordinary XML. Formatting a sitemap makes it far easier to scan the URL list, and it will also tell you immediately if the file is malformed.
No. It checks that the document is well formed, meaning the syntax and nesting are valid. Validating against a DTD or XSD is a separate step this tool does not perform.
XML nests elements with opening and closing tags and carries attributes, so indentation is driven by tag depth. If you are working with JSON, the JSON formatter is the right tool.
It removes whitespace between tags only. If your XML depends on significant whitespace inside a text node, that content is left alone, but check the result before shipping it.
There is no hard limit, but the whole document is held in memory and re-rendered, so multi-megabyte files can feel slow in the browser.
Yes, completely free with no sign-up, like every tool in the Pinkontin developer toolbox.
Free online JSON formatter and validator. Format, minify and validate JSON with syntax highlighting and instant error detection.
Open ToolFormat messy SQL into readable queries with proper clause breaks and keyword casing, without touching string literals.
Open ToolCompare two texts or code snippets line by line and see exactly what was added, removed and left alone.
Open Tool