← All tools

Subresource Integrity (SRI) Hash Generator

Paste any text, or pick a file, to get an integrity="sha384-…" string you can drop into a <script> or <link> tag. All three SHA variants are computed. Runs entirely in your browser — your bytes never leave the device. Replacement for the archived srihash.org.

No input yet.

Integrity strings

SHA-256 (empty)
SHA-384 (recommended) (empty)
SHA-512 (empty)

Ready-to-paste snippet (SHA-384)

Type the URL you intend to use; we won't fetch it. We just slot the integrity string + crossorigin="anonymous" in for you.

(pick a SHA-384 hash to build the snippet)

Notes