Start a project

Tool 142 of 194 · Architecture

Sequence Diagram from Text

Type who talks to whom and get a tidy sequence diagram as SVG, ready for docs, plus the same diagram in Mermaid and PlantUML.

Sequence Diagram from Text

Diagram text

    Arrows: ->> solid, -->> dashed reply, -x lost, -) async, -> no head. Add + or - after the arrow to start or end an activation. Blocks: loop, alt / else, opt, par / and, critical, break, each closed with end.

    Diagram

    SVG

    Mermaid

    Mermaid

    PlantUML

    PlantUML

    01

    What it does

    Draws sequence diagrams from Mermaid-style text as a standalone SVG, with activations, notes and alt/loop blocks, and exports Mermaid and PlantUML.

    • Mermaid sequenceDiagram syntax: participants, actors, aliases and titles
    • Solid, dashed, lost (x) and async arrows, self-messages and autonumber
    • Activation bars with +/- or activate/deactivate
    • Notes left of, right of and over participants

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    An SVG diagram plus Mermaid and PlantUML text, with a Copy and a Download button on every result.

    • Sequence diagrams
    • Mermaid
    • PlantUML
    • SVG

    Why it matters

    Sequence diagrams are the clearest way to show an API flow or an authentication handshake, but drawing tools make them slow to edit, and text-based tools need a renderer that isn't always available where the diagram ends up: a PDF, a slide or a wiki without Mermaid support.

    This builder takes the Mermaid sequence diagram syntax many developers already know and draws a self-contained SVG with everything styled inline, so it renders the same in any browser, document or image viewer. The same diagram comes out as Mermaid for Markdown and as PlantUML for teams that use it, and syntax errors are reported by line.

    How to use it

    1. Write participants, then one message per line.
    2. Add blocks such as alt or loop, closed with end.
    3. Check the diagram and any syntax notes.
    4. Download the SVG, or copy the Mermaid or PlantUML.

    FAQ

    Is the syntax the same as Mermaid?

    It's the sequenceDiagram subset most diagrams use: participants, actors, arrows, activations, notes, blocks, autonumber and title. Paste the Mermaid export into anything that renders Mermaid.

    Why is the SVG better than a screenshot?

    It's sharp at any size, small, and the text stays searchable and selectable.

    Can I convert Mermaid to PlantUML?

    Yes. Paste a Mermaid sequence diagram and copy the PlantUML output.

    Is my diagram sent anywhere?

    No. It's drawn in your browser.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk