Skip to content
Whiteboard.zone Open the board

Sequence Diagram Template

A sequence diagram shows how parts of a system exchange messages over time. Participants sit across the top, a dashed lifeline runs down from each, and arrows show the messages in order. This template shows a login: the user clicks log in, the web app calls the API, the API looks up the user in the database and the replies come back.

Start drawing — free, no sign-up

Sequence Diagram Template

When to use a sequence diagram

Use it to design or explain an interaction: an API call, a payment, a login, a background job. It shows the order of calls and who waits for whom, which makes it useful for finding unnecessary round trips, missing error handling or unclear responsibilities.

Notation used

Solid arrows are requests or calls; dashed arrows are replies. Messages are numbered in the order they happen. To show alternatives, such as a failed login, draw a box around the messages and label it alt with the condition.

How it works

  1. Open the template

    Open the template in the editor from this page. The board loads with every shape, label and arrow ready to edit.

  2. Set the participants

    Rename the boxes at the top to the people, services or components involved, and copy one to add more.

  3. Write the messages

    Edit the arrow labels in order, using solid arrows for calls and dashed arrows for replies.

  4. Add error paths

    Below the main flow, add the messages for what happens when something fails.

Frequently asked questions

Is this proper UML?

It follows the main UML conventions: participants, lifelines, solid requests and dashed replies. For informal design discussions that is usually all you need.

How do I add a message?

Copy an existing arrow, move it to the right height and edit its label. Stretch the lifelines if you need more room.

Can I work on it with other people?

Yes. Start a live collaboration session from the editor and send the room link. Everyone with the link can edit the same board at the same time.

How do I save or share the finished board?

Export it as a PNG or SVG image, or save it as an .excalidraw file that you can open again later and keep editing.

Your board is one click away.

Start drawing — free, no sign-up