Create SRI integrity="sha384-..." hashes for scripts and stylesheets.
Generate Subresource Integrity (SRI) hashes for your CSS and JavaScript assets so browsers can verify third-party files have not been tampered with. Paste code, upload a file, or fetch a URL, then copy a ready-to-use integrity="sha384-..." attribute for your <script> or <link> tag. Hashing is done locally with the Web Crypto API.
The SRI Hash Generator quickly creates Subresource Integrity attributes for JavaScript and CSS assets, ensuring third-party files loaded via CDNs have not been tampered with. Because hashing is performed locally in the browser using the Web Crypto API, your source code and files remain private and secure without being uploaded to an external server.
Good to know: For large automated build pipelines or continuous integration workflows, command-line tools or build plugins that generate SRI hashes automatically may fit better than a manual web utility.
Secure your website by generating Subresource Integrity hashes for your CSS and JavaScript files using the Web Crypto API.
Select your asset input method
Choose whether to paste your code directly, upload a local file, or fetch a remote asset via URL.
Provide the script or stylesheet content
Input the JavaScript or CSS data into the generator to begin the local hashing process.
Generate the SHA-384 integrity hash
The tool uses the Web Crypto API to calculate the secure hash locally in your browser.
Copy the generated integrity attribute
Copy the formatted integrity string and paste it into your HTML <script> or <link> tags.
Estimated time: PT1M
Share this tool
Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text.
Compute SHA-1/256/384/512 of any file and verify integrity — 100% browser-based.
Generate HMAC-SHA256/512 signatures for API authentication and webhooks.
Generate strong, customizable secure passwords instantly.
Encode and decode text with ROT13, Caesar, Atbash, and Vigenère ciphers.
Check password strength: entropy, crack time, patterns, and breach check.
AES-256-GCM encrypt and decrypt text with a passphrase — runs in your browser.
Build and sign JWTs with HS256/384/512. Verify signatures. Runs in your browser.
Generate live TOTP/2FA codes from a base32 secret. Scan QR with any authenticator.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Draw a Secret Santa with exclusions and share a private reveal link for each person.
Make custom bingo cards from your own words — play, print, or share a link.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
Rank anything with quick 1-v-1 matchups → a full ordered list you can share.
Convert Markdown to a fully customized, RTL-ready PDF.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.