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.
Open JSON, JSONL or NDJSON to inspect and edit. 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 JSON, JSONL or NDJSON, inspect the data, edit it and download the result. 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.
For an object such as {"service":{"enabled":true}}, set the nested enabled flag and save edited.json.
import json
from pathlib import Path
data = json.loads(Path("input.json").read_text(encoding="utf-8"))
data["service"]["enabled"] = False
Path("edited.json").write_text(json.dumps(data, indent=2, ensure_ascii=False, allow_nan=False) + "\n", encoding="utf-8")Documentation: Python JSON documentation
Set the same service flag and keep the input unchanged.
jq '.service.enabled = false' input.json > edited.jsonDocumentation: jq manual and installation
In the browser editor, open a .jsonc file or paste JSONC source, then choose Repair and JSONC to strict JSON. Safe JSON repairs remains the default task. Review the complete original and converted result before downloading a separate .json copy or explicitly applying one undoable edit. Only comments and trailing commas are removed; numeric and string tokens remain unchanged. Ordinary formatting still requires strict JSON. Duplicate keys and JSON5 syntax are refused. Conversion supports up to 2 Mi characters, 128 container levels and 100,000 tokens/values, with local cancellation and a five-second limit. Native file associations, installed versions and integration support can differ.
Choose Repair and JSON5 to strict JSON in the browser editor. Review the complete original and proposal, then download a separate .json copy or explicitly Apply; Undo restores the original. Supported JSON5 data includes comments, trailing commas, unquoted keys, single-quoted strings, signed decimals and hexadecimal integers. Strict decimal number spellings are retained, including values beyond JavaScript number range; hexadecimal integers convert exactly. Strings and keys are quoted or escaped when required. NaN, Infinity, decoded duplicate keys, JavaScript expressions and unsupported syntax are refused. Limits are 2 Mi source/output characters, 10,000 characters per numeric token, 100,000 tokens/values and 128 container levels, with local cancellation and a five-second deadline. Ordinary formatting and the separate JSONC task retain their strict policies. This does not provide comment-preserving JSON5 structured editing or certify installed/integration versions.
Open Query & transform to select, filter and preview a local result before explicit replacement; Undo restores the source. Numeric values and text casts have precision limits. Arithmetic requires provable safe integer intermediates and supports at most 100,000 input values/containers: decimal arithmetic, unknown function contexts and unbounded calculations are refused. Aggregates check their subtotals; nonintegral averages and division are unavailable. Decimal selection and comparisons remain available. This is a restricted query tool, not an arbitrary-precision calculation engine.
When this task is available for the configured destination, open Query & transform and expand Draft a query with assistance. Prepare a JSON Pointer's observed field metadata, review it and explicitly include it. Optional exact sample values require separate preparation and inclusion; current expression text is also optional. The exact request preview shows what will be sent. Metadata covers direct fields and at most three selected array items, not a complete schema. Local draft checks parse JSONata and reject unsafe numeric literals and $eval without evaluating the query. Use reviewed JSONata draft changes only expression text; Preview query runs it separately with the existing source-dependent precision and arithmetic guards. Results and model explanations remain unverified until the relevant separate checks. Cancelling or stale source/query/model context cannot replace manual query text. Unconfigured tasks stay unavailable; source files, paths, grants and local schema/reference resources are not attached automatically.
In the web editor or a desktop build that includes this feature, open Schema and use Exact schema validation. Import or paste raw schema text, explicitly load local references and choose Draft 2020-12 and a format policy. This separate whole-document check supports up to 1 MiB UTF8 per source and eight reference files. Unsupported inputs report unavailable. It does not change your document, existing continuous validation or precision guards for hints. Raw imports stay in this tool for the current page session. To validate AI proposals with them, explicitly enable Use these exact settings for JSON assistance. The whole proposed document is checked locally before review and again on Apply; invalid or unavailable checks cannot apply. This choice is off by default and schema or file changes turn it off.
Very long source lines use horizontal scrolling so the editor stays responsive. Full text, validation and editing remain available. Shorter lines wrap again; formatting can shorten lines by changing whitespace, and Undo restores the previous source.
When configured, open Assistance, choose a JSON Pointer, prepare its exact context locally and explicitly include it. Review the generated patch and locally validated result before applying one undoable edit. The configured model is shown, no source is sent automatically, and applying does not save the file. Unconfigured assistance stays unavailable while local editing continues.
When local storage is available, ordinary JSON source snapshots are saved after a short idle delay. Refresh opens the original first; review a matching recovery copy and explicitly restore it as one undoable source edit. Offers expire after 24 hours. Unapplied form and JSONL record drafts are not included, and storage limits apply. Download important work separately.
Yes. Open Repair in the editor tools to preview removal of an enclosing Markdown JSON code fence or trailing commas. Review original and proposed text, then explicitly apply one undoable change. Repair does not invent missing keys, values, quotes or brackets, and is limited to 2 Mi characters.
Use Find key or value in Tree, then Previous outline page or Next outline page to navigate matching nodes. Inspection runs in a cancellable local worker with up to 2,000 nodes per page and a 12,000-character selected preview. The JSON Pointer selects an exact path. Cancel keeps the source and editing drafts; Retry inspects the current input. Opening, source validation and structural edits still have separate main-thread costs.
Open .json, .jsonl or .ndjson files, or paste their contents. JSON is one complete value; JSONL and NDJSON contain one complete JSON value per record line.
Edit the source or structure, review validation feedback, then download the result in your document's format. Back to website and Resume editing retain current edits in this 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.