BTC $64,746.00 −0.89% ETH $1,812.68 −1.00% USDT $0.9992 −0.01% BNB $592.95 −0.15% USDC $0.9996 −0.01% XRP $0.9713 +1.10% SOL $73.90 +2.75% TRX $0.3076 +0.72% FIGR_HELOC $1.01 −3.72% STETH $1,796.44 −1.86% HYPE $69.22 −0.95% ZEC $949.32 +4.28% XMR $506.21 +1.15% DOGE $0.0596 +0.23% BTC $64,746.00 −0.89% ETH $1,812.68 −1.00% USDT $0.9992 −0.01% BNB $592.95 −0.15% USDC $0.9996 −0.01% XRP $0.9713 +1.10% SOL $73.90 +2.75% TRX $0.3076 +0.72% FIGR_HELOC $1.01 −3.72% STETH $1,796.44 −1.86% HYPE $69.22 −0.95% ZEC $949.32 +4.28% XMR $506.21 +1.15% DOGE $0.0596 +0.23%
CDN LINKS · CODE AND TEXT EDITORS

KaTeX CDN

Fast math formulas (TeX) on web pages. Latest version 0.19.1, with SRI hashes for safe loading.

KaTeX 0.19.1

Fast math formulas (TeX) on web pages.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha256-AOCwlBcbB/WEIgdfRptP6sKy97zhruyUPAjaTWl/Tc8=" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha256-+hQEmLjPyDAsvl58sb28H5Urw4s/oljt4J5z7b+adLw=" crossorigin="anonymous"></script>

Licence: MIT · Official site

All files and hashes

CDNVersionAddressSRI
jsDelivr0.19.1https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.csssha256-AOCwlBcbB/WEIgdfRptP6sKy97zhruyUPAjaTWl/Tc8=
jsDelivr0.19.1https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.jssha256-+hQEmLjPyDAsvl58sb28H5Urw4s/oljt4J5z7b+adLw=
unpkg0.19.1https://unpkg.com/[email protected]/dist/katex.min.csssha256-AOCwlBcbB/WEIgdfRptP6sKy97zhruyUPAjaTWl/Tc8=
unpkg0.19.1https://unpkg.com/[email protected]/dist/katex.min.jssha256-+hQEmLjPyDAsvl58sb28H5Urw4s/oljt4J5z7b+adLw=
cdnjs (Cloudflare)0.19.1https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.19.1/katex.min.csssha512-cY01S0EQUwBvX+qFNs77UQcmePAaTnsTKoipGYgOQUXwCdqtQcW+bnxg5r9iFnFgMUEoGapXXOWUw8WlSoIdZw==
cdnjs (Cloudflare)0.19.1https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.19.1/katex.min.jssha512-qce0j+v3Ze4WEtoxsx79Qa+yFoD/F9LWbkwpyTTl2+vdCcCX18J3yozpT++S5PzN7fhUUxZje+Qk+u1LRT8RYA==

How to add KaTeX to your page

Copy the tags above. Put stylesheet (<link>) tags inside <head>, and script tags just before </body> so the page shows first.

Building with a bundler (Vite, webpack)? Install it instead: npm install katex

Licence: MIT. Read the full terms on the official site before commercial use.

Use a CDN safely

  • Keep the SRI hash. The integrity attribute is a fingerprint of the file. If anyone changes the file on the CDN, the browser refuses to run it.
  • Pin the version. Every link here has an exact version (like @3.7.1). Links with @latest or no version change under your feet and cannot use SRI.
  • Use well-known CDNs only. jsDelivr, unpkg and cdnjs serve files straight from npm and the projects. In June 2024 the domain of the "polyfill.io" service was sold, and the new owner served harmful code to more than 100,000 websites that still loaded it. Sites with SRI or a trusted CDN were safe.
  • Keep crossorigin="anonymous" next to integrity; browsers need it to check files from another domain.
  • Check the licence. Most libraries here are free for any use (MIT, BSD, Apache). A few are free only for personal, non-profit or open-source use; their cards carry an orange licence note so you can decide.
  • For important sites, host the files yourself (or install them with npm). Your site then does not depend on any outside server.

More code and text editors

highlight.js Prism CodeMirror 5 Monaco Editor Quill TinyMCE MathJax Ace EasyMDE Editor.js

Trustpilot

What our customers say

4.8 / 5Trustpilot rating
FREE BITCOIN TOOLS

Stuck Bitcoin transaction?

Paste your TXID, see where it stands, and give it a free push. No signup, no wallet access.

Try the free accelerator
  • Free
  • No signup
  • Live status