WebSocket Tester
Connect to ws:// or wss:// endpoints with the native browser WebSocket API. Send and receive frames in JSON, text, or hex.
WebSocket Tester
Send
Log (0)
No messages yet.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/websocket-tester/
For automation planning, fetch the canonical contract at /api/tool/websocket-tester.json.
How to Use WebSocket Tester
- 1
Enter your endpoint
Provide a ws:// or wss:// URL and an optional comma-separated list of subprotocols. The browser opens the connection directly with the native WebSocket API.
- 2
Send text or binary frames
Use Send text for the textarea contents as a string frame, or Send hex bytes to ship the input as raw binary. Hex is parsed pair-by-pair into a Uint8Array.
- 3
Switch payload views
Toggle between text, JSON, and hex on the message log. JSON tries to parse strings into pretty objects; hex shows space-separated UTF-8 byte equivalents.
- 4
Replay or auto-reconnect
Click replay on any past message to load its payload back into the draft. Enable Auto-reconnect to retry on close events outside an explicit Disconnect.