✓ Runs locally in your browser

SRI Hash Generator

Create SHA-256, SHA-384 or SHA-512 integrity attributes from exact resource text.

Loading the local tool workspace…
About this tool

What is SRI Hash Generator?

SRI Hash Generator produces a Subresource Integrity value from the exact bytes represented by pasted resource text.

Three simple steps

How to use SRI Hash Generator

  1. 01

    Paste the complete deployed script or stylesheet content.

  2. 02

    Choose SHA-256, SHA-384 or SHA-512 as required by your workflow.

  3. 03

    Copy the algorithm-prefixed Base64 value into an integrity attribute.

Common questions

SRI Hash Generator FAQ

Why does the generated SRI value fail in the browser?

The fetched resource bytes differ from the pasted text. Generate the value from the final deployed asset and ensure crossorigin settings match the resource.

Is SRI Hash Generator private to use?

Yes. Security values and pasted configuration data are processed locally and are not sent to Toolnera or external targets.