/ tool · 01
SRI Hash Generator
Generate a Subresource Integrity hash for a JS or CSS file — to include in the tag, CSP-compatible.
Generate
// Examples: example.com/script.js · example.com/style.css
// Enter the URL of a CSS sheet or JS script.
Coverage
- SHA-256 / 384 / 512 — the three standardized SRI algos
- integrity= — raw hash ready to paste
- tag complet — <script> / <link> with crossorigin
- all-integrity — combines all 3 hashes, strong fallback
- type auto — JS / CSS via extension + Content-Type
- cap 10 Mio — protection against giant resources