uencoder

XML Formatter

Beautify or minify XML online with 2-space indentation. Free, private, and 100% client-side.

Local only

Recent history

No history yet

How to use

  1. Paste XML into the input box.
  2. Choose Beautify or Minify mode.
  3. Copy or download the result.

Frequently asked questions

How does beautify work?
The tool normalizes whitespace, then re-indents every element with 2 spaces per nesting level. Leaf elements with only text content stay on a single line.
Is my data uploaded anywhere?
No. All formatting happens locally in your browser with no server round-trip.

Related tools