Using GPT-4o-mini via OpenRouter
Press Ctrl+Enter to generate
Your diagram will appear here
AI Mermaid Sketcher
Describe a diagram in plain language and let AI generate valid Mermaid code. Edit the code anytime and see the live preview instantly.
How it works
- Write what you want in the AI Prompt tab.
- Click Generate or press Ctrl+Enter.
- Review and refine the Mermaid code in the Mermaid Code tab.
- Preview updates live on the right.
- Export the diagram as SVG from the header.
Tips
- Be specific about nodes, relationships, and flow.
- Mention the diagram type (flowchart, sequence, class, etc.).
- Use Mermaid syntax for fine-tuning after generation.
- Toggle theme from the header to match your preference.
Create beautiful diagrams with Mermaid syntax and AI assistance. Made with precision and care.