JSON file formatter
Validate and format a UTF-8 JSON file without changing number literals or duplicate keys. Up to 2 MiB and 100 nesting levels.
Format UTF-8 XML1.0 locally: up to 256KiB, 20000 nodes, depth 40, output 1MiB. Preserve mixed text, namespaces, comments and xml:space; element-only whitespace may change. CDATA becomes escaped text. Rejects DTDs, processing instructions and malformed XML. This is formatting, not sanitization or canonicalization.