XML Nerd
A cartoon tree frog in round glasses, thinking

XML Nerd

Free XML tools. No sign-up, nothing uploaded.

XML Nerd is a set of small, fast tools for working with XML. Paste in some XML, get the answer, and copy it out. Everything runs in your browser, so configuration files, feeds and API responses never leave your device.

Format and check XML

Use these when XML is hard to read, too big, or broken. Errors are reported with the exact line and column, so you can find a missing end tag quickly.

  • XML formatter: Format, minify and validate XML in one place.
  • XML validator: Check that XML is well-formed and find the exact line and column of an error.
  • XML beautifier: Pretty print XML with 2 spaces, 4 spaces or tabs.
  • XML minifier: Strip the whitespace between tags to make XML as small as possible.

Make a sitemap

Paste a list of web addresses and get a valid sitemap.xml for search engines, with duplicates removed and large lists split into several files automatically.

Careful with your data

The formatter changes only the whitespace between tags. Text, attribute values, entities, comments and CDATA are kept exactly as written, and elements that mix text with tags are left alone so no meaningful space is added. The validator reports the first error with its line and column, and checks that XML is well-formed rather than validating it against a schema.

Which tool should I use?

If you just want XML to be readable, start with the formatter. If a parser will not accept a file, the validator points at the problem. The minifier does the opposite job, removing whitespace between tags to shrink a file.

Runs in your browser. Nothing you type is uploaded.