SRI Hash Generator
Generate SRI (Subresource Integrity) hashes for CDN resources. Ensure content security and integrity with SRI validation.
Loading tool...
What is SRI Hash Generator?
SRI Hash Generator creates Subresource Integrity hashes (SHA-384) for your script and link tags, ensuring browsers only execute trusted external code.
Key Benefits
- Prevent XSS
- Secure CDNs
- Browser standard
- Easy implementation
Common Use Cases
- •Securing external libs
- •Bank websites
- •Compliance
- •Web security
How to Generate SRI Hash
- Input: Upload file or paste URL.
- Hash: Select algorithm (SHA-384 recommended).
- Copy: Get integrity attribute code.
Key Features
- Generate SRI hashes for scripts
- SHA-256, SHA-384, SHA-512
- Fetch and hash from URL
- Full integrity attribute output
- CORS crossorigin attribute
- Copy complete HTML tag