Diagram Generator
Turn plain English or Mermaid into flowcharts, sequence, and ER diagrams — rendered in your browser
Describe a flow, a system, or a database in plain English and get a real diagram — or write Mermaid by hand and watch it render live. Flowcharts, sequence diagrams, entity-relationship models, class and state diagrams all render in your browser as you type, and you can export the result as SVG or PNG or copy the Mermaid source straight into a README. The rendering is entirely local; only the optional "generate from a description" step uses AI.
How to use Diagram Generator
- Describe the diagram you want, then click Generate to get Mermaid source — or skip that and write Mermaid directly.
- Edit the source on the left; the preview re-renders live as you type.
- Switch the Mermaid diagram type (flowchart, sequence, ER, class, state) by editing the first line.
- Export the diagram as SVG or PNG, or copy the Mermaid source into your docs.
Frequently asked questions
What is Mermaid?
Mermaid is a text-based diagramming syntax: you write a short, readable definition (like 'flowchart TD; A --> B') and it renders to a diagram. GitHub, GitLab, Notion, and many docs tools render Mermaid natively, so the source you copy here works directly in a Markdown file.
Does the AI step send my text anywhere?
Only if you use it. Rendering and editing Mermaid happen entirely in your browser. The 'generate from a description' button is the one opt-in exception — it sends your description to our AI model to draft the Mermaid source, which you can then edit locally.
Which diagram types are supported?
Everything Mermaid supports: flowcharts, sequence diagrams, entity-relationship diagrams, class diagrams, state diagrams, Gantt charts, pie charts, and more. Change the diagram type by editing the first keyword of the source.
Can I export a transparent or high-resolution image?
PNG export renders at 2× for crisp output on a solid background; SVG export is resolution-independent and stays editable in vector tools. For embedding in Markdown, copying the Mermaid source is usually the best option since it stays diff-able in version control.
Related Documentation tools
- API Documentation Generator — Generate API docs from OpenAPI specifications
- Documentation Site Generator — Generate complete documentation websites
- License Generator — Generate various open source licenses