Connect to any WebSocket server, send messages, and inspect real-time events β right in your browser. Supports text, JSON, and binary.
This tool opens a real WebSocket connection from your browser to any ws:// or wss:// server. Once connected, you can send text or JSON messages and watch server responses appear in the message log with timestamps, direction indicators, and a running count of sent and received frames.
The connection is established directly between your browser and the server β no proxy or relay is involved. It supports optional sub-protocols (graphql-ws, STOMP, MQTT) and Quick Message presets to speed up testing common patterns like ping/subscribe payloads.
graphql-ws sub-protocolCommon causes are: wrong URL scheme (using wss:// for a non-TLS server, or vice versa), the server rejecting the origin because it has no CORS-equivalent policy for WebSockets, or the server requiring a specific sub-protocol header. Check the browser console for the specific close code and reason.
Sub-protocols are application-level agreements between client and server about the message format. For example, GraphQL subscription servers expect the graphql-ws sub-protocol; STOMP message brokers expect v10.stomp. If the server requires a specific sub-protocol and the client does not send it, the handshake will be rejected.
This tool sends text and JSON string frames. The message log displays incoming binary frames as a size indicator (e.g., "[Binary: 128 bytes]") but does not decode them. For binary protocol testing (protobuf, MessagePack), use a native WebSocket client like wscat or websocat from your terminal.