WebSocket Frame Explainer
Decode WebSocket frame bytes into opcode, flags, mask and payload.
WebSocket frame (hex bytes)
Paste raw frame bytes as hex (spaces/colons/0x ignored) — e.g. captured from a packet dump.
Decoded frame
Mask key: 37 fa 21 3d
Hejlo
About the WebSocket Frame Explainer
Paste hex bytes from a WebSocket frame to decode the FIN bit, opcode, mask flag, payload length and unmasked payload, with each field explained.
Examples
Example
81 05 48 65 6c 6c 6fOutput
Text frame, FIN=1, payload: HelloKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
WebSocket Tester
API & HTTP
Open a live WebSocket connection, send frames and read replies.
API Breaking Change Detector
API & HTTP
Diff two OpenAPI specs and flag breaking changes.
API Changelog Generator
API & HTTP
Generate a Markdown changelog from two OpenAPI versions.
API Consistency Auditor
API & HTTP
Audit an API for naming, casing and response consistency.
API Contract Analyzer
API & HTTP
Lint an OpenAPI or Swagger spec for contract quality issues.
API Response Schema Generator
API & HTTP
Turn a JSON API response into OpenAPI, JSON Schema or TypeScript.
Frequently asked questions
Read more
- Debugging WebSockets: handshake, close codes, and reading a transcript
How to test a ws:// or wss:// endpoint from the browser, and what the common close codes actually mean.
Version 1.0.0 · Updated 2026-08-09 · Runs entirely in your browser