⚡ Online WebSocket test tool: enter server address, click connect and start messaging. Supports custom headers, templates, real-time stats & log filtering. No download, fast debugging.
Enter WebSocket server address, choose ws/wss, add custom headers if needed. After successful connection, status indicator turns green.
Real‑time stats of sent/received messages, total bytes and current latency. Latency is calculated via periodic heartbeat.
Click a preset to fill the URL instantly, connect to public test servers or local dev addresses.
Click a template to insert common JSON messages. Edit before sending.
All sent/received messages are displayed in real time. Filter by type, search by keyword, auto‑scroll and export supported.
Supports Text, JSON, Hex. JSON can be formatted/minified. Shortcut: Ctrl+Enter to send.
Switch between ws and wss with one click. Auto‑complete URL prefixes, compatible with encrypted and plain connections.
Add any HTTP headers for authentication, tokens, or custom parameters. Sent during handshake.
Monitor sent/received counts, total traffic, and current latency. Updated every second.
Built‑in public test servers and message templates (Ping, Hello, Subscribe, etc.) for instant testing.
Real‑time log with type filters, keyword search, auto‑scroll, and export to text file.
Text, JSON, Hex. JSON format/minify buttons, Ctrl+Enter shortcut for fast sending.
WebSocket is a protocol providing full‑duplex communication over a single TCP connection, allowing servers to push data to clients. This tool helps test if your WebSocket service works correctly.
Enter the WebSocket server URL (e.g. wss://echo.websocket.org), click 'Connect'. Once connected, type a message in the input area and click 'Send'. Received messages appear in the log.
Possible reasons: wrong server address, server doesn't support WSS (try WS), firewall blocking, server down or CORS restrictions. Check the URL and ensure the server allows WebSocket connections.
Under 'Connection Settings', click '+ Add' to input header name and value. These headers are sent during the WebSocket handshake, useful for authentication or custom parameters.
Text, JSON, and Hex. Select the format, enter your content, and it will be converted automatically. JSON mode includes format and minify buttons for easy editing.
Yes. Click the 'Export' button in the log area to download the current log as a text file.
After connection, the tool sends a built‑in ping message every 10 seconds and measures the time until the pong is received, displaying the current latency.