Write it in Mermaid, PlantUML, D2 or DOT. Watch it draw.

Diagrammar opens diagram code on iPhone, iPad and Mac and draws it on the device.

Download on the App Store

Free to view. Pro is $14.99, once.

release.mmd

flowchart LR    Write([Write]) --> Review[Review]    Review --> Tests{Tests pass?}    Tests -- No --> Write    Tests -- Yes --> Merge[Merge]    Merge --> Release([Release])

drawn by Diagrammar

No Yes Write Review Tests pass? Merge Release
No Yes Write Review Tests pass? Merge Release

detected: Mermaid

release.puml

@startumlstart:Write;:Review;if (Tests pass?) then (yes)  :Merge;  :Release;else (no)  :Write;endifstop@enduml

drawn by Diagrammar

yes no Write Review Tests pass? Merge Release Write
yes no Write Review Tests pass? Merge Release Write

detected: PlantUML

release.d2

direction: right Write -> ReviewReview -> Tests: {  label: ""}Tests: Tests pass? {  shape: diamond}Tests -> Merge: yesTests -> Write: noMerge -> Release

drawn by Diagrammar

no yes Write Review Tests pass? Merge Release
no yes Write Review Tests pass? Merge Release

detected: D2

release.dot

digraph release {    rankdir=LR;    node [shape=box, style=rounded];     Write [shape=ellipse];    Review;    Tests [shape=diamond, label="Tests pass?"];    Merge;    Release [shape=ellipse];     Write -> Review;    Review -> Tests;    Tests -> Merge [label="yes"];    Tests -> Write [label="no"];    Merge -> Release;}

drawn by Diagrammar

no yes Write Review Tests pass? Merge Release
no yes Write Review Tests pass? Merge Release

detected: DOT

Open the files you already have.

Diagrammar reads diagram files straight from Files and iCloud Drive and works out which language they're in by itself. There's no dialect picker and nothing to convert. For a blank page, there are 27 templates across the four languages.

Diagrammar's template gallery on iPhone, with starter diagrams grouped by language.
Template gallery on iPhone. Free.

Every diagram is drawn on your device. Diagrammar has no web view, no JavaScript and no network code, so it works offline and sends nothing anywhere.

privacy label: Data Not Collected

One diagram, five ways to lay it out.

Choose the direction, how edges route and which layout engine arranges it: dot, neato, FDP, Dagre or tidy tree. Layout controls are free.

The same graph of about ten nodes, arranged by the dot layout engine.
The same graph of about ten nodes, arranged by the neato layout engine.
The same graph of about ten nodes, arranged by the tidy tree layout engine.

layout.dot, drawn by Diagrammar with three of its five layout engines.

A whole README, drawn in place.

Markdown mode opens a Markdown file and draws every fenced diagram block where it sits, between your paragraphs, in any of the four languages. Part of Pro.

README.md

## Request flow Every checkout goes through a synchronous handshake with Payments before theorder is persisted. The steps below cover the happy path. ```mermaidsequenceDiagram    participant Client    participant Checkout    participant Payments    participant Orders    Client->>Checkout: POST /checkout    Checkout->>Payments: Authorize    Payments-->>Checkout: Approved    Checkout->>Orders: Create order    Orders-->>Checkout: Order id    Checkout-->>Client: 201 Created```
A README open in Diagrammar's Markdown mode on iPhone, with a sequence diagram drawn between paragraphs.A README open in Diagrammar's Markdown mode on iPhone, with a sequence diagram drawn between paragraphs.
The same README in Markdown mode on iPhone.

PNG, PDF, print or clipboard.

The share extension turns diagram text from another app into a picture. On the Mac, Quick Look previews diagram files in Finder; on iPhone and iPad, Files shows them as thumbnails.

Diagrammar's export menu on iPhone: Export PNG, Export PDF, Copy as Image, Print.
Export menu on iPhone. Pro.
The Files app on iPhone showing diagram files as drawn thumbnails.
Diagram files as thumbnails in Files on iPhone. Free.

Viewing is free. Writing costs $14.99, once.

Free versus Pro features and price
FeatureFreePro
Open and view all four languagesyesyes
Layout controls and zoomyesyes
Templatesyesyes
Light, Dark and System themesyesyes
Edit in every languageyes
Markdown modeyes
Export, print, copy as imageyes
Share extensionyes
Full theme catalogyes
Price$0$14.99 once

One purchase covers iPhone, iPad and Mac, and Family Sharing is on. You pay once; there's no subscription.

Download on the App Store

Why this exists.

I keep my diagrams as text, next to the code they describe. On a laptop that's fine. On a phone they stayed text, and none of the viewers I tried read all four of the languages I actually use. So I built an app that reads all four and draws them itself, without a browser inside. The icon is a small diagram too, three flowchart shapes whose edges trace a D.

Bakhtiyor, Silkway Studio

Diagrammar's icon, edges and nodes drawn separately.

What's new

REV 1.0, updated

  • First release
  • Diagrammar renders Mermaid, PlantUML, D2, and Graphviz DOT natively on iPhone, iPad, and Mac, entirely on your device, with no web view and no network access
  • Every format renders free, with pan, zoom, and layout controls
  • Rendered thumbnails in Files, and Quick Look on Mac
  • 27 starting templates across all four dialects
  • Pro: split-view editor with live preview, Markdown mode, PNG/PDF export, print, share extension, and the full theme catalog