Tools / Editor

Logs to Sequence Diagram Converter

Turn structured CSV or JSON events into a sequence diagram. Prepare timestamps and message endpoints, then preview the ordered conversation.

Prepare ordered events and participants

Turn structured message events into a sequence diagram for a request path or incident explanation. Supply the sender, receiver, timestamp, and message for each event. The tool preserves your event order; it does not discover participants or causality from free-form log lines.

A worked example

Input

timestamp,from,to,message
10:00:00,Client,API,POST /orders
10:00:01,API,Database,Insert order
10:00:02,Database,API,Committed
10:00:03,API,Client,201 Created

Diagram source

sequenceDiagram
participant p0 as Client
participant p1 as API
participant p2 as Database
p0->>p1: 10:00:00 · POST /orders
p1->>p2: 10:00:01 · Insert order
p2->>p1: 10:00:02 · Committed
p1->>p0: 10:00:03 · 201 Created
A client sends an order request, the API writes to the database, and the responses return. The diagram explains the supplied message trace, not a measured latency profile.

How to use this tool

  1. Prepare CSV with timestamp,from,to,message headers, or a JSON array using those fields.
  2. Sort the events chronologically before importing. Normalize participant names so the same service is not shown twice.
  3. Preview the trace, verify request and response endpoints, and remove sensitive values before sharing the diagram.

What to check

DetailGuidance
OrderInput order is preserved. Timestamps do not automatically sort or correlate events.
SizeUp to 300 events and 40 participants are accepted. Reduce a large incident to one relevant trace.
InterpretationMessages are displayed as provided. The converter does not prove causality, calculate durations, or reconstruct missing log events.

Common questions

Can I paste ordinary application logs?

First extract the four required fields into CSV or JSON. Raw stack traces and unstructured sentences are not automatically interpreted. Use a trace ID or other reliable correlation field when preparing the event list.