Turn JSONYAMLXMLCSVMermaidanything
into diagrams.
Paste any structured data — or build your own with custom nodes and edges.
/ api-response.json
fruits[0]
name:"Apple"
color:#FF3B30
details:{2 keys}
nutrients:{2 keys}
fruits[1]
name:"Banana"
color:#FFE066
details:{1 key}
details
type:"Pome"
season:"Fall"
nutrients
calories:52
fiber:"2.4g"
live
Paste anything
JSONYAMLXMLCSVJSON SchemaMermaidCustom nodes & edges
— 01 / How it works
Paste it on the left. See it on the right.
No setup, no schema ceremony. The editor parses as you type and lays out nodes with ELK. Drag to rearrange, click to inspect, export as PNG, JPEG, or SVG.
{ "type": "NetworkGraph", "version": 2, "metric": "etx", "router_id": "172.16.40.24", "label": "Test Network", "nodes": [ { "id": 123, "label": "node A" }, { "id": "172.16.40.60", "label": "node B" }, { "id": "172.16.41.1", "label": "node C" } ] }
— 02 / Who's it for
Three kinds of messy data.
One clean view.
Whether you're debugging a webhook at 11pm, mapping a dataset, or dropping a diagram into a deck — ToDiagram gives the same moment of “oh, that's what it looks like.”
→ For developers
Stop squinting at API responses.
Paste a payload from Postman, a webhook log, or a prod incident. Get a readable graph with every field, every nested array, every null you forgot to handle.
→ For data teams
See shape before you write a single query.
Drop in CSV headers, a sample row, or a JSON Schema. ToDiagram infers types, relationships, and cardinality so you know what you're working with.
→ For sharing & decks
From messy payload to shippable asset.
Export your diagram as PNG, JPEG, or SVG and drop it into tickets, slide decks, or design reviews — pixel-perfect, no manual cleanup.
— 03 / What's in the box
Small details. Big difference.
Every feature we add answers one question: does this make the diagram easier to read? If no, we cut it.
search
Find any node in a 10,000-line payload.
Fuzzy search scans keys, values, and paths. Matching nodes highlight on the canvas while the rest fades — perfect for hunting down that one nested flag.
Searchuser.permissions.admin3 matches
$.user.permissions.admin
AI
Describe it. Let AI draft the diagram.
Text-to-diagram turns plain prompts into a structured graph you can edit immediately — great for sketching a flow, a schema, or an architecture map.
prompt“A Stripe checkout sequence”
drafted 9 nodes · ready to insert
themes
Make it yours with one tap.
Swap the whole palette — nodes, rows, edges — without leaving the canvas. Hover a swatch to preview, click to commit.
share
One-click public links.
Publish a read-only link, share it with your team, or invite teammates to edit the same diagram alongside you.
privacy
Your data stays in your browser.
Parsing and rendering happen entirely on your machine. Diagrams are only synced to the cloud when you choose to save or share — sensitive payloads stay sensitive.
— Visual editing
Edit your data or your diagram.
Both stay in sync.
Change a node in the diagram — the source updates. Edit a value in the structured view — the diagram redraws. It's the same truth, two ways.
Diagram viewdrag · edit · connect
Network Graph
type:"NetworkGraph"
version:"2.0.1"
metric:"etx"
nodes[0]
id:123
label:"node A"
Structured viewsaved ✓
AatypeNetworkGraph
Aaversion2.0.1
Aametricetx
AalabelTest Network
[ ]nodes[3 items]
[ ]links[3 items]
— JSON Schema
Catch bad data before it ships.
Attach a JSON Schema and ToDiagram validates as you type. Failing paths light up on the diagram, and every error tells you exactly which node and which field.
Schema Errors · 2
"Network Graph" requires property "protocol"
"version" is not of type(s) string
Network Graph
version:2
metric:"etx"
label:"Test Network"
nodes[0]
id:123
label:"node A"
nodes[1]
id:"172.16.40.60"
label:"node B"
— MCP integration
Give your agent eyes for data.
One MCP server works with every coding agent you already use. Diagrams become something your AI can produce on demand — in-chat, in-IDE, in the flow.
/ mcp · model context protocol
Connect once.
Diagram anywhere.
Install @todiagram/todiagram-mcp in Claude, Cursor, Zed, VS Code or any MCP-compatible agent. Your AI can inspect a payload, read a fixture, or render a schema as a diagram — without leaving the chat.
Claude
Cursor
Zed
VS Code
Windsurf
Continue
01 · in the flow
Never leave the editor.
Ask your agent for a diagram mid-debug. It opens in a pane next to your code.
02 · context-aware
Knows your repo.
The server reads files the agent already has access to — diagram any fixture, schema, or config on demand.
03 · shareable
Link & embed output.
Every generated diagram comes back as a live URL — drop it in a PR, doc, or Slack.
— And plenty more
One tool. Many shapes of data.
— In the wild
“Finally, my JSON makes sense.”
A few words from teams who paste weird data for a living.
“
At DynamicSource, we work with complex JSON files to define calculation algorithms for our performance applications. ToDiagram has been extremely helpful for visualizing complex logic and navigating deeply nested structures. Of all the tools we tried, ToDiagram is by far the most intuitive and powerful, making it much easier to work with our data.
Performance Engineering LeadDynamicSource
“
Paste in a payload, see the shape, share the link. It's the workflow I always wished browsers had built in.
Backend developervia GitHub reviews
“
Our team uses ToDiagram to document the shape of every new API. The diagrams update with the data — onboarding engineers has gotten noticeably faster.
Platform engineershared anonymously
Some data
wants to be seen.
Paste a payload in seconds. Free to try, with Pro plans for teams that share a lot.

Introducing New Shapes in ToDiagram
ToDiagram now supports more node shapes for Mermaid and custom diagrams, including diamonds, cylinders, circles, hexagons, parallelograms, trapezoids, and more.

Visualize Pull Requests as Diagrams
Large pull requests hide structural changes across scattered diffs. Instead of mentally reconstructing the system, let an LLM explain the PR as a diagram and review the shape of the change before reading the code.

Introducing ToDiagram Skills for Coding Agents
ToDiagram Skills is a public repository of installable agent skills. The first published `diagram` skill helps coding agents create clearer diagrams for architecture, flows, and AI-generated diffs.
Frequently asked questions
Answers about pricing, formats, data handling, and the editor.