SRI Hash Generator

Generate a Subresource Integrity (SRI) hash for any file — paste its contents or fetch it from a CDN URL. Then copy a ready-to-use <script> or <link> tag with the integrity attribute. No signup required.

1. Source

2. Algorithm

3. Tag Type

Result

Integrity Hash
Paste contents or fetch a URL, then click Generate.
HTML Tag
 
What is SRI? Subresource Integrity lets the browser verify that a file served from a CDN matches the hash you pinned. If the file is tampered with, the browser refuses to load it. Always pair integrity with crossorigin="anonymous" for cross-origin resources.

Need something more powerful?

Custom APIs, dashboards, automations — whatever you need.

Start a Project →