Security headers generator
Choose web security headers such as CSP, HSTS, X-Frame-Options, and Referrer-Policy, then copy them as raw headers, nginx, Apache, or Cloudflare snippets.
Security headers settings
Choose security headers and the server snippet format for your site.
Headers to include
Prepare baseline security headers before deployment
Web security headers help browsers handle your pages more safely. CSP limits where scripts and resources can load from, HSTS keeps traffic on HTTPS, and Referrer-Policy plus Permissions-Policy reduce unnecessary data and capability exposure.
This tool converts the selected headers into raw header lines, nginx snippets, Apache snippets, or Cloudflare _headers format. The balanced preset is easier to apply to existing sites, while the strict preset shows stronger rules that should be tested before production.
Security headers can affect real site behavior, so test login, checkout, images, fonts, and third-party scripts in staging before shipping. Generation runs entirely in your browser, and your settings are not sent to berryfy.
Related tools
Continue with tools that fit the same task flow.
