HTTP Header Inspector
Paste response headers to get each one explained and checked: HSTS, CSP, cookies, caching, CORS and information leaks.
Open toolBuild correct CORS headers for your API from allowed origins, methods and headers, with nginx and Express examples.
Not yet professionally reviewed. This tool’s formulas and wording have not been checked by a qualified professional. Use the results as an estimate and verify anything important.
A planning and formatting aid, not a security or compliance audit. It doesn't test your live site; check every change in a staging environment and with your server or provider's documentation before deploying.
Enter the origins allowed to call your API, the methods, request headers, exposed response headers, whether credentials (cookies) are allowed and the preflight cache time. The helper writes the response headers (including Vary: Origin and the preflight additions when needed), an nginx configuration that echoes only listed origins, and an Express example using the cors package.
It catches the classic mistakes: * with credentials (rejected by browsers), origins with paths, insecure http origins and preflight cache values above what browsers honour. CORS controls which websites can read responses in a browser; it is not authentication. Everything runs in your browser: nothing you paste or type is uploaded, and no website, DNS server or API is contacted.
Your code or text
Pasted or opened from a file
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
List the allowed origins and choose methods and headers.
Decide on credentials and preflight caching.
Copy the headers or the server example and test the preflight in dev tools.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Decide on credentials and preflight caching.
Copy the headers or the server example and test the preflight in dev tools.
Paste response headers to get each one explained and checked: HSTS, CSP, cookies, caching, CORS and information leaks.
Open toolCompose a Content-Security-Policy with explanations and a weakness review, and build a Permissions-Policy header.
Open toolKeep a list of API endpoints with methods, owners, authentication and status, and flag unowned or unauthenticated ones.
Open toolDesign a CORS policy, test a request against it (including preflight) and copy config for nginx, Express or Apache.
Open tool