Input
Waiting for input
1
Output
1
Decode any curl command into its components: URL, method, headers, and a clean, formatted JSON body.
Runs entirely in your browser — no upload, no wait.
Your JSON never leaves the tab. Nothing is logged.
Free, unlimited, no account required.
Browser DevTools, Postman, and many APIs export curl commands. Reusing them in code requires extracting the body, escaping, and headers — a tedious manual job that this tool automates.
The parser tokenizes the command respecting bash quoting, identifies -X / --request, -H / --header, -d / --data variants (including --data-binary, --data-raw), and reassembles the request. Multi-line curl commands with backslash continuations are supported.
# Input
curl 'https://api.example.com/users' \
-H 'Authorization: Bearer abc' \
--data-raw '{"name":"Ada"}'
# Parsed
{
"method": "POST",
"url": "https://api.example.com/users",
"headers": {"Authorization": "Bearer abc"},
"body": {"name": "Ada"}
}Reproducing a DevTools "Copy as cURL" in code, importing examples from API docs into Postman, normalizing curl snippets before checking them into a repo.
URL-encoded form bodies are decoded into key/value pairs. JSON bodies are auto-formatted. Unknown flags are surfaced rather than silently dropped.
All parsing is local. Your curl commands, including any tokens, stay in your browser.