Generators

Content Security Policy generator

Build a conservative Content-Security-Policy response header using explicit same-origin or blocked resource choices. Images may optionally use data URLs. No inline script/style exceptions or external sources are added. Review and test compatibility before applying; this tool changes no server settings.

Content Security Policy generator

This generates text only and changes no server policy. Hashes cover exact entered text. frame-ancestors is omitted from meta output because it requires an HTTP header.

Inputs and files stay in your browser. Nothing is uploaded.