How to use
Enter the SSE URL (https://… or http://…).
Choose how to read it. EventSource is the browser’s built-in way and cannot set headers. The fetch stream can set headers such as Authorization (only where CORS allows).
Press Connect (Ctrl/⌘+Enter also works). Events appear in the log on the right, newest first. With EventSource, enter the event names to listen for if you want anything other than “message”.
Select a log entry to read its body as text, formatted JSON or hex. The id and event type appear in the list. You can search and save the log as JSON Lines or text.
To check without connecting, paste the body of a text/event-stream and press Split it.
What it does
Connects straight from your browser
Connecting and receiving happen only between your browser and the other server. This site’s server neither relays nor stores the traffic. Opening the page does not connect; only pressing Connect does.
EventSource or a fetch stream
EventSource is the browser’s built-in way and cannot set headers. Reading with a fetch stream lets you set headers such as Authorization and Last-Event-ID. It works only where CORS allows it, and some headers trigger a preflight first.
Parsed as the WHATWG specification says
The tool parses event, id, retry, data and comments itself, following how the HTML Standard interprets an event stream (CRLF, LF and CR line ends, the BOM, joining several data lines, dispatching at an empty line, dropping an unfinished event at the end). Pasted text goes through the same code.
Search, format and save the log
Up to 2,000 events and about 50 MB in total are logged. Filter by event name or body, read JSON formatted, and save as JSON Lines or text.
Causes of a failed connection, in order
CORS, the response status and Content-Type, mixed content, the header limits and proxy buffering, in that order.
Use cases
- Check that an SSE endpoint in development returns the event, id and data you expect
- Narrow down why EventSource cannot receive (CORS, Content-Type, status)
- Read an SSE endpoint that needs an Authorization header with a fetch stream
- Try a reconnect with Last-Event-ID to see whether the server resumes from there
- Split an event-stream text taken with curl into event, id and data as the specification says
Supported formats
Input
Capability matrix
| Feature | Support | Notes |
|---|---|---|
| Connect with EventSource and log event, id and data | Supported | — |
| Connect with a fetch stream (add Authorization and other headers, Last-Event-ID) | Supported | Only where CORS allows it |
| Split into event, id, retry, data and comments (as specified) | Supported | — |
| Split a pasted event-stream text | Supported | No connection is made |
| Automatic reconnect after a drop | Partial | Off by default. When on, it has a limit of 1 to 10 attempts |
| Setting headers (such as Authorization) with EventSource | Not supported | The browser’s EventSource cannot set headers. Use the fetch stream |
| Showing retry and comments received through EventSource | Not supported | EventSource does not hand them to the page. The fetch stream or the pasted-text split shows them |
| SSE with POST or other non-GET methods | Not supported | GET only |
| Connecting to servers your browser cannot reach | Not supported | This site’s server does not relay |
Limits & notes
- One data value is cut at 1 MB (the original length is shown in the log). A line longer than 1 MB with no line break is dropped. Pasted text is limited to 1 MB.
- The log keeps the newest 2,000 events and about 50 MB in total, dropping the oldest first. The list shows the newest 300.
- A connection is stopped after 60 minutes. The fetch stream also stops after receiving more than 256 MB.
- Automatic reconnect is off by default. Even with EventSource, if you do not turn it on, the connection is closed at the first drop (the browser’s built-in reconnect is not used).
- The URL can be up to 2,000 characters and cannot contain a user name or password. Up to 20 headers. Headers the browser sets itself (Cookie, Host, Origin, Sec-* …) cannot be added.
- Only the URL (without query and fragment), the way of reading, the event names and the reconnect settings are saved. Authorization, headers and Last-Event-ID are not.
- While this page is https, an http:// address cannot be reached (except in browsers that let localhost through).
Privacy & safety
The only server contacted is the one at the URL you enter. Traffic goes straight from your browser to it; this site’s server neither relays nor stores it. The Authorization value and headers are not saved and not written to the log. The log disappears when you close the page.
FAQ
Can I add an Authorization header to EventSource?
Why can’t EventSource connect?
What is Last-Event-ID?
What is retry?
Why do events arrive late and in bursts?
How is this different from the WebSocket client or CORS Studio?
Related tools
WebSocket Client
Enter a ws:// or wss:// URL and press Connect: your browser connects straight to the server, and you can send and log messages. This site’s server relays nothing.
curl Converter
Paste “Copy as cURL” from Chrome or Firefox to see the method, URL, headers, cookies and body in tables, then convert to 12 kinds of code. The request is never sent and everything runs in your browser. Authorization and cookies can be hidden before you share.
CORS Studio
When the browser blocks a request with a CORS error, paste the request (Origin, method, headers, credentials) and the response headers. The tool says whether the browser allows it and why, header by header, and builds the server settings that allow it.
MQTT Client
Enter the URL of an MQTT-over-WebSocket broker (ws:// or wss://) and press Connect: your browser connects straight to the broker and you can subscribe and publish. This site’s server relays nothing. A browser cannot reach plain TCP (port 1883).
Socket.IO Client
Enter a Socket.IO server URL and press Connect: your browser connects straight to it, emits events with JSON arguments, and logs every event and ack that arrives. This site’s server relays nothing. It is a v4 client, so it cannot connect to a v2 server.
Diff Tool — Text & Code Compare
Paste or drop two versions and see added and removed lines, plus the exact words that changed inside each line. Copy or save the result as a unified patch. Nothing leaves your browser.
Last updated: