Fork me on GitHub!

MathQuill by Han and Jeanine

WYSIWYG math with only HTML, CSS and JS

Try typing x^2:
Backspace and try 3/4, try \sqrt x, try \sin\theta .
Move around with the arrow keys, click, drag, cut and paste like any other textbox.

See our thorough demo for more features, textbox variants and the public API.

MathQuill renders LaTeX math as semantically rich HTML and presents it as human-readable math by styling with CSS. Showcasing the power of the HTML DOM, this math is WYSIWYG editable.

Current development is proudly supported by Desmos, whose awesome graphing calculator makes extensive use of MathQuill.


Want to use it on your website? See the project README on GitHub.

Project Contact

Han (