XML Formatter & Validator
Check that XML is well-formed and pretty-print it with consistent indentation, or minify it to a single line.
Frequently asked questions
Related tools
JSON Formatter & Validator
Pretty-print, validate and sort JSON, with the exact line and column of any syntax error.
JSON Minifier
Strip whitespace from JSON to make it as small as possible, and see how much you saved.
HTML Formatter
Beautify messy or minified HTML with consistent indentation, powered by Prettier.
HTML Minifier
Remove comments and collapse whitespace in HTML while keeping <pre>, <textarea>, scripts and styles intact.