All Tools

CSP Builder

Draft a Content-Security-Policy header from a static, WordPress, or Shopify preset. This page does not publish the header.

Optional. Added to script-src. Check the live page before you publish.

Draft explained

This Content-Security-Policy draft uses the Static site preset and 6 directives. The policy text stays in the draft below. Nothing was published.

Publish the header on your server or CDN, then check the live page. A draft on this page does not change the site.

Static site

No extra script hosts were added.

No unsafe inline

This preset does not allow unsafe-inline or unsafe-eval.

Check the live CSP after you publish the draft yourself. These builders do not publish DNS, do not change headers, and do not start Mail Watch.

What This Tool Checks

  • A preset for a static site, WordPress, or Shopify
  • script-src, style-src, and default-src directives
  • Optional extra script hosts
  • A draft you copy and publish yourself

Best For

Best for site owners who need a first Content-Security-Policy before they tighten it against the live page.

What To Do Next

Publish the header on your server, then run the CSP checker against the live URL.