Files stay on your device Use CSP Header Generator ↓

CSP Header Generator Online — Free & Private

Generate a restrictive Content-Security-Policy header from explicit resource origins. Free, private, and processed entirely in your browser — no upload, no account, no file ever leaves your device.

No sign-up required Files stay on your device Works offline once loaded

Generate a restrictive Content-Security-Policy header from explicit resource origins.

Inputs and example for CSP Header Generator

Additional script origins, one per line
Additional style origins, one per line
Additional connect origins, one per line

Supported scope: A starting policy for review and report-only testing. Inline scripts and styles require your own nonces or hashes. This tool does not change server settings.

Generate a restrictive Content-Security-Policy header from explicit resource origins.

  1. Enter the labeled values or edit the example.
  2. Run the operation and inspect the result.
  3. Review and copy or download the result.

Privacy proof for CSP Header Generator

This tool processes input in your browser. Open DevTools → Network while you run it to check the requests. Some tools need downloaded libraries on their first use.

Popular available tools for everyday tasks. Browse categories or search the full catalog.

Star any tool — it appears under Favorites on this device.

Available tools process your files and text on your device. Choose the operation you need, check its supported inputs and limits, and keep the original file until you have reviewed the result. PDF compression offers a lossless mode and optional image-based modes; image-based exports lose selectable text. Scanned PDFs need OCR for text extraction. OCR language models may need an initial download. Some catalog operations are still being completed and are clearly marked as unavailable. A current browser and sufficient device memory are required. Optional sign-in stores activity metadata, not your documents.

What inputs and assumptions does this operation use?

A starting policy for review and report-only testing. Inline scripts and styles require your own nonces or hashes. This tool does not change server settings.

Is my input uploaded?

No. The operation runs in this browser tab.

From our blog: How to Use CSP Header Generator Online (Free & Private)