Your library

About techxt

Techxt — LaTeX to unicode text converter

Convert LaTeX code into a readable plain text approximation: \emph{hi} becomes ℎ𝑖, \"o becomes ö, $\sum_{i=1}^n x_i$ becomes ∑ᵢ₌₁ⁿ 𝑥ᵢ, an itemize becomes a bulleted list, and a tabular becomes an aligned text table. Your own \newcommand and \def definitions are expanded where you use them.

This web application runs entirely in the browser

No input data is uploaded to any server. You can install this app as a Progressive Web App on your phone and on your desktop (read more).

Every document you convert is kept in your library, which is stored on this device only and is never uploaded. Nothing in it is ever removed to save space: you delete what you want gone, and Export writes the whole library to a file you keep.

Rust libraries techy, techy-xp, and techxt, successors to python's pylatexenc

The techxt converter library is written in Rust. It is based on the techy parser library, designed to parse (La)TeX-like construct code. Both libraries can be compiled to WebAssembly (WASM), facilitating their embedding in the browser (as you can see on this page).

The techy and techxt libraries are the result of rewriting the pylatexenc python library capabilities from scratch, in Rust. We've improved the design and made the parsing faster.

The parsing mechanics is further boosted with the techy-xp library, an extension to techy that provides token-time expansion of input and supports complex \newcommand and \def macros.

Techy's github page | Techy-xp's github page | Techxt's github page | Pylatexenc's github page

The techy/techy-xp/techxt libraries are currently in early development stage.

The techxt command-line tool

Prefer the command line? Download/clone the techxt repository, and install the binary:

techxt$ cargo install --path rust/techxt-cli

Then:

$ techxt myfile.tex 
Here is some math: ∑ₖ₌₁ⁿ 1/𝑘² …

(You'll miss out on some features, though, such as your text being automatically saved in the app's library.)

techxt — · MIT or Apache-2.0 licensed · © Philippe Faist
Fonts:

      Install the techxt app

      techxt is a progressive web app: install it and it gets its own window and its own icon, starts without a browser bar, and keeps working with the network off. Nothing is uploaded when you install it — the whole converter is already in this page.

      Other devices

      What an installed copy adds

      Display fonts are fetched as you choose them, and the MathJax typesetter the first time you choose that math mode — from this site, never from anyone else’s. Keep everything offline, in More options, fetches all of it now so it works with the network off too.

      The techxt command-line tool

      Prefer the command line? Download/clone the techxt repository, and install the binary:

      techxt$ cargo install --path rust/techxt-cli

      Then:

      $ techxt myfile.tex 
      Here is some math: ∑ₖ₌₁ⁿ 1/𝑘² …