JSON to ER diagram
Input
Paste or drop your data here, or open a file.
New to Bracely?
Everything stays in your browser.
Compare with
Output
JSON to ER Diagram (Mermaid and DBML)
Turn a JSON sample into an entity-relationship diagram. Every kind of object becomes an entity with its fields and types; a nested object becomes a one-to-one link and an array of objects a one-to-many link. Mermaid renders in GitHub, GitLab and Notion, and DBML opens in dbdiagram.io.
How do I use the JSON to ER diagram?
- Paste JSON, such as an API response.
- Pick Mermaid or DBML and name the root entity.
- Paste the Mermaid code into a ```mermaid block, or the DBML into dbdiagram.io.
What does the JSON to ER diagram do?
- Mermaid erDiagram with PK on id fields and optional fields marked
- DBML tables in plural snake_case with keys and refs
- One-to-one and one-to-many links from nested objects and arrays
- Keys that aren't valid names are renamed, with the original kept in a comment
Frequently asked questions
- Where can I see the diagram?
- Mermaid draws it in GitHub and GitLab Markdown, Notion and many docs tools. DBML draws it in dbdiagram.io.
- Is my data uploaded?
- No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.
More JSON tools
Bracely has more than 65 JSON tools in one page. Related ones:
- JSON to TypeScript
- JSON Schema Generator
- JSON to Go
- JSON to Java
- JSON to C#
- JSON to Python
- JSON to Kotlin
- JSON to Swift
- JSON to Dart
- JSON to Rust
- JSON to PHP
- JSON to Zod
- JSON to GraphQL
- JSON to Protobuf
- YAML to JSON
- CSV to JSON
- Mock JSON generator
- UUID generator
- JSON Formatter
- JSON Validator
- JSON Viewer
- JSON Repair
- JSON Diff
- JSON to YAML
- JSON to CSV
- jq Playground
Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut. About · Privacy policy
Last updated · Version 2.1 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram