A modern, privacy-friendly web tool to generate Subresource Integrity (SRI) hashes for your JavaScript and CSS files.
Built with Bulma and the Web Crypto API, fully client-side — no data leaves your browser.
👉 Live site: sri-maker.js.org
- 📂 Multiple sources: Generate from a URL, file upload (drag & drop), or pasted source code.
- 🔐 Hash algorithms: Supports
sha256
,sha384
, andsha512
. - 🧩 Embed builder: Auto-creates ready-to-use
<script>
or<link>
tags withintegrity
+crossorigin
. - 🛡️ Integrity verifier: Paste existing SRI strings to check against your source.
- 🌙 Dark mode: Built-in theme switcher with system preference detection.
- 📋 Copy helpers: One-click copy for Base64, SRI strings, and full embed snippets.
- ⚡ 100% offline: Everything runs in the browser, no uploads, no tracking.
- Visit sri-maker.js.org.
- Select your source (URL, file, or paste code).
- Choose hashing algorithms (
sha256
,sha384
,sha512
). - Click Generate.
- Copy the SRI string or ready-to-use embed code.
Copyright © 2025 Rohit Chouhan. Licensed under the MIT LICENSE.