Skip to content

Content-Security-Policy generator.

Build a Content-Security-Policy from a preset, see what a reviewer would flag as you edit it, and copy it as a header, a meta tag, Next.js config or an nginx line. Paste a policy you have to check it.

Content-Security-Policy generator.

Loading the tool…

Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.

Get Pro

How it works

3 steps, no account. It runs in your browser and nothing is uploaded.

  1. Start from a preset

    Next.js nonces, Google's strict CSP, a static site or a lock-down, then the hosts of the services you use.

  2. Edit and read the checks

    Each directive's sources in its own field, with checks for unsafe-inline, wildcards and missing directives as you type.

  3. Copy it where it goes

    The HTTP header, a meta tag, Next.js proxy.ts or next.config.ts, or an nginx add_header line.

Pricing

Build it with Pro

The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

Questions and answers

Before you trust the result: what to know about the format, the limits, your data and the tools next to it.

4.9 out of 5 from 150+ developers

Build the product around it

Every block, template and icon, installed by your AI agent in your theme. The tools stay free.

Get Pro