Kroki provides one API for generating diagrams from textual descriptions using libraries such as Mermaid, PlantUML, Graphviz, and D2.
Mermaid vs CLI
How do Mermaid and CLI compare? Here are the facts side by side: pricing, platforms, open-source status and what each one is for.
| Directory detail | Mermaid | CLI |
|---|---|---|
| What it is | Mermaid Live Editor creates charts and diagrams from text using Mermaid’s markdown-like syntax in a browser. | Kroki CLI converts diagram files through the Kroki service, inferring diagram type from the file extension by default. |
| Website | ||
| Type | Online tool | Open-source project |
| Topic | ||
| Pricing | Not confirmed | Not confirmed |
| Platforms | Web | Not recorded |
| Open source | Not stated | Yes |
| Language | English | English |
| Alternatives |
Other options to consider
Sites similar to both Mermaid and CLI.
Mermaid generates diagrams such as flowcharts and sequence diagrams from text using syntax similar to Markdown.
SankeyMATIC builds flow diagrams for comparing quantities across stages, with examples covering budgets, results, and processes.
PlantText provides an online editor for PlantUML code and generates class, sequence, activity, and state diagrams.
UMLet provides free, open source UML drawing with a simple interface for making diagrams, including sequence and activity diagrams.
Flowchart Fun converts text into flowcharts, mind maps, and process diagrams through an online text-based editor.





