How to use Sequence Diagram Builder
- Enter participants in left-to-right order and add ordered message or reply events.
- Use alt, optional else and end events to enclose alternative branches.
- Run the diagram and inspect labels, arrow directions and participant lifelines.
- Download the standalone SVG and JSON model for later editing.
Example: Sequence Diagram Builder
Build ordered message diagrams with replies and alternative frames.
Supported inputs and limits
- JSON up to 2 MiB, 30,000 values and 40 nesting levels.
- Use 1–12 distinct participants, names up to 32 characters, and 1–100 events.
- Labels are limited to 120 characters.
- Alternative frames may nest four levels and have one else per frame; each must close with end.
- Diagram height is capped at 10,000 pixels.
More details
Supports ordered messages, replies and self messages, not timing simulation, activation bars, automatic code extraction or evaluated conditions.
SVG contains escaped local text and no external resources.
JSON numeric literals are limited to 128 characters and must retain their decimal value through browser Number conversion; integers outside the safe integer range and unsupported precision are refused.
SVG labels must use XML 1.0 characters; unsupported controls and lone surrogates are refused rather than removed.
Where your input is processed
This tool does not upload your inputs. See the limits for anything saved on your device.
Questions about Sequence Diagram Builder
How are replies distinguished from requests?
Reply events use dashed arrows. Message events use solid arrows; both follow the supplied event order and participant names.
Can the diagram contain conditional branches?
An alt event opens a labelled frame, else marks its alternate branch, and end closes it. The labels describe entered conditions; the tool does not execute them.
Can I reopen and edit the diagram later?
Keep the exported JSON model and paste it back to change participants or events. The standalone SVG can also be opened in a browser or vector editor.