SRI Hash Generator
Generate Subresource Integrity (SRI) hashes for JS and CSS.
Loading tool...
Want to manage and track your short URLs? Start your 5-day trial.
About SRI Hash Generator
Subresource Integrity (SRI) lets browsers verify that a script or stylesheet has not been modified. Paste the exact file contents (or choose a file) and generate an integrity value you can add to your <script> or <link> tag.
How to use
- Select sha256, sha384, or sha512.
- Paste the resource contents or choose a file.
- Copy the generated integrity attribute.
Privacy
All hashing happens locally in your browser.
For browser-side security headers, pair this with CSP Header Generator and HTTP Header Checker.
Related Tools
More tools you may find useful.