Playground

Type math in any notation — plain text, LaTeX, Unicode, or code like Math.pow(x, 2). MathZetta parses it into standard postfix (a flat list of tokens with each operator after its operands) and generates every output from there. See how it works and the postfix reference.

KaTeX (from toLaTeX)

MathML — hover or tap a part

Inline Math — tap a part

Spoken (toSpeech) — tap a phrase or Tab through

Postfix — token index shown below

Every output format is built from this list. The small number under each token is its index, which doubles as its node ID — so selecting a part highlights it across the drawing, MathML, speech, and tokens.

Selected part

Hover or tap any part of the math above, or Tab to a spoken phrase.

Outputs

Every format generated from the same postfix. value is the result of evaluate() (which errors if a variable has no value).

Pipeline

Step-by-step view of how the parser processed your input. Each clean step normalizes one kind of syntax (LaTeX, Unicode, code, words); tokens are the resulting pieces; raw postfix is the shunting-yard output before final validation. Read more in how it works or try the postfix quiz.