Build correct Access-Control-* response headers for any CORS configuration. Toggle methods, set allowed/exposed headers, enable credentials mode, and get nginx and Express.js code snippets.
* for public APIs, or a specific origin when using credentials. Build correct Access-Control-* response headers for any CORS configuration. Toggle methods, set allowed/exposed headers, enable credentials mode, and get nginx and Express.js code snippets.
Use the Builder tab to set the origin, methods, allowed and exposed headers, max age and credentials, and copy the resulting Access-Control-* headers.
Yes, the builder produces nginx and Express.js snippets.
Browsers reject a wildcard Access-Control-Allow-Origin when credentials are allowed, so specify an explicit origin. The Header Reference tab explains each header.
It is an OPTIONS request browsers send first to check which methods and headers are allowed.
No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.