tests.ws

Online WebSocket Tester

Connect to any WebSocket server, send messages, and inspect responses in real time. No installation required.

Quick:
Disconnected
Messages
Connect to a WebSocket server to get started.

How to Use This WebSocket Test Tool

  1. Enter a WebSocket URL (ws:// or wss://) in the connection bar.
  2. Click Connect to open a WebSocket connection.
  3. Type a message in the input area and press Enter or click Send.
  4. Incoming messages appear in the message log with timestamps and size.
  5. Click Disconnect when you are done.

Features

  • Any WebSocket server. Connect to ws:// or wss:// URLs. The connection goes directly from your browser to the target server.
  • JSON formatting. JSON messages are automatically detected and pretty-printed.
  • Message log. Every sent and received message is logged with direction, timestamp, and payload size.
  • Close codes. When the connection closes, you see the WebSocket close code and reason. Useful for debugging.
  • Keyboard shortcuts. Press Enter to send, Shift+Enter for new lines.
  • URL memory. Your last used URL is saved in localStorage for the next visit.

Test WebSocket Connection Online

This tool lets you test any WebSocket connection online without installing anything. It works with both ws:// and wss:// (WebSocket over TLS) URLs. Use the preset echo servers for a quick check, or enter your own server URL.

The WebSocket connection test runs entirely in your browser. No data passes through tests.ws servers. Your messages go directly from the browser to the WebSocket server you specify. Message history is not stored anywhere and is lost when you close the page.

When to Use a Different Tool

This online tester handles basic WebSocket testing: connect, send messages, see responses. For more advanced use cases, consider these alternatives:

Related Resources