JSON Schema Visualizer
Paste a JSON Schema, get an indented diagram. Object types are boxes with properties as rows. $ref are shown inline. Useful for documenting an API schema or auditing a complex schema for overuse of oneOf.
Paste a JSON Schema.
How to visualise a schema
- Paste your schema.
- The diagram renders automatically. Object types are boxes, properties are rows,
$refare dashed arrows. - For schemas with external
$ref, the tool prompts you to paste each referenced schema by URL. They're combined locally — nothing is fetched. - Layout dropdown: Tree (default), Force-directed, Radial.
- Export as SVG (best for docs) or PNG.
FAQ
Why is my diagram a tangle of arrows?
Usually it means the schema overuses oneOf or anyOf with deeply different branches. Consider splitting into distinct named schemas.
Does it resolve external $ref URLs?
No — browser CORS would block most fetches anyway. Paste the referenced schema inline (in $defs) before visualizing.
Will it work offline?
Yes — pure SVG / DOM rendering.