Content Security Policy Builder

Build a CSP header from allowed script, style and image sources.

How to use it

Fill in the fields and run the tool. Copy the result directly from this page.

Using the content security policy builder

Build a CSP header from allowed script, style and image sources.

Script sourcesStyle sourcesImage sources

Frequently asked questions

What do I need to use Content Security Policy Builder?

Start with Script sources, Style sources, Image sources. Use the units and formats shown beside the inputs.

Do I need to create an account?

No. You can browse and use TinyToolbox’s available tools without an account.

Related tools