Saved

Press the star next to a tool's name to save it.

All my tools

JSON to Plain Text Converter

This JSON to plain text converter turns JSON into readable text, as an indented outline or one line per value with dot paths, so you can paste it anywhere.

Outline puts nested values under their names and list items after a dash. Dot paths write each value on its own line, such as address.city: Pune.

Your JSON is converted in your browser. Nothing is uploaded.

Plain text

Paste JSON and press Convert to text.

A JSON to plain text converter turns JSON data into clean, readable text without braces, brackets or quotation marks. Paste JSON, choose a layout, and this JSON to plain text converter writes each value on its own line, either as an indented outline with names and dashes or as one line per value with its full dot path. It's handy for reading API responses, pasting data into emails, notes and tickets, or sharing settings with people who don't read code.

How to use the JSON to plain text converter

  1. Paste your JSON into the box. Objects, arrays and single values all work.
  2. Pick a layout: Indented outline, or One line per value with dot paths.
  3. Pick the indent for the outline: 2 or 4 spaces.
  4. Press Convert to text.
  5. Copy the text or download it as a .txt file.

What JSON is

JSON, short for JavaScript Object Notation, is an open standard format that stores and sends data as human-readable text made of name–value pairs and arrays. It's used everywhere web applications talk to servers. Although it's text, the punctuation that makes it easy for programs to read, such as braces, brackets, quotes and commas, makes it harder for people to scan. Converting it to plain text keeps the information and drops the punctuation.

The two layouts

Indented outline

Each name is followed by its value. A nested object goes on the following lines, indented under its name, and each item in a list starts with a dash. It reads like a structured note:

  • name: Asha Rao
  • address:
  • city: Pune
  • skills:
  • - Excel
  • - SQL

One line per value

Every value gets one line with its full path, so nothing depends on indentation: address.city: Pune, skills[0]: Excel, skills[1]: SQL. This layout is easy to search, sort, compare between two versions, or paste into a spreadsheet.

Worked example

This JSON:

{"name": "Asha Rao", "age": 31, "address": {"city": "Pune", "pin": "411001"}, "projects": [{"title": "Billing", "year": 2024}]}

becomes, as an outline:

  • name: Asha Rao
  • age: 31
  • address:
  • city: Pune
  • pin: 411001
  • projects:
  • - title: Billing
  • year: 2024

In the dot-path layout, the same data is name: Asha Rao, age: 31, address.city: Pune, address.pin: 411001, projects[0].title: Billing and projects[0].year: 2024, each on its own line.

How values are shown

  • Text appears without quotation marks. If it contains line breaks, the extra lines are indented under the first.
  • Numbers, true and false appear exactly as in the JSON.
  • null, empty text, empty lists and empty objects are shown as (empty), so they're not mistaken for missing lines.
  • Lists of objects use a dash for each object, with its fields lined up underneath.
  • Lists inside lists get a dash for each level.

When plain text is better than JSON

  • Emails and chat. A short outline is easier to read than a block of code.
  • Support tickets. Paste the relevant fields of an API response without the noise.
  • Reports and documents. The text pastes cleanly into a word processor.
  • Comparing versions. One line per value makes differences stand out in a diff tool.
  • Teaching. The outline shows the structure of the data at a glance.

Converting back

Plain text doesn't keep every detail JSON can express. For example, the text 31 could have been a number or a string, and (empty) could have been null or an empty list. Keep the original JSON if you need to load the data into a program again; use the plain text for reading and sharing.

Your privacy

The conversion runs entirely in your browser. Nothing you paste is uploaded or stored, so it's safe for exports that include names, emails or other private data.

Choosing the right layout

For a short object that someone will read from top to bottom, the outline is usually best: it looks like a tidy list of labels and values, and nested sections are easy to follow. For large files, data you want to search, or data you'll compare with another version, use one line per value. Every line stands on its own, so you can sort the lines, filter them with a text search, or count how many values share a prefix. You can switch layouts and convert again at any time without changing the JSON.

Working with API responses

Responses from web APIs often wrap the useful data in several layers, with fields such as status, meta and data. In the outline, those layers become headings, so you can skip straight to the part you need. In the dot-path layout, every line begins with its full path, such as data.items[0].price, which makes it easy to see exactly where a value lives. That path is also how many programming languages and tools refer to the field, so it's a handy reference when you write code that reads the same response. If a response is very long, convert it, copy only the lines you need, and leave the rest.

Common mistakes

  • Pasting JavaScript instead of JSON. Names need double quotes, and trailing commas aren't allowed.
  • Expecting the text to round-trip. Keep the JSON for programs.
  • Using the outline for huge files. Dot paths are easier to search in long data.

What next

Use this often? Add JSON to Plai to your Home screen.

Frequently asked questions

What does the JSON to plain text converter do?

It turns JSON into readable text without braces, brackets or quotes, as an indented outline or as one line per value with its dot path.

How are nested objects shown?

In the outline, nested values sit indented under their name. In the dot-path layout, each value's line starts with its full path, such as address.city.

How are lists shown?

Each list item starts with a dash in the outline, or with its position, such as skills[0], in the dot-path layout.

What does (empty) mean?

The value was null, an empty string, an empty list or an empty object in the JSON.

Is my JSON uploaded?

No. The conversion runs in your browser and nothing is stored.

Sources

  1. Wikipedia: JSON

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Developer Tools