CSP Builder

New

Build a Content-Security-Policy header with a clean UI.

100% private — no uploads Developer ToolsFree & unlimited Read tutorial

See how it works

Watch a quick simulation of this tool in action — no file needed.

How to use CSP Builder

Follow these steps — everything happens instantly in your browser.

  1. 1

    Step 1. Add or edit directives — default-src, script-src, style-src and more.

  2. 2

    Step 2. Toggle upgrade-insecure-requests and (optionally) report-uri.

  3. 3

    Step 3. Copy either the HTTP header or the meta tag version.

Why use this tool

Frequently asked questions

Everything you might want to know about csp builder.