Monotype SRI Generator
Generate Subresource Integrity (SRI) hashes for your external CSS and JavaScript resources to enhance security and ensure file integrity.
What is SRI? Subresource Integrity is a security feature that verifies external resources haven't been tampered with. When you include fonts or other assets from a CDN, SRI hashes ensure browsers only load files that match your original content—protecting your projects from unauthorized modifications.
⚠️ Important: This SRI generator will only work for Monotype CDN hosted web projects. Modifying your web project will cause the integrity check to fail, preventing your fonts from being served. Ensure the source files remain unchanged after generating SRI hashes.
📋 Steps:
1. Generate SRI Code:
Open your desired web project or digital ad in Monotype Fonts "My Library" section. Copy and paste the entire embed code having <link> and <script> tags into the "Input Code" field. Click the "Generate" button to fetch the resources and calculate their SRI hashes.
2. Use in Your Website:
Copy the Output code containing the SRI hash from the "Output Code" field and use it in your website. The browser will now verify the integrity of the external resources before loading them, ensuring they haven't been modified or compromised.
Input Code
Output Code
Your generated code with SRI integrity attributes will appear here...
Clear all input and output?