Free web tool

CSP header builder

Build a Content-Security-Policy header from common directives.

Input & settings

How to use

Build a Content-Security-Policy header from common directives.

  1. Enter or select the source data.
  2. Change only the settings you need.
  3. Run the tool, then copy or save the result.