# cURL Generator

> Build a curl command from method, URL, headers, and body. The command is assembled locally so tokens in headers stay in the tab.

Runs in your browser. Nothing is uploaded.

[Ops](https://toolbuddy.dev/categories/ops.md)

## About this tool

Assemble a curl command from method, URL, headers, and body. Quotes are added when the token needs them.

How to use: fill the form, copy the command. It does not execute the request.

Example: POST plus JSON body becomes curl -X POST url -H Content-Type --data. Related: cURL to code for JS, Node, Python, or PHP.

## Related Ops tools

- [Gitignore Generator](https://toolbuddy.dev/tools/gitignore-generator.md): Build a .gitignore from stacked templates for Node, Python, Go, Rust, Java, Next.js, macOS, and Windows. Output is composed locally.
- [.env Toolkit](https://toolbuddy.dev/tools/env-toolkit.md): Parse KEY=value env files, flag duplicates, and diff two .env blobs. Secrets in env files never leave the browser.
- [Docker Generator](https://toolbuddy.dev/tools/docker-generator.md): Generate a Dockerfile or a Compose service snippet from image, ports, and command fields. Snippets are built in the tab.
- [GitHub Actions Explainer](https://toolbuddy.dev/tools/github-actions-explainer.md): Explain a GitHub Actions workflow YAML: name, triggers, jobs, and steps. Parsing uses js-yaml in the browser.
- [Tar Command Generator](https://toolbuddy.dev/tools/tar-generator.md): Build a tar create or extract command with gz, bz2, or xz flags. A small command helper, not an archiver.
- [MySQL Command Generator](https://toolbuddy.dev/tools/mysql-generator.md): Build mysql or mysqldump command lines from user, host, and database. The command is text only; it does not connect to a server.
