XML ↔ JSON Converter
Bi-directional converter between XML and JSON using a familiar convention: @attr for attributes and _text for content; repeated tags collapse to arrays
Convention: attributes become @attr keys, text content becomes _text, and repeated child tags become arrays. Whitespace-only mixed content between elements is trimmed. Round-tripping JSON output back to XML produces equivalent structure.
Related tools
JSON Prettifier
Format and validate JSON data
XML/HTML Formatter
Format, validate, prettify, and minify XML or HTML data
JSONPath Query Engine
Test JSONPath expressions — supports dot/bracket access, wildcards, slices, recursive descent (..), and filter [?(...)] expressions
GraphQL Formatter
Format and validate GraphQL queries, mutations, subscriptions, and fragments — preserves string literals, args, blocks, lists, and comments
TOML Parser
Parse, validate, format, and round-trip TOML to/from JSON — spec-compliant via smol-toml