Create diagrams from text

DGMO is a plain-text diagram language for developers. Write what you mean — get sequence diagrams, flowcharts, entity relationship diagrams, org charts, and 26 more chart types.

DGMO syntax

sequence Login Flow

User -login(email, pass)-> AuthService
AuthService -findByEmail(email)-> UserDB
UserDB -user record-> AuthService
AuthService -token-> User

Rendered output

Login FlowUserAuthServiceUserDBlogin(email, pass)findByEmail(email)user recordtoken
See how DGMO compares to Mermaid, D2, and PlantUML →

Desktop App

A diagram editor with live preview

Write text, see your diagram update instantly. 32 chart types including sequence diagrams, flowcharts, infrastructure diagrams, sitemaps, and org charts. 8 color palettes, Vim mode, and export to PNG, SVG, PDF, or HTML.

macOS 12+ Apple Silicon Free

More ways to use Diagrammo

The same diagram language works everywhere — browser, terminal, npm, AI agents, and Obsidian.

Browser

Free online diagram maker — no sign-up required

The playground runs entirely in your browser. Write text and export diagrams instantly.

Free No install
Learn more →
CLI

Diagram CLI — render from the terminal

Pipe a .dgmo file through dgmo and get a PNG or SVG. Fits into scripts, CI pipelines, and Makefiles.

brew install diagrammo/dgmo/dgmo
Learn more →
Library

JavaScript diagram library

Import @diagrammo/dgmo as an open-source npm package. Parse DGMO source and render SVGs programmatically.

npm install @diagrammo/dgmo
Learn more →
AI

MCP server for AI agents

Give Claude and other AI tools the ability to create diagrams. Just describe what you want.

npx -y @diagrammo/dgmo-mcp
Learn more →