AI JSON Explainer
Analyze and explain JSON payloads, nested schemas, data structures, and potential security issues.
Runs on your device by default. The optional cloud AI mode sends your input to Google Gemini.
What the AI JSON Explainer does
Opening an unfamiliar API response or config file often means scrolling through hundreds of lines to work out what is in it. This explainer maps the whole structure in your browser: every field path with its type, the format of its values (dates, emails, URLs, IDs, IP addresses, tokens), what the field most likely means, and which fields are optional because only some items in a list have them. It also flags secrets and personal data, mixed types and numbers stored as text. Choose Cloud AI to add a written explanation from Google Gemini.
How to understand a JSON document
- Paste JSON or open a .json file. Use Format JSON to indent a minified payload.
- Leave the engine on On-device for a private structural analysis, or pick Cloud AI to add a written explanation.
- Press Explain JSON, or Ctrl + Enter. If the JSON is invalid, the exact line and column of the error are shown.
- Read the overview and the "Worth knowing" notes: secrets, personal data, inconsistent types and optional fields.
- Scan the field table, then copy or save the whole analysis as Markdown.
The AI JSON Explainer runs on your device by default. If you switch to the optional cloud AI mode, your input is sent to Google's Gemini model to produce the result.
When to use it
Integrating a new API
The field table shows at once that invoices[].amount is sometimes a number and sometimes a string, and that note is present in only some invoices. Those are exactly the details that cause bugs when you write code against the API.
Reviewing data before sharing it
Before pasting a payload into a ticket, a chat or an AI tool, the explainer flags fields like api_key and email so you can remove them first.
Documenting a payload
Saving the analysis as Markdown gives you a ready-made field reference for a README or wiki page, with types and examples filled in.
Good to know
- Paste a real, complete sample. Fields that are missing or null in the sample cannot be described fully.
- "[]" in a path means every item of a list, so orders[].total is the total of each order.
- Field meanings are inferred from names and values. Treat them as a strong hint, and confirm with the API's documentation where it exists.
- Cloud AI sends the JSON to Google. Leave it on On-device, or remove sensitive values first, for production data.
Frequently asked questions
Is my JSON validated using AI?
Is my JSON checked by an AI model?
How does it decide a field is sensitive?
How large a file can it handle?
Related tools
LLM Token Counter
Estimate BPE tokens, context limits, and API costs for GPT-4o, Claude, and Gemini.
AI Prompt Optimizer
Build structured XML system prompts with role isolation and negative rules.
AI Function Calling Schema
Build OpenAI Structured Output and Anthropic Tool Call JSON schemas.
Prompt & Context Cleaner
Strip markdown, HTML, comments, and mask PII to reduce token consumption.