SRI Hash Generator
Generate Subresource Integrity hashes online — SHA-256/384/512 integrity attributes for scripts and stylesheets, computed locally.
Paste the file contents or drop a file — the hash is computed locally; nothing is uploaded.
About SRI Hash Generator
Subresource Integrity lets browsers verify that CDN-hosted scripts and stylesheets were not tampered with. Paste the file contents or drop the file, pick SHA-256/384/512, and get a ready-to-paste integrity attribute plus a <script> tag.
The hash is computed with the Web Crypto API entirely in your browser — the file is never uploaded.