Inspect nested structure
Searchable tree and raw editor views make nested objects, arrays, keys, values, and record boundaries easier to inspect.
Open or paste JSON, inspect its structure, edit, format or minify it. Your contents stay in this browser.
Start with a complete JSON value. Contents stay in this browser.
File contents stay in this browser. Download changes before refreshing or closing the tab.
Searchable tree and raw editor views make nested objects, arrays, keys, values, and record boundaries easier to inspect.
Open the Tree tab and resolve an RFC 6901 JSON Pointer such as /projects/0/name. Syntax problems are reported without sending the document to a server.
Use JSON for one complete value, JSONL or NDJSON for one JSON value per line.
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.
The pointer /service/name selects the name inside service. Tilde escapes follow RFC 6901.
import json
from pathlib import Path
value = json.loads(Path("input.json").read_text(encoding="utf-8"))
pointer = "/service/name"
for part in pointer.split("/")[1:]:
token = part.replace("~1", "/").replace("~0", "~")
if isinstance(value, list):
if not token.isascii() or not token.isdigit() or (len(token) > 1 and token.startswith("0")):
raise ValueError("Expected a non-negative array index without leading zeros")
value = value[int(token)]
else:
value = value[token]
print(json.dumps(value, ensure_ascii=False, allow_nan=False))Documentation: Python JSON documentation
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.
Yes. Edit the source or structure, review validation feedback, then download your edited JSON. Save a download before refreshing or closing the tab.
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.