cURL Builder
Paste a curl command from Chrome, a README, or a ticket. Edit the method, URL, headers, and body, then copy a command that is safe to run in your own terminal. This page never sends the request.
Tool input stays in your browserDid you know · Tooling
Git was written by Linus Torvalds in 2005, in roughly two weeks, after BitKeeper's licence terms changed.
Parse and rebuild a curl command. Nothing is sent.
cURL
you editPaste from DevTools or a READMENo headers. Add one or parse a command that has -H.
Body
you editA request editor that does not leave the tab
Browser pages cannot call most APIs because of CORS. A proxy on this site would put your Authorization header on a wire we control. So there is no Send button and no fetch. What you get instead is the part of Postman that is actually paste-shaped: turn a copied curl into fields, change them, and copy a rebuilt command to run locally.
What the parser understands
Line continuations with a trailing backslash are folded. Single- and double-quoted arguments follow shell rules, including a literal apostrophe inside single quotes. A leading sudo curl is ignored. Recognised flags include -X/ --request, -H, -d and the other --data-* forms, --json, -u, -A, -k, and --compressed. A -d without -X becomes POST, matching curl. Unknown flags are skipped so a Chrome “Copy as cURL” dump still yields a URL and headers.
Editing a field rewrites the command on the left, quoted for a POSIX shell. Run that copy in your terminal — not here.
Why it is private
Tokenising and quoting run as JavaScript inside this page. Open DevTools, switch to the Network tab, and paste a command that contains a session cookie: no request carries the command or cookie.
cURL builder FAQ
Parse curl, rebuild a command, Chrome Copy as cURL, and why this cURL builder never sends the request.
What is a cURL builder?
A cURL builder parses a curl command into method, URL, headers, and body so you can edit those fields and copy a rebuilt command. This cURL parser never executes the request — there is no Send button and no proxy — which keeps tokens off someone else’s server.
How do I convert Copy as cURL from Chrome?
In DevTools, copy the request as cURL and paste it here. Unknown flags are skipped so Chrome’s extra options still yield a URL. Rebuild produces a POSIX single-quoted command you can run in your own terminal.
Why can’t this tool send the HTTP request?
Browsers block most cross-origin fetches (CORS). A proxy would send your headers and body through this site, which this hub forbids. Parse and rebuild curl locally; run the command where you intend, such as a laptop or VPN.
Can I edit headers and the body?
Yes. After parse, change method, URL, header list, and body, then copy the rebuilt curl. That is the cURL command generator workflow without leaving the browser.
Does the cURL parser upload my command?
No. Tokenising and rebuilding run as JavaScript in this tab. Cookie and Authorization headers stay on your machine.