Dev Tools

SRI Hash Generator

Generate Subresource Integrity hashes (SHA-256/384/512) for scripts and stylesheets using WebCrypto.

File Content
Hash Algorithms
Resource Type
About SRI

Subresource Integrity (SRI) lets browsers verify that fetched resources have not been tampered with. The browser checks the hash of the downloaded file against the expected hash in the integrity attribute and rejects it if they don't match.

SHA-384 is the most commonly used algorithm for SRI. You can specify multiple algorithms separated by spaces for fallback.

Was this page helpful?

Related tools