Skip to content
Developer ToolcURL ⇄ fetch/Axios

Convert cURL and JavaScript Requests

Turn cURL commands into clean fetch or Axios code — or generate cURL from JavaScript. Great for debugging, docs, and quick sharing.

Save and reuse request snippets in Postly

Convert requests here, then keep examples organized and ready to reuse from one dashboard.

Open Postly dashboard
Settings
Tip: paste multi-line cURL with backslashes, --data-raw, -F, or -u. We’ll normalize headers and bodies.

Notes: Handles common flags like -X, -H, -d/--data*, --json, -F/--form, and -u. Outputs are best-effort, so always review before production use.

Support the tool and keep building moving

Save and organize snippets in Postly, then support the project below.

Keep this tool alive ☕

This tool is free — but it runs on real servers, real APIs, and real costs.
If it helped you even once, consider supporting Postly.

Faster downloads Stable uptime More free tools

No pressure — tools stay free for everyone.