Free, browser-based utilities for everyday developer workflows

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
  • headers can be an object ({"k":"v"}) or an array ([{"key":"k","value":"v","enabled":true}]).
  • body can be an object/array (JSON) or a string (raw).
  • Optional: name, description for Postman request name.
  • Optional structured auth: {"type":"bearer","token":"{{token}}"}, basic, apiKey, cookie, or custom.
  • Optional query object/array merges with the URL.
  • Optional bodyType: json, text, form, multipart, binary, graphql. Use form, formData, or graphql objects accordingly.
  • Variables like {{token}}, {{baseUrl}} are preserved.

Outputs

cURL

Postman Collection (v2.1)

Import in Postman: Import -> Raw text and paste this JSON.

How to use the Request Snippet Generator

Build a clean HTTP request snippet from a URL, method, headers, and JSON body — then export to cURL, Postman, fetch, Axios, Node.js, Python requests, Go, Java, Ruby, PHP, or PowerShell. Useful for documenting an API, creating a reproducible request recipe for a bug report, or porting an example between languages. Runs locally; URL, headers, and body never leave your browser.

What it does

When to use it

How to use it

  1. Enter the URL and HTTP method.
  2. Add headers as key/value pairs (Content-Type, Authorization, etc.).
  3. Paste a JSON body or form-encoded body if your method has one.
  4. Pick the target language / tool — cURL, fetch, Python, Go, Postman, etc.
  5. Copy the snippet straight into your terminal, code, or Postman collection.
  6. For a cURL command as input, use the cURL Converter; for OpenAPI sources use the OpenAPI Snippet Extractor.

Tips & pitfalls

FAQ

Runs locally in your browser. No uploads. Share links use an encrypted URL fragment.