SRI Generator

Generate Subresource Integrity (SRI) hashes for web assets

Pasted text is encoded as UTF-8, then the raw digest bytes are Base64 encoded. SRI validates exact resource bytes: encoding, line endings or build/minification transforms may differ from pasted content. No URL fetch or file upload. Text limit 200,000 UTF-16 characters; empty text is valid.

Processing stays in this browser. Entered and generated secrets are not stored or sent to a service. Copy is only performed when you press Copy result. Reload clears tool state.

How to use SRI Generator

Generate Subresource Integrity (SRI) hashes for web assets

  1. Select the required security settings on a trusted device.
  2. Review the generated secret or policy before copying it to its destination.
  3. Review the result, then copy or download it.

Inputs and options

Resource text · Algorithm

Example input

text: console.log('Hello');

Use the example button when available, or paste these values into the corresponding fields.

Formats and limits

Pasted text is encoded as UTF-8, then the raw digest bytes are Base64 encoded. SRI validates exact resource bytes: encoding, line endings or build/minification transforms may differ from pasted content. No URL fetch or file upload. Text limit 200,000 UTF-16 characters; empty text is valid.

Frequently asked questions

Are my inputs uploaded?

Tool processing runs on your device. Your input is not sent to a processing server. Some tools may download runtime files or use platform features; see the tool notes.

What should I check before using the result?

Generate secrets on a trusted device. Copying puts the result on your clipboard; clear it after use and avoid sharing secrets.

Can I use this tool for free?

Yes. ToolXovo tools are free to use. Beta tools are still being validated; check their notes and exported results.