PufferKit
HomeDevelopercURL Generator
Default
India11
East Asia3
Other Countries3
Buy me a coffee

cURL Generator

Build multi-line shell-escaped cURL commands from method, headers and body.

Code generation and parsing run locally in your browser. Clicking Send dispatches your URL, headers, and request body directly from your browser via fetch() to the target endpoint (never proxied through PufferKit).

How to use cURL Generator

  1. Configure HTTP method, URL, headers, and payload on the Headers & body tab, or refine directly under Code → cURL.

  2. Shell special characters and single quotes are safely POSIX-escaped automatically.

  3. Copy the multi-line cURL command for terminal use.

Frequently asked questions

Can I preview or test the generated request directly?

Yes. Click Send to execute it via browser fetch whenever the target endpoint enables CORS.

Are single quotes inside JSON payloads escaped cleanly?

Yes. Embedded single quotes are shell-escaped safely so pasting into zsh/bash works cleanly.

A LITTLE SUPPORT GOES A LONG WAY

Enjoying PufferKit?

If these tools made your day a little easier, you can buy me a coffee and support what I’m building.

Support
With or without a coffee, you’re always welcome here.

Processing locally

File and data operations run locally inside this browser tab. Static assets such as fonts and qpdf.wasm load from this site origin, while PufferKit never uploads your files or tracks usage. HTTP client tools send requests to endpoints you choose. Preferences and saved drafts stay in this browser’s storage until you clear them.

How it works →

Find a tool

Compress Image to KBImagesImage ConverterImagesImage ResizerImagesImage CropperImagesImage RotatorImagesImage DimensionsImagesImage ViewerImagesImage FlipperImagesImage MetadataImages · SecurityRemove MetadataImages · SecurityImage OptimizerImagesImage to Base64Images · DeveloperSVG to PNGImages · DesignJPG to PNGImagesPNG to JPGImagesJPG to WebPImagesPNG to WebPImagesWebP to JPGImagesWebP to PNGImagesAVIF to JPGImagesAVIF to PNGImagesBMP to PNGImagesImage FiltersImagesImage EffectsImagesPixelate ImageImagesBlur ImageImagesSharpen ImageImagesAdjust BrightnessImagesAdjust ContrastImagesAdjust SaturationImages