WebSocket Client

Connect to WebSocket servers, send and receive messages in real-time — test your WebSocket APIs in the browser

Disconnected
Format

Messages

No messages yet. Connect and start chatting.

How to Use

  1. Enter the WebSocket server URL (ws:// or wss://).
  2. Optionally configure subprotocol, auto-reconnect, and ping interval in settings.
  3. Click Connect to establish a WebSocket connection.
  4. Type a message and click Send or press Ctrl+Enter to send it.

FAQ

Why can't I connect to some WebSocket servers?

The server might not support WebSocket, the URL might be wrong, or the server may require specific subprotocols. Unlike HTTP CORS, WebSocket connections are generally not restricted by the browser, but the server can reject connections based on origin.

What is a subprotocol?

A WebSocket subprotocol is a custom protocol that runs on top of WebSocket, such as graphql-ws for GraphQL subscriptions or stomp for message queuing. Leave it empty if your server doesn't require one.

Related Tools