What is the SRI Hash Exporter & Generator?
Subresource Integrity (SRI) protects a site when it loads files from a CDN. The integrity="sha384-…" value is a fingerprint of the file. If someone changes the file, the browser refuses to run it.
This tool lists all scripts and stylesheets on a page, shows which ones have SRI, and marks third-party files without it. Tick the option to create sha384 hashes for files that do not have one, along with a ready-to-copy HTML tag.
How to use it
- Paste the address of the page.
- Tick Make SRI hashes if you want new hashes made.
- Press Check SRI.
- Copy the integrity values or HTML tags you need.
Why people like this tool
SRI audit
See which files have SRI and which are missing it.
Hash generator
sha384 hashes for up to 30 files, made from the live files.
Ready tags
Copy full <script> and <link> tags with integrity and crossorigin.
Third-party focus
Warnings for CDN files that have no SRI.