MathLiveA Web Component for Math Input

<script src="//"></script> <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.

Anywhere. For Anyone.

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.


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.

Inline Shortcuts

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