WebAssembly-Powered LaTeX Engine

Compile LaTeX in the Browser

A production-ready LaTeX engine compiled to WebAssembly. No compile server needed — everything runs client-side. Embed full pdftex and xetex compilation directly in your web application.

20% Faster Compilation

Optimized WebAssembly binary delivers compilation speeds up to 20% faster than local TeX Live and Overleaf across academic papers and complex projects.

Zero Installation

No 15 GB TeX Live download. No PATH configuration. Open a browser tab and start compiling instantly — works on any device with a modern browser.

Zero Server Compute

Compilation runs entirely in the browser via WASM. Eliminate server-side TeX workers, reduce infrastructure cost, and scale to unlimited concurrent users at near-zero marginal cost.

Minimal Storage Footprint

A full TeX Live installation requires 15 GB+. Our engine ships only the packages each document actually uses — typically under 10 MB — loaded on demand over the network.

Bidirectional SyncTeX

Click a line in the editor to jump to the corresponding position in the PDF, and vice versa. Powered by compiled-in SyncTeX with sub-second latency.

Broad Font Support

Ship with CJK fonts, Microsoft-compatible fonts, and common academic typefaces out of the box — no manual font uploads required.

Smart File Resolution

Intelligent file-tree search automatically resolves includes and inputs even when authors don't follow standard directory conventions.

Local-First, No Latency

Source files stay in the browser. No round-trip to a remote server for each keystroke or compile. Offline-capable once assets are cached.

Interactive Demo

Try It Right Now

A fully functional LaTeX editor running entirely in your browser. Select a project, hit compile, and see the PDF render in real time.

Select a demo project

Explorer
main.tex

Powered by StellarLaTeX WASM engine — pdftex & xetex compiled to WebAssembly

Documentation

Get Started in Minutes

Drop-in LaTeX compilation for any JavaScript application. Ship a complete TeX environment with just two static files.

install.sh
# Download the latest release from GitHub
# https://github.com/Arxtect/StellarLatex/releases

# The release ships two WASM engines:
#   stellarlatexpdftex.js  + stellarlatexpdftex.wasm
#   stellarlatexxetex.js   + stellarlatexxetex.wasm
#
# Download and copy the .js and .wasm files to your public/ directory

mkdir -p public/stellar-latex/
# Extract the release archive into your project
cp stellar-latex-release/*.js   public/stellar-latex/
cp stellar-latex-release/*.wasm public/stellar-latex/
stellarlatexpdftex.wasm

pdftex Engine

Standard pdfTeX compiled to WASM. Supports LaTeX2e, BibTeX, makeindex, and all common packages. ~3 MB gzipped.

stellarlatexxetex.wasm

xetex Engine

XeTeX with HarfBuzz for full Unicode and OpenType font support. Ideal for multilingual and CJK typesetting.

synctex_parser.c

SyncTeX Built-in

Bidirectional source-PDF mapping compiled into the engine. No external tools — call synctexView() and synctexEdit() directly.