XML Formatter

Pretty-print XML with proper nesting, confirm a document is well-formed, or strip whitespace to minify it. Handy for SOAP payloads, RSS feeds, sitemaps and configuration files.

Open XML Formatter

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Format, validate and minify XML online. Pretty-print nested XML, check that tags are well-formed, and compact documents. Instant in your browser.

What trips people up: What does "not well-formed" mean? It means the document breaks a structural rule: an unclosed tag, mismatched case, or a stray angle bracket. The validator names the position so you can fix it.

Use it from code

curl -X POST https://openvibe.tools/api/v1/tools/xml/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"<a><b>1</b></a>"}}'

Inputs: JSON Schema · OpenAPI · from JavaScript: tools.run("xml", …) in openvibe-sdk · How the API works

Similar tools

All Developer Tools