SSE Stream Replayer
SSE Stream Replayer
Parse any Server-Sent Events log and replay token deltas with adjustable speed, timing chart, and event-type breakdown.
Event types
Token emission timeline
Frames (8)
| # | event | data |
|---|---|---|
| 0 | message_start | {"type":"message_start","message":{"id":"msg_01","model":"claude-sonnet-4"}} |
| 1 | content_block_start | {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}} |
| 2 | content_block_delta | {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello"}} |
| 3 | content_block_delta | {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" there"}} |
| 4 | content_block_delta | {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":", how can I help?"}} |
| 5 | content_block_stop | {"type":"content_block_stop","index":0} |
| 6 | message_delta | {"type":"message_delta","delta":{"stop_reason":"end_turn"},"usage":{"output_tokens":12}} |
| 7 | message_stop | {"type":"message_stop"} |
What This Tool Does
SSE Stream Replayer is built for deterministic developer and agent workflows.
Paste a Server-Sent Events log from any provider, parse event and data frames, and replay token-by-token with adjustable speed, timing chart, and event-type breakdown.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/sse-stream-replayer/
For automation planning, fetch the canonical contract at /api/tool/sse-stream-replayer.json.
How to Use SSE Stream Replayer
- 1
Paste an SSE log
Drop a raw Server-Sent Events transcript captured from any provider — OpenAI, Anthropic, Gemini, or a custom backend. Frames are delimited by blank lines per the SSE spec.
- 2
Inspect frames and event types
The Frames table lists every parsed frame with its event name and data. The event-type panel shows how often each event appears, surfacing imbalances like missing content_block_stop frames.
- 3
Replay token-by-token
Press Play to stream the extracted text deltas into the output pane. Switch speeds between 0.25x and 4x, step forward and back, or restart from the beginning to inspect a specific moment.
- 4
Read the timing chart
The token-emission timeline buckets tokens by their position in the stream so you can spot bursts, long silences after tool calls, or front-loaded responses without leaving the page.