JSON/XML to Readable Text
Paste JSON or XML, get a flattened, de-nested plain-text version — ready to scan or paste into an AI tool.
Input (JSON or XML)
0 charsFrequently Asked Questions
Does it auto-detect JSON vs. XML?
Yes — just paste either one in and it figures out which it is. No need to tell it in advance.
What does "flattened" mean here?
Every nested value gets its own line as a full path, like user.address.city: Boston, instead of staying buried several levels deep. It's the fastest way to scan a deeply nested structure or paste it into an AI prompt without ambiguity.
What's the difference between Flattened and Indented view?
Flattened shows one dotted path per line — good for scanning or search. Indented shows the same data as a nested tree, closer to how the original JSON/XML looked — good for preserving visual structure.
How are XML attributes handled?
Attributes appear as @attributeName in the path, and an element's own text content (when it also has child elements) appears as #text.
Is my data uploaded anywhere?
No. Parsing and flattening both happen entirely in your browser using JavaScript. Nothing is sent to a server.
Related tools
More free, private, browser-based utilities — no upload, no sign-up.

Davemi Tools