Cryptography & authentication
Subresource Integrity Generator
Create SRI hashes and escaped script or stylesheet snippets.
Preparing local security workspace…
How to use Subresource Integrity Generator
- Paste exact resource text or choose a local file.
- Choose SHA-256, SHA-384 or SHA-512 and the resource URL.
- Generate the integrity value and HTML snippet.
What are the limits of Subresource Integrity Generator?
No URL fetching. Bytes must match the actual served resource. Cross-origin resources need compatible CORS headers. Up to 20 MB per local file. This tool processes inputs in browser memory and makes no upload or lookup request. Clear inputs or close the tab when finished. Exports and clipboard actions are explicit.