Skip to content
L

LaTeX.js

JavaScript LaTeX to HTML5 translator

by michael-bradeFree

#2499in Utilities
0In stores

Description

LaTeX.js is a JavaScript translator that converts LaTeX source into HTML5. It is written in 100 percent JavaScript and runs in the browser w…

Highlights

  • Translates LaTeX into HTML5 in the browser
  • 100 percent JavaScript with no external dependencies
  • Command line binary for converting files
  • Custom macros written in JavaScript
  • Single-pass translation with filled-in references
  • Online playground to try documents

Ratings & Reviews

No ratings yet

Be the first to rate LaTeX.js.

People also visit

M

MathTranslate

translate scientific papers in latex, especially arxiv papers

Utilities
Launch
L

LaTeX.to

Convert LaTeX to PDF or images in your browser with a free online LaTeX editor

Utilities
Launch
M

Math

An ultra-fast, lightweight compiler

Education
Launch
R

RaTeX

>99.5% KaTeX syntax coverage

Education
Launch
M

Mitex

LaTeX support for Typst, powered by Rust and WASM

Developer Tools
Launch
T

Texworks

Main codebase for TeXworks, a simple interface for working with TeX documents

Utilities
Launch

LaTeX.js FAQ

What is LaTeX.js?

A JavaScript translator that converts LaTeX into HTML5, usable in the browser or on the command line.

How close is the output to LaTeX?

The site says the output is almost the same as LaTeX, except where HTML and CSS cannot reproduce it, such as glue.

Can I add my own macros?

Yes. New macros can be added in JavaScript, and the docs cover defining custom macros.

How do I use it?

Use it in the browser as a library or WebComponent, or run the latex.js binary in a console to translate LaTeX files.

Is it free?

Yes. It is MIT licensed and the code is on GitHub.

What are the best LaTeX.js alternatives?

Popular alternatives to LaTeX.js include MathTranslate, LaTeX.to and Texworks. See all LaTeX.js alternatives

Developer Stuff

Badges