WebSocket Tester

Connect to a WebSocket server, send text, JSON or binary messages and see every message, with its size and time, and why the connection closed

Sent to the WebSocket server you enter (echo.websocket.org for the example): the messages you send, and the subprotocols you name.

Uses a third party
Enter a ws:// or wss:// address.
A subprotocol is a single word (letters, digits and ! # $ % & ' * + - . ^ _ ` | ~), each named once.
Optional, separated by commas: the server picks one of them. A browser can't add headers to a WebSocket (no Authorization, no cookie of another site): a token goes in the URL or a subprotocol.
Message
or ⌘Ctrl+Enter