Riham Blogs

LaTeX to Unicode

A web project created by Riham S.

How does it work?

Overview

It's a lightweight, client-side web page that transforms LaTeX syntax and script notation into shareable Unicode characters. Designed primarily for writing mathematical or chemical notation in plain-text environments, where LaTeX or Markdown is not supported.

LaTeX

It features 240+ LaTeX commands that can be inserted if you type a backslash (\), which includes Greek, operators, relations, arrows, sets, calculus, and delimiters.

A backslash (\), braces { }, caret (^), and underscore can be escaped with a leading backslash. Layout commands such as "\frac" are not supported. Unknown LaTeX is preserved as-is.

Script

Underscore is used for subscripts (e.g. "H_2O" becomes H₂O) whilst caret (^) is used for superscripts (e.g. "y^2" becomes y²). Braces group multi-character scripts. For example, "b^{20}" becomes b²⁰, whilst "b^20" only converts the first character, becoming b²0.

Superscript supports 0-9, A-Z, and a-z (although it doesn't support "q" in lowercase and 7 characters in uppercase). Subscript supports 0-9 and a limited subset of lowercase letters. Uppercase subscripts do not exist in Unicode. Both forms also support plus (+), minus (-), equals (=), and parentheses "( )".

If a character can't be mapped to a script Unicode character, it is preserved as-is while the rest of the script converts normally (e.g. "y^{2%}" becomes y²%).

Usage

Click "Copy Result" to copy without selecting anything. Some emoji-prone Unicode characters are forced to render as text presentation. Report bugs or request features on Riham Blogs' Submit Feedback page.

Character Used: 22 / 800
5² × 5 ≠ 50