Why standard JSON viewers fail on SSE streams
LLM streaming APIs (OpenAI Responses, Chat Completions, Anthropic Messages, MCP transports) return text/event-stream payloads with event:, id:, and data: prefixes plus terminal markers such as data: [DONE]. Standard JSON formatters reject the whole response as invalid syntax.
event: response.output_item.added
data: {"type":"function_call","arguments":"{\"customerId\":\"cus_42\"}"}
data: [DONE]How to inspect an SSE response
- Copy the raw
text/event-streamresponse from Chrome DevTools, curl, or your proxy capture and paste it above (or drop a.sse/.logfile). - Unquote follows WHATWG SSE rules: multiline
data:fields are joined with\n, comments starting with:are skipped, and each event block becomes one record with its starting line number. - JSON inside
data—and stringified JSON inside tool arguments—expands into a searchable tree automatically. Non-JSON payloads like[DONE]remain readable strings without failing the stream. - Search across events, compare two events with Compare JSON, or project fields into a Record Table and export CSV.
Built for capture logs and trailing events
Unlike a live browser EventSource, Unquote still dispatches the final event block even if a copied capture does not end with a trailing blank line. Each event stays an independent record rather than mutating or stitching deltas together, so you see the exact wire payload.
Local browser processing
SSE captures often contain user prompts, tool outputs, and API metadata. Unquote parses streams inside a local browser Web Worker without uploading your payload to any server.
Frequently asked questions
- How do I view an OpenAI or Anthropic SSE (text/event-stream) response?
- Paste the raw text/event-stream response from DevTools, curl, or a proxy log into Unquote above. It parses each event: and data: block into a separate record, expands JSON inside data fields, and handles non-JSON markers like [DONE] cleanly.
- Does Unquote expand escaped JSON inside SSE tool call arguments?
- Yes. After parsing each SSE event's data field as JSON, Unquote recursively expands stringified JSON values inside it—such as LLM function call arguments—so you can inspect and search nested parameters directly in the tree.
- Does Unquote merge streaming delta chunks into one message?
- No. Each SSE event block stays a faithful, independent record linked to its original starting line number. This lets you debug exact event order, fields, usage payloads, and malformed chunks without hiding wire-level details.