CSP Header Generator
Content-Security-Policy generator with a visual editor for default-src, script-src and other directives, producing a ready-to-deploy CSP header. Free and instant, so you can harden your site against XSS.
Embed
What is CSP Header Generator?
Content-Security-Policy generator with a visual editor for default-src, script-src and other directives, producing a ready-to-deploy CSP header. Free and instant, so you can harden your site against XSS.
How to Use
- 1Input— Enter the required data.
- 2Check Results— Review the processing results.
- 3Copy— Copy the results for use.
Related Tools
Frequently Asked Questions
It is a free online tool to visually edit and generate Content-Security-Policy headers.
Yes, it is completely free and all processing is done in the browser.
No. All processing is done in the browser.
Yes, static data-based tools can be used offline.
Yes, the responsive design works properly on mobile devices.