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?
Is the stream sent anywhere?
How to use the llm stream parser
- 1Enter or paste your raw stream.
- 2Choose the wire format.
- 3Turn "List every event" on or off as needed.
- 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
Related tools
AI API Cost CalculatorWork out what a prompt costs per call, per day and per month, and compare the same workload across every major model.Context Window CalculatorPaste a document and see which models it fits inside, how much of each window it fills, and what is left for the reply.LLM Model ComparisonEvery current model side by side: price per million tokens, context window, max output, modalities and cache rates.LLM Token CounterCount tokens with the real BPE vocabulary, see every token coloured in place, and compare the count across models.Prompt Injection SanitizerStrip invisible carriers, neutralise instruction-like markup and fence untrusted content before you paste it into a prompt.Prompt Template GeneratorWrite a prompt once with placeholders, paste rows of data, and get every filled prompt back with its token count and cost.
Last updated
More ai & llm tools