View JSON Online

View JSON data strings in a user-readable tree format: paste JSON or open a .json file, press View, and browse nested objects and arrays level by level. Save, share, and collaborate on your JSON online. Online JSON Viewer includes a JSON linter that automatically detects and highlights JSON errors as you type. Learn JSON using a manually curated database of JSON examples. Online JSON Viewer works without additional browser extensions or desktop applications. It's free.

About Online JSON Viewer

Online JSON Viewer displays JSON as a tree, so large and deeply nested JSON is easy to read and navigate. Use it to view API responses, configuration files and other JSON documents, pasted as text or opened from a .json file.

  • View JSON as a collapsible tree
  • Open and read .json files from your computer
  • Read the same JSON as a tree or as indented text
  • Find JSON errors with the built-in JSON linter
  • Repair common JSON syntax errors, such as single quotes and trailing commas
  • Copy or download the JSON
  • Save JSON online and share it with a link
  • Runs in your browser, nothing to install
  • Free to use

What is a JSON viewer?

A JSON viewer is a tool that displays JSON as a tree instead of plain text. Every object and array is a branch under its key. Since it is used to read JSON, a JSON viewer is also called a JSON reader.

How to view JSON online?

Paste JSON into the editor and press View to see it as a tree. If your JSON is invalid, the editor marks the line with the error. Press Fix to repair common mistakes; the JSON Fixer page lists what it corrects.

How to view a JSON file online?

Press Upload, pick a .json file on your computer, and press View to read it as a tree. A .json file is plain text, so any text editor opens it too, but without the tree.

JSON Viewer Example

Below is a JSON API response as plain text and the same JSON as a tree in the viewer.

JSON Response
{"page": 2, "total": 14, "users": [{"id": 7, "email": "[email protected]", "active": true}, {"id": 8, "email": "[email protected]", "active": false}]}

JSON Viewer Tree
▾ object {3}
      page : 2
      total : 14
    ▾ users [2]
        ▾ 0 {3}
              id : 7
              email : [email protected]
              active : true
        ▸ 1 {3}

Do I need to install a desktop app or plugin to view JSON?

No. This JSON viewer runs in your web browser, so there is no browser extension or desktop app to install. Your JSON is sent to ReqBin only when you press Save or Share.

Updated: