← Back to Tools

Content Security Policy Header Builder

Build a copy-ready CSP header, preview common risk warnings, and switch between enforce and report-only mode.

Source format

Use values like 'self', https://cdn.example.com, data:, or 'none'. Commas and semicolons are cleaned automatically.

Mode

Enforce

Directives

0

Warnings

0

Header Name

Content-Security-Policy

Interpretation

Build a policy to review the directive mix.

Ready.