It is a browser mechanism that validates the integrity of scripts and styles loaded from other origins. The HTML declares the expected hash in the integrity attribute, and the browser rejects the resource if the content does not match.
Generate the SRI integrity attribute for scripts and stylesheets from their content, in the browser.
Subresource Integrity (SRI) is a browser security feature that verifies a script or stylesheet loaded from a CDN has not been altered. You add an integrity attribute with the file's expected hash to the HTML; if the delivered content does not match, the browser blocks the resource. This tool computes that hash (SHA-256, SHA-384 or SHA-512) from content you paste or a file you upload, without downloading anything from the network, and builds a ready snippet for script and link tags. For safety, it does not fetch the URL: the hash must come exactly from the content that will be served.
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframe
src="https://jkit.tools/embed/en-US/sri-hash-generator"
width="100%"
height="600"
style="border:0"
loading="lazy"
title="SRI Hash Generator"
></iframe>These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
It is a browser mechanism that validates the integrity of scripts and styles loaded from other origins. The HTML declares the expected hash in the integrity attribute, and the browser rejects the resource if the content does not match.
———The snippet shows up hereThe hash is computed only in the browser with WebCrypto. The content and file are never sent to any server. The URL is used only to build the snippet, never fetched.