XML Formatter & Validator
Validate, indent or minify XML without sending its content to the server.
Questions about this tool
What is the difference between validating and formatting XML?
Validation checks whether the XML structure is syntactically valid; formatting only changes indentation and presentation without intentionally changing the data model.
Does minifying XML change its data?
Minification removes unnecessary whitespace and line breaks. The logical structure should remain the same, so validate again if the document will be used by an application.
Does the XML content leave the browser?
This formatter is designed for browser-side processing. Even so, use anonymised samples whenever the document may contain credentials or personal data.