In your browser · Windows / Linux · macOS soon

Diagrams that are code.

Write a few objects on the left, watch the diagram lay itself out on the right — then drag any node and its position is written straight back into your code. Both directions. Always in sync.

Free to use, no account · a subscription for the extras: €4.99/month or €49.90/year · cancel anytime

01The loop

round-trip

The loop

  1. Write

    a few objects in Diagon's compact diagram language.

  2. Watch

    the layout engine draw and arrange the diagram live.

  3. Drag

    any node — its position lands back in your code.

  4. Ask

    your own AI assistant, once connected, to draw or change the diagram.

02What makes it Diagon

4 capabilities

What makes it Diagon

01

Diagrams as code

Write a few objects in Diagon's compact diagram language on the left; the diagram draws and lays itself out live on the right.

02

Drag writes code

Grab any node with the mouse and its position is written straight back into your code. The source stays the single source of truth — both ways.

03

Its own layout engine

A custom layered auto-layout engine built for this language — no external diagram libraries. The same engine draws in the desktop app and in your browser, on your own machine either way.

04

Works with your AI assistant

Diagon has no AI of its own. Connect an assistant that runs on the same computer — Claude Code or Claude Desktop, Cursor, Copilot in VS Code, Codex — and it can read the diagram you have open and draw or change it in your window. A chat in a web browser can't connect. Off until you switch it on; what the assistant reads goes to its own provider. Part of the subscription, in the desktop app.

03See it move

the loop, recorded

See it move

Demo video

Being recorded.

04How buying works

How buying works

Free to use. Subscribe for the extras.

Diagon is free — no account, no card, no time limit — in your browser and on your desktop. A subscription adds a short list of extras — €4.99 a month, or €49.90 a year with two months free. Cancel anytime; when it ends, Diagon carries on as the free app. Nothing ever locks, and your diagrams — plain-text files — stay yours either way. Checkout, invoicing and VAT are handled by FastSpring, our merchant of record.

Free

For as long as you like

  • The editor, with live preview and undo
  • Every shape and colour, icons from any link
  • Boxes inside boxes, every direction
  • Dashed, dotted, thick and double lines
  • Curved and straight routing
  • Drag to place, Auto-arrange
  • Open, Save, PNG export
Subscription

Everything free, and

  • Flow lines — dashes that travel along an arrow
  • Orthogonal routing — lines with right angles
  • Auto-colour for every group of boxes
  • SVG export — sharp at any size
  • GIF export — flow lines keep moving
  • Your own AI assistant, connected (desktop app)

Without a subscription, a diagram that asks for one of the extras is still drawn — the plain way — and your text is never changed. How it works, exactly

  • Your browser
  • Windows
  • Linux
  • macOS · soon

05Questions

5 answers

Questions, answered

Is Diagon free?
Yes — to use, for as long as you like, with no account and no card: the editor, shapes, colours, icons, boxes inside boxes, saving, and PNG export. There is no trial and nothing locks. A subscription adds a short list of extras.
What does the subscription add?
Flow lines, orthogonal routing, auto-colour, SVG and GIF export, and the connection for your own AI assistant in the desktop app — €4.99 monthly, or €49.90 yearly (two months free). You enter a licence key once; it renews itself with a tiny licence check when you're online. Cancel anytime in FastSpring's portal, or from the subscription link in your receipt. When it ends, Diagon carries on as the free app — your diagrams are plain-text files and stay yours either way.
What is different in the browser?
Very little: it is the same editor, language and layout engine, and your diagrams still stay on your computer — the page draws them in your own browser. Files open and save through the browser (in Chrome and Edge straight to your disk), the browser keeps your work between visits, and connecting an AI assistant needs the desktop app.
Does Diagon send my data anywhere?
Not your diagrams. Diagon has no telemetry and no AI of its own, and it never uploads what you draw. It reaches the network for three small things, none of which carries diagram text: a licence check that sends your licence key and nothing else (only if you have entered one), update checks and downloads from GitHub (the desktop app), and any icon URL in a diagram, fetched from the host it names. The browser edition also loads its own page from our host, like any website. If you connect your own AI assistant, what it reads from the open diagram is sent by that assistant to its own provider, under your agreement with them — never to us. That connection is off until you switch it on.
Which platforms?
Any current desktop browser — on a Mac too — with nothing to install. As a desktop app: Windows and Linux (AppImage + deb) today, each download about 100–130 MB. The macOS build is on its way.