Text to Diagram (Mermaid)
Describe a process, system or plan in plain words and choose a diagram type: flowchart, sequence, UML class, state, entity relationship, Gantt or mind map. The AI writes Mermaid code you can paste into GitHub, Notion or Markdown, or open in the Mermaid Live Editor.
Uses a third-party AI providerYour description is sent through our server to an AI provider to produce the answer. It is not stored.
How to use Text to Diagram (Mermaid)
- Describe it. Write the steps, parts or relationships in plain words.
- Pick a diagram type. Choose flowchart, sequence, UML class, state, ER, Gantt or mind map.
- Create. Click Create diagram, then copy the code or open it in the live editor.
Example
An order process as a flowchart.
Description
A customer places an order. If the item is in stock, payment is taken and the order ships; if payment fails, the customer is asked to retry…
Options: Flowchart
Typical answer
flowchart TD
A[Order placed] --> B{In stock?}
B -->|Yes| C[Take payment]
C -->|OK| D[Ship order]
C -->|Failed| E[Ask to retry]
B -->|No| F[Offer back-order or refund]AI answers vary from run to run; this shows a typical result.
Formats, limits and privacy
- Input
- Plain text
- Output
- Plain text
- Limits
- Description up to 4,000 characters; diagrams of about 30 boxes at most.
- A daily number of AI requests per visitor, shared by all AI tools, plus an overall daily budget for the site.
- Needs our server and an AI provider. AI answers can be wrong, so check them before you rely on them.
- Privacy
- Your input is sent to a third-party AI provider to generate the result.
Troubleshooting
The Mermaid Live Editor shows a syntax error
Click Create diagram again, or fix the line the editor points to; labels with brackets or quotes are the usual cause.
"You have reached today's limit for AI tools"
The daily AI allowance is used up. The message says when it resets; browser-based tools keep working meanwhile.
"The AI gave an answer in the wrong format"
The model's reply could not be read. Click the button again; it usually works on the second try.
Frequently asked questions
How do I see the picture?
Click Open in Mermaid Live Editor, or paste the code in a ```mermaid block in GitHub, GitLab, Notion or Obsidian, which draw it for you.
What happens to my text?
It is sent through our server to an AI provider to produce the answer, then discarded. We do not store it or use it for training.
Which AI does it use?
A provider such as OpenAI, with Anthropic as a backup, chosen by us. Your text is processed to write the answer and is not stored by us.
Is it free?
Yes. Each visitor gets a number of AI requests per day, shared across all AI tools, so the service stays free.