CSP Generator

Build a Content Security Policy directive by directive, with HTTP header, meta tag and warnings.

Preset

Generates a monitoring header that does not block resources.

Directives

Separate sources with spaces or commas.

HTTP header

Meta tag

Raw policy