Developer tools / Network Tool

Requests, translated.

Convert request snippets between cURL, fetch, XHR, and HTTP.

Request workbench / 01Ready

One request. Four formats.

Translate request snippets between cURL, fetch, XHR, and HTTP.

Import a snippet or HAR file
Literal requests only. Pasted JavaScript and shell commands are read, never executed. 1 MiB maximum.

Literal browser-only fetch settings are kept for fetch exports. XHR event handlers, file references, and unsupported cURL flags need to be removed before import. Raw HTTP uses an absolute URL to preserve its scheme.

01 / Request editor

One Name: value per line. Duplicate header names are kept.
Literal text only. An empty body is different from no body.

This tool converts request text. To send a request, use your own terminal, application, or API client.

02 / Generated request

POSIX shellReady to copy
curl --request 'POST' 'https://api.example.com/v1/messages?workspace=labs' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer demo-token' \
  --data-raw '{"message":"Hello from HAHAY Labs","priority":"normal"}'

Masks common auth / cookie headers and sensitive query keys. Body text and custom fields stay visible: review before sharing.

Headers2
Body bytes55

Browser-generated fetch / XHR snippets can contain headers that browsers manage or block, including Cookie, Host, and Content-Length. Outputs preserve your request data; check browser header restrictions before using JavaScript exports.

More from Labs

Utility catalogue

Loading more tools…