Home / Diagramming / AI Mermaid diagram

AI Mermaid diagram

Pick a chart type (14 in all: flowchart, sequence, class, state, ER, gantt, pie, quadrant, timeline, kanban, mind map, git graph, user journey and C4), type a description, and after payment the AI writes Mermaid code for that chart type directly. The result renders on the page immediately, and every chart type ships with a sample and prompt hints — one click fills the sample if you are stuck. Copy the code in one click, or hit “Edit on the Mermaid diagram page” to jump over with the code pre-loaded, then tweak the diagram by hand and export PNG / SVG / PDF. Pay per use, ¥0.5 each; the description is sent to our backend to call the model only after payment succeeds, and failed calls are refunded automatically.

Pay per run (¥0.5 per run), no sign-up, Alipay online payment only. text description is sent to our backend to generate the report only after payment succeeds, the result comes straight back, and failed runs are refunded automatically.

More tools in Diagramming

Frequently asked questions about AI Mermaid diagram

Fourteen chart types in all: flowchart, sequence, class, state, ER, gantt, pie, quadrant, timeline, kanban, mind map, git graph, user journey and C4. The AI writes Mermaid code for the selected chart type directly, and the result renders on the page immediately. Gantt charts need dates, pie charts need numbers and quadrant charts need their two axes spelled out — the more specific the description, the better the result.
Fourteen types: flowchart, sequence, class, state, ER, gantt, pie, quadrant, timeline, kanban, mind map, git graph, user journey and C4. The AI writes Mermaid code following the selected chart type’s grammar and renders the preview in place. Gantt charts want dates, pie charts want numbers and quadrant charts want both axes described — the more specific your description, the better the output.
How do I edit the generated code?
Hit “Copy code” and paste it on the Mermaid diagram page, or click “Edit on the Mermaid diagram page” and the code is carried over automatically (it is synced to that page’s local cache). There you can tweak the code, see syntax errors with line numbers and export PNG / SVG / PDF. Code that fails to render can still be copied — rephrase and regenerate, or fix the syntax by hand on the editor page.
Which Mermaid dialects are supported?
Flowcharts start with flowchart TD; then sequenceDiagram, classDiagram, stateDiagram-v2, erDiagram, gantt, pie, quadrantChart, timeline, kanban, mindmap, gitGraph, journey and C4Context / C4Container. A few dialects have limited Chinese support (quadrant coordinates and C4 aliases are best written in English); if generation errors out, rephrasing the description usually fixes it.

About Local Toolbox

Local Toolbox gathers the small tools you reach for every day into one place: formatters, encoding converters, date maths, ID card and address parsing, image and QR code handling, password and amount conversion. Open a page and start working — no sign-up, and almost every tool has no usage limit.

Most features compute inside your browser, so your input never leaves your device; the pages are plain static assets, load fast and keep working offline. The IP page asks our backend for your outbound address when it opens and sends none of your input. AI watermark removal, AI background removal, AI image generation and AI upscaling send content to our backend for inference (watermark removal is ¥1 per run; background removal is ¥1 per run; image generation and upscaling are priced by resolution — 2K ¥2, 4K ¥3); AI annotation sends images to a large model that locates the target and returns coordinates (¥0.5 per image, refunded only when every image in the batch fails); AI flowchart, AI mind-map and AI Mermaid chart generation send your text description to a model that builds the diagram (three separate products, charged ¥0.5, ¥0.5 and ¥0.5 per run respectively); and the accounting helper sends the income, expense, social-insurance and balance figures you fill in to generate a report (¥0.5 for the spoken analysis, ¥1 for the report). These features accept Alipay only, upload nothing before payment succeeds, and refund automatically if processing fails.

Links