JSON -> cURL / Postman Snippet Generator
Paste a JSON request definition and generate a ready-to-use cURL command and Postman Collection JSON. Everything runs locally in your browser.
- Convert JSON request data into cURL or Postman snippets.
- Add headers, query params, and auth tokens.
- Useful for sharing reproducible API calls.
- Share results: Generate a secure link to share your current input and results with teammates — nothing is uploaded to any server.
Request JSON
Supported input shapes
-
headerscan be an object ({"k":"v"}) or an array ([{"key":"k","value":"v","enabled":true}]). bodycan be an object/array (JSON) or a string (raw).- Optional:
name,descriptionfor Postman request name. - Optional structured
auth:{"type":"bearer","token":"{{token}}"},basic,apiKey,cookie, orcustom. - Optional
queryobject/array merges with the URL. - Optional
bodyType:json,text,form,multipart,binary,graphql. Useform,formData, orgraphqlobjects accordingly. - Variables like
{{token}},{{baseUrl}}are preserved.
Outputs
cURL
Postman Collection (v2.1)
Import in Postman: Import -> Raw text and paste this JSON.
Auth
No auth detected.
Headers
| Name | Value | Notes |
|---|
Query
| Key | Value | Source |
|---|
Detected body
No body.
Raw body preview
Sanitized body
Postman environment
Variable table
| Variable | Placeholder | Sensitive |
|---|
Outputs
Each export downloads locally. Sanitized variants mask detected secrets.