cURL to JSON

Input
Output

cURL to JSON and JSON to cURL

Paste a cURL command, as copied from your browser's dev tools or an API's docs, and read it as JSON: method, address, query, headers, auth, cookies and body, with JSON and form bodies parsed. Edit it and turn it back into a command, or send any JSON as the body of a new one.

How do I use the cURL to JSON?

  1. Paste a cURL command; Bracely opens this tool when you paste one anywhere.
  2. Read or edit the request as JSON.
  3. Switch to JSON → cURL to get a command back.

What does the cURL to JSON do?

  • Handles '…', "…" and $'…' quoting, line breaks and grouped flags like -sSL
  • Commands copied as cURL (cmd) on Windows
  • Bearer tokens, basic auth and cookies pulled out
  • JSON and form bodies parsed; -G puts data in the address
  • Safe single-quoting when building a command

Frequently asked questions

Does it send the request?
No. It only reads and writes the command, so nothing leaves your browser. Run the command yourself in a terminal.
Is my data uploaded?
No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.

More JSON tools

Bracely has more than 65 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut. About · Privacy policy
Last updated · Version 2.1 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram