API & Web Sandbox

Turn a cURL command into ready-to-run code, or open a live WebSocket connection and watch messages flow. Both run entirely in your browser.

Input cURL Command

Output

{{ curlError }}

Generated code

{{ generatedCode }}

Connection

{{ wsStatusLabel }}

Message log

{{ entry.time }} {{ entry.dir }} {{ formatEntry(entry) }}

About this tool

The cURL Converter parses flags like -X, -H, -d and -u out of a pasted command and re-emits the same request as JavaScript fetch, Python requests, PHP curl or Go net/http code.

The WebSocket Tester opens a real WebSocket connection from your browser to any ws:// or wss:// URL and logs every sent and received message, with an optional JSON pretty-print.

Both tools run entirely client-side. Nothing you paste, type, or connect to is sent to any server other than the one you point the WebSocket at.