SRI Hash Generator

Generate Subresource Integrity hashes for scripts and stylesheets. Protect against CDN compromises.

How to use

  1. Paste the full CDN URL of a .js or .css file (e.g. from jsDelivr, cdnjs, or unpkg)
  2. Click Generate — the file is fetched and hashed in your browser
  3. Copy the generated HTML tag and paste it in place of your existing <script> or <link> tag

The CDN resource must have CORS enabled (Access-Control-Allow-Origin: *). SHA-384 is the recommended algorithm.

Get a full RLS & security audit

We test every table, policy, and code pattern in your database automatically.