URL, HTTP & APIs

cURL Command Explainer

Paste a curl command to see what it actually does — the HTTP method, URL parts, headers, request body and every flag, explained one by one. Everything runs in your browser; your command never leaves the page.

Runs in your browser v1.0.0

cURL command

paste & explain

Paste a command starting with curl. Quoting, escapes and \ line continuations are understood, and the explanation updates as you type.

Explanation

waiting for a command

How it works

The command is split into shell-style tokens — respecting single quotes, double quotes, backslash escapes and line continuations — then each token is matched against curl’s option table. Known flags are explained, the HTTP method is inferred from -X, -d, -F, -I, -T and -G, and the URL is broken into scheme, host, port, path, query and fragment. Anything the explainer does not recognise is reported as a warning rather than guessed at, and the whole command is processed locally.