Build a shell-safe curl command from a method, URL, headers, and body, in your browser.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Build a curl command online.
- Runs entirely in your browser — your request data is never sent to a server
- Every value is shell-escaped, so special characters won't break the command
- Free, no account required
How it works
-
1
Paste the string, expression, or value you want to inspect.
-
2
It's parsed instantly and broken down on screen.
-
3
Review the details or matches highlighted for you.
-
4
Copy any part of the result you need.
Why use this tool
Every dev utility, one place
Format, convert, encode, decode, and generate — no more juggling ten tabs.
100% private, always
Every tool runs in your browser — your code and data are never sent anywhere.
Works on any device
Runs on Windows, Mac, Linux, iOS, and Android — nothing to install.
Instant results
No queues, no build step — results update as you type.
Built to handle real data
Full Unicode support and RFC-compliant parsing, edge cases included.
Free, always
Free to use, with no rate limits, sign-up, or trial period.
Frequently asked questions
The output uses single quotes optimized for Unix shells (bash/zsh) and may require escaping adjustments for cmd.exe.
Select a POST or PUT method, add a Content-Type header of application/json, and paste your data in the body field.
No, the curl executable calculates that automatically at runtime, so there is no need to manually inject it.
The interface currently supports raw string bodies rather than complex file attachment flags (-F).
Yes, all variables are enclosed in strong single quotes to prevent accidental variable expansion or command injection.
From the blog
Reading a JWT Without Trusting It: Claims, Expiry, and the Signature Trap
Decoding a JWT takes a second. Verifying one is a different job entirely — and confusing the two is how auth bugs ship. Here is how to read a token safely while you debug.
Mastering Base64: What It Is, How It Works, and When Not to Use It
Base64 is everywhere in modern web development, from data URIs to authentication headers. Here is a deep dive into how it works and common pitfalls to avoid.
Demystifying JSON: How to Troubleshoot Common Parsing Errors
JSON is the backbone of web APIs, but syntax mistakes can halt your code. Here is how to identify and fix missing commas, unescaped strings, and trailing characters.
Recently viewed
Base64 encode or decode text online
Convert text to and from Base64 instantly in your browser, with full Unicode support.
Generate random numbers online
Generate one or many cryptographically random integers in a range, optionally unique, in your browser.
Format and beautify XML online
Pretty-print or minify XML instantly in your browser, with adjustable indentation.
Sort and de-duplicate lines online
Sort lines alphabetically or by length, remove duplicates, and strip blank lines, instantly in your browser.
Split a PDF into separate files for free
Extract pages or split a PDF into multiple files instantly in your browser.
Related tools
Convert Unix file permissions
Convert between octal (e.g. 755) and symbolic (rwxr-xr-x) file permission notation, in your browser.
Calculate a subnet from CIDR notation
Get the network address, broadcast address, subnet mask, and usable host range for any CIDR block, in your browser.
Parse a cron expression and see its next run times
Paste a 5-field cron expression to get a plain-English summary and the next 5 run times, in your browser.
Parse and view HTTP headers online
Paste raw HTTP request or response headers to see them parsed into a labeled table, in your browser.
Validate JSON against a JSON Schema
Paste a JSON document and a JSON Schema to see every validation error with its instance path. Supports draft 2020-12 and draft-07, entirely in your browser.
Test a regular expression online
Test a JavaScript regular expression against sample text and see every match highlighted live.
Delete pages from a PDF for free
Remove one or more pages from a PDF, right in your browser.
Generate an email QR code for free
Create a QR code that opens a pre-filled email with your address, subject, and message.
Convert .env to JSON and JSON to .env
Convert .env files to a JSON object and flat JSON back to .env, handling quoted values, export prefixes and comments. Runs entirely in your browser, so secrets never leave it.
Generate a calendar event QR code for free
Create a QR code that adds an event to the calendar when scanned, using the iCalendar format.
Convert Excel to PDF for free
Turn a spreadsheet into a print-ready PDF document.
View and remove photo EXIF metadata
See the camera, settings, date and GPS location hidden in a JPEG, then download a copy with the metadata removed.