# KaTeX – The fastest math typesetting library for the web
Simple API, no dependencies – yet super-fast on all major browsers.

# KaTeX

The fastest math typesetting library for the web.
Download View on GitHub
Type an expression:
f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi
See how it renders with KaTeX:
Simple API, no dependencies – yet super-fast on all major browsers.

- Fast: KaTeX renders its math synchronously and doesn’t need to reflow the page.
- Print quality: KaTeX’s layout is based on Donald Knuth’s TeX, the gold standard for math typesetting.
- Self contained: KaTeX has no dependencies and can easily be bundled with your website resources.
- Server side rendering: KaTeX produces the same output regardless of browser or environment, so you can pre-render expressions using Node.js and send them as plain HTML.

Lightning-fast, even on pages with hundreds of expressions:
MathJax
Download View on GitHub