FREE BROWSER-LOCAL FILE TOOLS

Understand any JSON file.

Open or paste JSON, inspect its structure, edit, format or minify it. Your contents stay in this browser.

Step 1: open your file

Open JSON, JSONL or NDJSON to inspect and edit. Contents stay in this browser.

Download sample JSON files
  1. Inspect the source, Tree or Table; edit and review validation feedback.
  2. Download the result in your document’s format.
Paste JSON

File contents stay in this browser. Download changes before refreshing or closing the tab.

Inspect nested structure

Searchable tree and raw editor views make nested objects, arrays, keys, values, and record boundaries easier to inspect.

Edit, format and validate

Pretty-print or minify a complete JSON value, then download the validated result. Syntax problems are reported without sending the document to a server.

Choose the matching format

Use JSON for one complete value, JSONL or NDJSON for one JSON value per line.

Other ways to inspect JSON

Run these alternatives on your own computer. Keep the original file and write changes to a separate output. These tools have their own parsing and precision rules; their output need not match this website exactly.

Inspect JSON structure with Python

Shows the root type, up to twenty object keys or the first five array items. Display is bounded but parsing loads the complete file.

Before you start

  • Install Python 3. Save the script beside your UTF-8 input file and run it with python3 script.py. No extra package is required.
Python script
import json
from pathlib import Path

data = json.loads(Path("input.json").read_text(encoding="utf-8"))
print("Root type:", type(data).__name__)
if isinstance(data, dict):
    print("Keys:", list(data)[:20])
elif isinstance(data, list):
    print("Items:", len(data))
    for item in data[:5]:
        print(json.dumps(item, ensure_ascii=False))
else:
    print(data)

Limits and output

  • These examples parse the document into memory. Python integers are exact. Unless a script explicitly uses Decimal, decimals use binary floating point; reserialization can change numeric spelling or precision. Duplicate object keys keep their last value unless explicitly rejected.

Documentation: Python JSON documentation

Inspect root type and keys with jq

The second command requires an object or array and prints property names or indices.

Before you start

  • Install jq using its official installation guide. These commands use a POSIX shell; put the named input files in the current directory.
Terminal commands
jq 'type' input.json
jq 'keys' input.json

Limits and output

  • jq parses JSON rather than preserving source text. Numeric precision depends on the jq build and operations; keep exact source files for precision-sensitive data.

Documentation: jq manual and installation

Frequently asked questions

How do I open a JSON file?

Choose or drop a .json file, paste a complete JSON value, or try the sample. The editor opens with your input ready for Source, Tree or Table inspection.

Can I edit and download my JSON?

Yes. Edit the source or structure, review validation feedback, then download your edited JSON. Save a download before refreshing or closing the tab.

Does my JSON file get uploaded?

Local editing processes selected and pasted contents in your browser. Optional Assistance sends your goal and only the context you explicitly prepare and include, such as a selected subtree or observed query field metadata, to OpenRouter and the configured model provider. Its preview shows exactly what is included. Ordinary page and asset requests also reach the hosting provider.