CSP generator

Create a Content Security Policy to strengthen your website security.

Preset

Generates a monitoring header that does not block resources.

Directives

Separate sources with spaces or commas.

HTTP header

Meta tag

Raw policy