Security ToolsPrivate by design
Subresource Integrity (SRI) Hash Generator
Paste the exact content of a script or stylesheet to generate SHA-256, SHA-384, and SHA-512 Subresource Integrity hashes.
How to use this tool
- 1Paste the file's exact content.
- 2Click generate.
- 3Copy the integrity attribute you need.
Frequently asked questions
What is Subresource Integrity?+
SRI lets a browser verify that a fetched script or stylesheet matches an expected hash, protecting against a compromised or tampered CDN.
Related tools
Keep the boring tools boring.
If this saved you five minutes of nonsense, you can help keep the free tools running.
Buy the toolbox a coffee