curl converter
Paste a curl command and get it back as JavaScript fetch, axios, and Python requests. It reads the method, headers, body and basic auth, and defaults the method the way curl does.
Anything it does not model, like multipart form uploads, is listed rather than dropped, so the output is never quietly wrong. Nothing you paste is sent anywhere.
fetch
Parsed and converted in your browser. Nothing you paste is sent anywhere.
Questions
- Is what I paste sent anywhere?
- No. Every tool in this kit runs in the page itself. There is no server here that receives what you paste, and you can check it in your browser's network tab: using a tool produces no request carrying your input at all.
- Which curl options does it understand?
- The ones that shape a request: -X for the method, -H for headers, -d and its variants and --json for the body, -u for basic auth, -b for cookies, -G to move data onto the query string, and the URL. It defaults to POST when there is a body, exactly as curl does.
- What does it not handle?
- Multipart uploads (-F), client certificates, proxies and the many transfer flags. When one appears it is listed under the output as not carried over, so you know to add it by hand rather than trusting an incomplete conversion.
- Are my headers and tokens safe to paste?
- Yes. The whole conversion runs in the page, so a bearer token or a cookie in your command is parsed on your own device and never sent anywhere, which you can confirm in the network tab.
The other tools here
- JSON formatter, format, minify and validate
- Base64 encoder, encode and decode, text or file
- URL encoder, encode and decode, two rules
- UUID generator, version 4, one to a hundred
- Hash generator, sha-256, sha-1 and md5 at once
- JWT decoder, header, payload and expiry
- Regex tester, live matches, groups and flags
- Text diff, compare two blocks, by line or word
- Timestamp converter, unix time to a date, and back
- Cron explainer, a schedule, in plain english
- Colour converter, hex, rgb, hsl, and a contrast check
- Markdown preview, live preview, and copy the html
- JSON to CSV, an array of objects into a spreadsheet
- Data file converter, csv, json and excel, in any direction
- JSON and YAML, convert between json and yaml, either way
- JSON to TypeScript, a sample of json into typed interfaces
- SQL formatter, tidy up sql, or minify it, by dialect
- Password generator, strong random passwords, made on your device
- Number base converter, hex, binary, decimal and octal, live