SRI Generator

Subresource Integrity (SRI) allows browsers to verify that resources fetched from CDNs are delivered without unexpected manipulation.

Generated Tags

<script src="..." integrity="..." crossorigin="anonymous"></script>

Hash Algorithm

Tamper Prevention

SRI ensures that files loaded from a third-party source (like a CDN) match the exact version you've vetted, blocking malicious injections.

crossorigin="anonymous"

For SRI to work, the resource must be loaded using CORS. This attribute is required on your HTML tags.