Tools / Editor
JSON & YAML to Pele Diagram
Visualize a JSON or YAML hierarchy as a Pele flowchart. Inspect nested objects, arrays and scalar values, then copy the generated source.
Inspect nesting without inferring business rules
Visualize the nesting inside one JSON or YAML document. Objects and arrays become branches, while scalar values remain visible at the leaves. This is useful for explaining a small configuration file or API payload without manually tracing every nested key.
A worked example
Input
project:
name: Customer portal
services:
- name: API
replicas: 2
- name: Worker
replicas: 1Diagram source
flowchart TD
n0["root {}"]
n1["project {}"]
n0 --> n1
n2["name: Customer portal"]
n1 --> n2
n3["services []"]
n1 --> n3
n4["0 {}"]
n3 --> n4
n5["name: API"]
n4 --> n5
n6["replicas: 2"]
n4 --> n6
n7["1 {}"]
n3 --> n7
n8["name: Worker"]
n7 --> n8
n9["replicas: 1"]
n7 --> n9How to use this tool
- Paste a valid JSON or YAML document with the data you want to explain.
- Remove secrets and unrelated values before conversion. Values appear in the resulting diagram.
- Preview the hierarchy and reduce large arrays or deeply nested sections until labels are readable.
What to check
| Detail | Guidance |
|---|---|
| Meaning of arrows | Connections mean parent-child containment. They do not imply execution order or dependencies between values. |
| Limits | Use at most 50,000 characters, 32 nesting levels, and 300 diagram nodes. Large documents should be split into focused sections. |
| YAML restrictions | Duplicate mapping keys and aliases are rejected. Resolve aliases and correct duplicate keys before trying again. |
Common questions
Will it understand my configuration schema?
It displays the structure, not the domain semantics. A property called database is simply a key; the converter does not validate its connection settings or discover relationships outside the document.