A Web Component for Math Input

<math-field virtual-keyboard-mode="manual"> x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} </math-field>

TeX Quality Typesetting

TeX is the gold standard for typesetting of mathematical content.

MathLive provides a JavaScript implementation that faithfully reproduces the output of TeX.

MathLive supports over 800 TeX commands.


You can paste in MathASCII or LaTeX, and get back those formats or an easy to parse MathJSON object representing an Abstract Syntax Tree of the formula.

A comprehensive API is available and many options are customizable, from you own dictionary of LaTeX macros, custom inline shortcuts, custom virtual keyboards and more.

Intuitive Editing

Type an equation: use the keyboard to type symbols, arrow keys to navigate.

When done, select the equation, and copy the LaTeX code to another app.

For Anyone. Anywhere.

MathLive works with screenreaders and include a custom text to speech engine.

On screen, customizable, virtual keyboards are also available to make input easy, even on mobile devices.

Easy as π

Some symbols get converted automatically. Type pi and it becomes π.