Mermaid ER diagrams for the Mac

Type it or draw it.
It’s still Mermaid.

Twofold is a native Mac editor for entity-relationship diagrams. Edit the text or the canvas and both stay in sync. The file stays plain Mermaid, so it renders on GitHub, GitLab, Notion, Obsidian and your docs site.

Get an email when the beta opens. No spam, unsubscribe any time.

erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE_ITEM : contains
    CUSTOMER {
        string id PK
        string name
        string email UK
    }
    ORDER {
        int id PK
        string customerId FK
        date placedAt
    }
    LINE_ITEM {
        int orderId PK, FK
        int quantity
    }
placescontainsCUSTOMERstringidPKstringnamestringemailUKORDERintidPKstringcustomerIdFKdateplacedAtLINE_ITEMintorderIdPK FKintquantity

Built for diagrams that live next to your code

No lock-in. It’s just a .mmd file.

Twofold saves standard Mermaid. Canvas positions go at the end of the file as Mermaid comments, which every other renderer ignores. Commit it, diff it, review it, and open it anywhere.

…
    LINE_ITEM {
        int orderId PK, FK
        int quantity
    }

%% @layout: node positions for the visual editor (ignored by Mermaid)
%% @pos 10 20 CUSTOMER
%% @pos 230 20 ORDER
%% @pos 230 190 LINE_ITEM

Coming to the Mac in 2026

A one-time purchase with a free trial. Join the waitlist to get into the beta.

Get an email when the beta opens. No spam, unsubscribe any time.