Skip to content
Convertto

Parse a Raw SSE Stream from an LLM API

Paste a raw server-sent-event stream and get the reconstructed message, tool calls, usage and stop reason.

This parser reads a raw server-sent-event stream from a language-model API and reconstructs what it produced: the full message text, any thinking blocks, every tool call with its accumulated arguments, the token usage and the stop reason. It handles the Anthropic, OpenAI and Gemini wire formats, and flags tool arguments that never finished streaming — the usual cause of a JSON parse failure in production.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Why do my tool-call arguments fail to parse?

Because they arrive as fragments across many frames and only form valid JSON once the last one lands. If the stream was cut short — a timeout, a dropped connection, a truncated log — the accumulated string is a partial object. This parser reassembles the fragments and tells you whether the result actually parses.

Is the stream sent anywhere?

No. Parsing happens in your browser, which matters because a raw stream from your own logs often contains the prompt, the system message and identifiers.

How to use the llm stream parser

  1. 1Enter or paste your raw stream.
  2. 2Choose the wire format.
  3. 3Turn "List every event" on or off as needed.
  4. 4Press Run, then download the result when it is ready.

Sources & specifications

Embed this tool

Put the working llm stream parser on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More ai & llm tools