cURL to n8n & Make.com HTTP Node Converter
Convert cURL commands into ready-to-paste n8n HTTP Request Node v4.2 JSON workflows, Make.com HTTP blueprints, or n8n Code Node scripts 100% locally.
Example Output (cURL to n8n & Make.com)
curl -X POST 'https://api.castov.com/v1/orders?notify=true' \
-H 'Authorization: Bearer sk_test_dummy_token' \
-H 'Content-Type: application/json' \
--data-raw '{"customerId":"cus_9921","items":[{"sku":"PRO-PLAN","qty":1}]}'{
"nodes": [
{
"parameters": {
"method": "POST",
"url": "https://api.castov.com/v1/orders",
"authentication": "none",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "notify",
"value": "true"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer sk_test_dummy_token"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"customerId\": \"cus_9921\",\n \"items\": [\n {\n \"sku\": \"PRO-PLAN\",\n \"qty\": 1\n }\n ]\n}",
"options": {}
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
260,
300
]
}
],
"connections": {}
}
Understanding the cURL to n8n & Make.com Transformation
Workflow automation engineers using n8n frequently need to translate API documentation examples or Chrome DevTools `Copy as cURL` requests into visual `HTTP Request` nodes. While n8n includes a basic cURL import modal, it often struggles with shell-escaped JSON quotes, `-u` Basic Auth flags, `-b` cookie headers, multipart `-F` uploads, and bloated browser telemetry headers (`sec-ch-ua`, `sec-fetch-*`). Because the output of this converter is a complete `n8n-nodes-base.httpRequest` (typeVersion 4.2) workflow envelope, you can simply click Copy and press `Ctrl+V` (`Cmd+V`) directly onto your n8n canvas to spawn a pre-configured node without exposing your API keys to any server. Note: The Make.com (`http:ActionSendData` v3) blueprint mode is currently marked as Experimental / untested against a live Make.com canvas.
Key Architectural Benefits
- •Produces a complete `nodes` workflow JSON envelope that pastes (`Ctrl+V` / `Cmd+V`) directly onto the n8n visual canvas as an `HTTP Request` v4.2 node.
- •Automatically separates URL query string parameters (`?notify=true&limit=50`) into n8n's structured `queryParameters.parameters` list.
- •Strips 14 noisy browser telemetry headers (`sec-ch-ua`, `sec-fetch-mode`, `upgrade-insecure-requests`) when importing Chrome DevTools `Copy as cURL` commands.
- •Supports n8n JavaScript Code Node (`this.helpers.httpRequest`) snippets and an Experimental / untested Make.com (`http:ActionSendData` v3) blueprint output.
Common Conversion Pitfalls & Fixes
Verified Edge Cases & Complex Scenarios
Real payloads often contain edge cases that break naive generators. Here is how our engine handles them:
A cURL command uploads form fields and files using `-F 'file=@invoice.pdf'` and `-F 'purpose=tax'`.
curl -X POST https://api.example.com/upload -F 'purpose=tax' -F 'file=@invoice.pdf'"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{ "name": "purpose", "value": "tax", "parameterType": "formData" },
{ "name": "file", "value": "invoice.pdf", "parameterType": "formBinaryData" }
]
}A cURL command uses `-u 'client_id:secret_key'` instead of an explicit `Authorization` header.
curl -u 'my_app:p@ssw0rd' https://api.example.com/token -d 'grant_type=client_credentials'{
"name": "Authorization",
"value": "Basic bXlfYXBwOnBAc3N3MHJk"
}Frequently Asked Questions
How do I import the generated JSON into my n8n workflow?
Are my Bearer tokens or Cookies in the cURL command sent to any server?
Does this support n8n HTTP Request node v4.2?
Related Developer Converters
Browse AllcURL to Fetch
Convert Chrome Copy as cURL commands into Browser Fetch, Node.js Fetch, or Axios code. Handles -H, -d, --data-raw, -u UTF-8 Basic Auth, -F FormData, -b, -L, and -k.
JSON to Zod Schema
Convert raw JSON into strict, production-ready Zod schemas. Supports ISO datetime offsets, email, URLs, nullish options, and inferred TypeScript types in browser.
Webhook HMAC Debugger
Diagnose 401 Invalid Signature webhook errors for Shopify, Stripe, and GitHub locally. Generates raw-body verification handlers and Zod v4/v3 payload schemas.