Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

KaTeX

Fast, web-based math typesetting library for rendering LaTeX.

Markdown, editors and contentNPM

GitHubWebsite

1. License

License from npm.

github.com/KaTeX/KaTeX

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What KaTeX does

Fast, web-based math typesetting library for rendering LaTeX.

KaTeX popularity

78 / 100
Gid Score, #136 overall
47.9M
downloads a week, npm
20.5K
GitHub stars
61
agent projects use it
KaTeX: downloads per weeknpm, katex 47,862,319
KaTeX: GitHub starsKaTeX/KaTeX 20,536

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How KaTeX is used

  • KaTeX is a dependency in 61 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.3% of the 4,867 JavaScript/TypeScript ones), #12 of 149 in markdown, editors and content.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 238; those are left out of every share on this page.
  • The most used alternative in our scan is Marked (163 projects).
  • Projects that use it most often also use React (83.6%), Lucide React (65.6%), Tailwind Merge (62.3%).

By coding agent

40 projects, 1.2%
24 projects, 1.0%
23 projects, 0.8%
12 projects, 2.5%
7 projects, 1.5%
5 projects, 1.5%

Often used with

In 83.6% of its projects
In 65.6% of its projects
In 62.3% of its projects
In 80.3% of its projects
In 62.3% of its projects
In 45.9% of its projects
In 45.9% of its projects
In 54.1% of its projects

More about KaTeX

Funding
  • GitHub Sponsors: https://github.com/KaTeX
  • Open Collective: https://opencollective.com/katex
  • 4 GitHub sponsors

See all

More in Markdown, editors and content

Alternatives

KaTeX This page

MITGid 7847.9M/wk

Marked

Fast, efficient markdown parser for converting markdown to HTML.

MITGid 84138M/wk

Shiki

Beautiful syntax highlighter powered by TextMate grammars with superior accuracy.

MITGid 7642.6M/wk

highlight.js

Syntax highlighting library with automatic language detection for code blocks.

BSD-3-ClauseGid 7758.1M/wk

React Syntax Highlighter

React component for syntax highlighting code with Prism.js or Highlight.js.

MITGid 659.9M/wk

Compare KaTeX with another tool

Get started

Install it.

npm install katex

No step-by-step start for KaTeX yet: we have not written its hand-checked card.