codebench_TOOL: HomeLOCAL-ONLY⌘K Switch
Mode:
Indent:
Input (XML)
Output (Formatted)
Paste XML on the left, then press ⌘Enter
codebench $Ctrl+Enter Run

What is XML Formatter?

Paste your XML and get instant formatting with customizable indentation (2/4 spaces or tabs). Supports minification, attribute alphabetical sorting, XML declaration control, and comment/CDATA preservation. All processing runs in your browser.

Key Features