Connect to any WebSocket server, send messages, view frames in real time
wss://echo.websocket.org ws://localhost:8080WebSocket is a full-duplex communication protocol over TCP, standardised in RFC 6455. Unlike HTTP, WebSocket maintains a persistent connection, allowing the server to push data to the client at any time. It is ideal for chat applications, online games, trading platforms, live dashboards and real-time monitoring.
ws:// is unencrypted WebSocket. wss:// is WebSocket over TLS. Browsers block ws:// from HTTPS pages due to mixed content policy. Always use wss:// in production.
Enter the server address and click Connect. A successful handshake shows Connected status. You can also check for the Upgrade: websocket header in the browser's Network tab.
WebSocket defines control frames for ping and pong to check connection health. The server sends a ping frame; the client must reply with pong. A pong timeout typically triggers connection closure.