Nouplo

XML formatter

Indented to be read, or squeezed to one line to be sent.

Output
Paste or type above to see the result here.

Your files stay on your device

This tool runs entirely in your browser. What you paste is processed on your device and is never sent to a server, so it is safe to use with tokens, keys and unpublished text.

How it works

  1. Paste the XML.
  2. Choose indenting or minifying.
  3. Copy the result.

Frequently asked questions

Does it validate the XML?
No, and that is deliberate: the XML people want to read is often the XML that does not quite parse. Tags and text are laid out as they are found, so a fragment or a file with a stray character still comes back readable.
What happens to CDATA and comments?
They are carried through exactly as typed, and a CDATA section is never re-indented inside.
Why does <name>Jane</name> stay on one line?
An element holding nothing but text reads better whole. Elements holding other elements are indented by depth.
Is the XML sent anywhere?
No. It is formatted in your browser.

Related tools