CSP

Content Security Policy Builder

Create a practical CSP header from common source directives.

Processed in your browser

Your entered content is processed on this device. It is not uploaded by this tool. Some tools load code or public resources before processing.

YOUR WORKBENCH

Drafts stay on this device only when you save them. Avoid saving secrets.

Your entered content is processed on this device. It is not uploaded by this tool. Some tools load code or public resources before processing.

Start a CSP draft from a live website

This optional action sends the URL to our server to fetch its public content. The rest of this tool works locally.

KNOW YOUR TOOL

How to use Content Security Policy Builder

Prepare a Content Security Policy from explicit source directives. The optional live scan suggests origins visible in a page’s HTML and produces a report-only starting point.

  1. List the sources each resource type actually needs.
  2. Optionally scan a public page and review the suggested report-only draft.
  3. Test report-only behaviour, review violations and runtime requests, then enforce a reviewed policy.

What should I check before using the result?

Visible resource URLs cannot reveal every runtime request. Header presence alone does not prove that a policy is effective or that an application is secure.

Only details you choose to share.
COMMAND CENTRE

Search all 400 tools

↑ ↓ navigate · ↵ open · esc closeDELIGHTS.DIGITAL

Your workspace

Saved on this device. Favourites follow your chosen order.

Named collections

Favourites (0)

Open a tool and choose “Save tool” to add your first favourite.

    Recently used

    No recent tools. Your favourites stay saved when history is cleared.

    Take your workspace with you

    Export favourites, collections, journey progress and preferences. History is excluded. Drafts are included only if you choose.

    Your preferences

    Remembered in this browser across visits.

    Only tool names and event totals. No entered content, files, search text or visitor profiles. Do Not Track and Global Privacy Control are respected.

    Offline toolbox

    Keep eight core text and data tools available without a connection. Tool inputs and normal page responses are not cached.

    Your device’s reduced-motion preference always takes priority. The intro can be replayed from the homepage.

    Report a problem

    Send a report straight to info@dawsony.com. Use sample data and keep passwords or tokens out of the description.

    We email only the details above through our delivery provider. Your address is optional and is used for replies to this report. Tool input, output, files and URL parameters are excluded automatically.