SRI hash generator
Generate Subresource Integrity hashes from pasted source or a local file using SHA-256, SHA-384, or SHA-512 in the browser.
No uploads. No account. Free to use.
Drop a script or stylesheet file
Nothing is uploaded. Processing stays on this device.
- Files never leave your device
- Runs entirely in your browser
- No signup required
- Free
What is sri hash generator?
The SRI generator hashes script or CSS bytes and prints an integrity attribute (sha256/384/512).
How to use it
- Paste script/style source or drop a file.
- Pick SHA-256, SHA-384, or SHA-512.
- Copy the integrity attribute. Hashing is local.
When to use it
Subresource Integrity pins a CDN file to a digest. Hash the file you intend to serve, locally.
Frequently asked questions
Are my files uploaded?
No. This tool runs in your browser. Files and text stay on your device and are not sent to our servers.
Does this use AI?
No. It is a deterministic utility. There is no model and no third-party processing of your data.
Related tools
More in Developer tools.