Back to Tools

JSON to Text

Extract and clean text values from JSON objects

JSON Source

Get the readable content out of JSON

Sometimes you do not need the structure of a JSON file, only the words inside it: the copy in a CMS export, the messages in a chat log, the labels in a translation file. This tool walks through your JSON and prints every text and number value on its own line, leaving out the braces, brackets and key names.

How to use it

  1. Paste your JSON into the JSON Source box. The Sample button loads a small document with a header, nested content and a list so you can see the effect.
  2. Press Extract Plain Text.
  3. Review the Extracted Text panel and press Copy Text to take it away.

Invalid JSON produces an error dialog with the parser's message, so you can fix a stray comma or missing quote and try again. Clear removes everything in the input box.

What gets included and what does not

The tool traverses objects and arrays in the order they appear, at any depth. Strings and numbers are written out, each followed by a line break. Keys are ignored, and so are booleans and null values, since they are neither strings nor numbers. If your document has a field called published set to true, that line will simply not appear. Numbers are printed as plain digits without any label, so a price and a quantity will look the same in the output, which is worth remembering when the source has both.

Where it earns its keep

  • Collecting all the visible copy from a content export so it can be proofread in a word processor.
  • Gathering strings from a language file to send to a translator.
  • Scanning a large API response for the human-readable parts when the field names are just noise.
  • Feeding only the text values into a word counter or a text analysis tool.

Tips and edge cases

Because the key names disappear, the output shows what was said but not where it came from. If you need context, convert to another format that preserves keys instead. Long strings are shown with wrapping so lines stay readable in the result box. A top-level string or number is accepted too, and will simply be echoed back. Extremely large documents depend on your browser's memory, since parsing happens locally on the page.

Related Tools


Frequently Asked Questions

Are the key names included in the output?
No. Only the values are printed. If your JSON has a field named title with the value Hello, the result contains Hello on its own line but not the word title. This keeps the output clean for proofreading or translation.
Why are true, false and null values missing?
The extractor keeps strings and numbers only. Booleans and null are not text, so they are skipped rather than printed as the words true, false or null. Everything else at every nesting level is included in original order.
Does it keep the structure of arrays and nested objects?
It reads them in order, depth first, but writes a flat list with one value per line. Indentation, brackets and grouping are not reproduced, so nested sections all appear as one continuous run of lines.
What happens if my JSON is invalid?
A dialog appears with the message produced by the JSON parser, which normally names the unexpected character and its position. Correct the problem in the input box, for example a trailing comma, and press Extract Plain Text again.
Can I extract from a huge JSON file?
You can paste large documents, but the conversion happens in your browser, so very big files may slow the tab or hit memory limits depending on your device. Splitting a huge file into parts is safer.
Support Chat
We typically reply within minutes

Hello! 👋 Before we start, please tell us your name.