Supported Formats
Overview of all data formats supported by ToDiagram
Overview
ToDiagram supports a variety of data formats to help you visualize and edit your data seamlessly. Below is a summary of the supported formats along with their common use cases.
JSON
Visualize JSON data as interactive diagrams
YAML
Transform YAML configurations into visual diagrams
XML
Transform hierarchical XML structures into diagrams
CSV
Visualize tabular data from CSV files
Custom
Build custom architecture and system diagrams
Mermaid
Create flowcharts using Mermaid syntax
TOON
Expand Token-Oriented Object Notation prompts into diagrams
Format Detection
ToDiagram detects the format when you:
- Drag and drop a file
- Paste content into the editor
- Open a file without an extension
If detection fails, choose the format from the bottom bar.
Notes
- JSON supports comments (JSONC).
- Mermaid supports flowchart syntax only.
- Custom format defines nodes and edges for architecture diagrams.