WebSocket Tester

Connect to a WebSocket (wss://) server, send messages and watch the replies live in your browser.

How do I test a WebSocket connection?

Enter the wss:// URL and press Connect. Your browser opens the WebSocket directly, shows the connection time and any sub-protocol, and logs every message sent and received plus the close code, so you can debug real-time APIs and chat servers.

Common close codes

CodeMeaning
1000Normal closure
1001Going away (server restart, page closed)
1006Abnormal closure (no close frame — network or TLS problem)
1008Policy violation (often authentication)
1011Server error

Frequently asked questions

Why can’t I use ws://?

Browsers block unencrypted ws:// from HTTPS pages; use wss://.

Does URLMode see my messages?

No, the connection goes straight from your browser to the server.

Can I send binary data?

This tester sends text messages; binary replies are shown by size.