Henk Verlinde
Subresource Integrity Generator
Photograph: Hannah Le Leu/Ocean Photography Awards

Subresource Integrity Generator

· 1 min read

Progressive Web Application (PWA) generating a <script> or <link> element with an integrity attribute.



  1. Enter URL of JS or CSS file — or drop a local file
  2. Select SHA strength
  3. Click Generate
  4. Click Copy
  5. Paste <script> or <link> element



Based on:

Major changes:

  • Use one SHA option only — following current practice
  • Default to SHA-512 — following current browser support
  • Add Reset button
  • Replace Copied alert with in page message
  • Replace CSS with Water.css
Henk Verlinde