WebSocket client

Parses a WebSocket handshake and checks it against RFC 6455: method, version, upgrade headers, the 16-byte key length and the correct sec-websocket-accept value computed from the key. Encodes and decodes frames: text, binary, close, ping and pong, lengths up to 64 bits, masking, close codes and reasons, while rejecting control frames over 125 bytes and non-zero reserved bits. Frames are shown in hex.

Fill in the fields, run the tool and review the result. Your input is not added to a public page. Use the learning mode for calculation details.