XML Formatter Online — Free & Private

A free edge API by formatho.com, privacy-first developer tools.

Open the full browser tool →

Free, no signup, runs entirely in your browser — your data never leaves your device.

🔓 Free🔒 Zero tracking🚫 No data collection⚡ Edge-fast

Usage

curl "https://xml-formatter-formatho.filesformatho.workers.dev/api?xml=%3Croot%3E%3Citem%3Ehello%3C/item%3E%3C/root%3E"

curl -X POST "https://xml-formatter-formatho.filesformatho.workers.dev/api" \
  -H 'Content-Type: application/json' \
  -d '{"xml":"<root><item>hello</item></root>"}'

Pretty-prints (default) or minifies XML and reports well-formedness errors with line/column positions. Optional params: indent (0–8, default 2), mode (pretty | minify). GET query limit 8 KB — use POST for larger documents (max 256 KB).

Full parameter reference: /api endpoint.

Privacy-first: XML is formatted in-memory at the edge and never logged or stored.

Full browser tool

Format XML entirely client-side: XML Formatter on formatho.com.

All Formatho edge APIs

Browse every free Formatho Worker tool on the Formatho Tools index.