Convert cURL commands to JSON format. Easily debug and inspect API requests.
Enter text
Enter text
Simplify your API debugging with our cURL to JSON Converter. cURL is a powerful command-line tool for transferring data, but reading complex cURL strings can be difficult.
This tool parses your cURL command and extracts the key components-Method, URL, Headers, and Data-into a structured JSON object.
-X flag).-H.-d or --data-raw. Tries to parse JSON payloads automatically.curl -X GET 'https://api.site.com/search?q=test&limit=10' -H 'Accept: application/json'
{
"method": "GET",
"url": "https://api.site.com/search",
"query": { "q": "test", "limit": "10" },
"headers": { "Accept": "application/json" }
}Cleanly isolates query parameters and headers into key-value JSON dictionaries.
Yes. The generated schema maps directly to Postman collection items and OpenAPI request definitions.
cURL `-u user:pass` flags are converted into standard `Authorization: Basic <base64>` header representations.
Explore more free utilities in Development
Regex Tester
Real-time regular expression tester with highlighting and cheat sheet.
Open
JSON Diff
Compare two JSON objects structurally to find differences.
Open
Subnet Calculator
Calculate IP ranges, netmasks, and CIDR subnet details.
Open
Cron Generator
Visual builder for Cron schedules with next-run previews.
Open
CSS Box Shadow
Visually design and generate CSS box-shadow code.
Open
Gitignore Generator
Create custom .gitignore files for your projects instantly.
Open