● built entirely in your browser

cURL command builder

Fill in method, URL, headers, and body — get a ready-to-paste curl command. No more remembering flags.

How it works

Every field you fill in — method, URL, headers, body, and flag checkboxes — maps directly to a curl argument, and each value is wrapped in single quotes with any embedded quote escaped, so the command is safe to paste straight into a shell.

FAQ

Why doesn't the generated command include -X GET?
Because GET is curl's default method — the -X flag is only added to the command for POST, PUT, PATCH, DELETE, or HEAD, keeping the output shorter for the most common case.
Why are the header and body values wrapped in single quotes?
Single quotes stop the shell from expanding variables, wildcards, or other special characters inside your headers or body — any single quote already in your text is automatically escaped so the resulting command still runs correctly.

Free, unlimited, no account. If this saved you a paid tool, a small thanks is appreciated.

Say thanks — $3