cURL & API Converter – Request Builder, Code Generator, Cookie Parser, Header Analyzer
cURL & API Converter
Build HTTP requests visually and generate production-ready code in 8 languages — or paste existing code and convert it back to cURL. The Cookie Parser decodes raw Cookie and Set-Cookie headers with security analysis, and the Header Analyzer grades your HTTP response headers against the OWASP security checklist.
Everything runs locally in your browser. URLs, tokens, and cookies never leave your machine.
Request Builder
Configure any HTTP request — method, URL, headers, query parameters, request body, and authentication — and get instant code output in your language of choice.
Supported output languages:
- cURL (Bash) — universal, works in any terminal
- JavaScript fetch — native browser API, Node 18+
- JavaScript axios — popular library for React/Vue apps
- Python requests — de facto standard for Python HTTP
- Python httpx — async-capable modern alternative
- Go net/http — standard library, no dependencies
- PHP cURL — native extension in all PHP versions
- Rust reqwest — most popular async HTTP client for Rust
Code → cURL Converter
Paste a Python requests call or a JavaScript fetch() call and get the equivalent cURL command. Useful when debugging, writing shell scripts, or sharing a request with a colleague who uses a different stack.
Python requests example:
response = requests.post('https://api.example.com/v1/data', headers={'Authorization': 'Bearer token'}, json={'key': 'value'})
Converts to:
curl -X POST 'https://api.example.com/v1/data' -H 'Authorization: Bearer token' -H 'Content-Type: application/json' -d '{"key": "value"'}
Cookie Parser
Paste a raw Cookie: or Set-Cookie: header. The parser splits it into named cookies, URL-decodes values, and for Set-Cookie displays every attribute: Domain, Path, Expires, Max-Age, HttpOnly, Secure, and SameSite. Missing security attributes trigger warnings.
Security warnings triggered when:
HttpOnlyis absent — cookie accessible via JavaScript (XSS risk)Secureis absent — cookie sent over plain HTTPSameSiteis absent — cookie sent on cross-site requests (CSRF risk)SameSite=NonewithoutSecure— invalid per RFC 6265bis
HTTP Header Security Analyzer
Paste raw HTTP response headers. The analyzer checks for the six OWASP-recommended security headers and grades the response A through F based on how many are present and correctly configured.
Security headers checked:
- Strict-Transport-Security (HSTS) — enforces HTTPS connections
- Content-Security-Policy (CSP) — restricts resource loading origins
- X-Frame-Options — prevents clickjacking
- X-Content-Type-Options — disables MIME sniffing
- Referrer-Policy — controls referrer information leakage
- Permissions-Policy — limits browser feature access