XeTeX online

Run XeTeX online in your browser: plain TeX that reads Unicode and loads OpenType fonts by their names.

First page of the XeTeX example, compiled with XeTeX

Open in LaTeX.to Download the example (zip)

How to compile with XeTeX on LaTeX.to

Everything runs in your browser: nothing to install, no login, no compile timeout.

What XeTeX is

XeTeX is the engine underneath XeLaTeX. Run it with the plain format instead of LaTeX and you get Knuth's plain TeX, the one that ends in \bye, plus the two things XeTeX was built for: it reads Unicode, and it loads fonts by name.

The example on this page shows both. \font\body="TeX Gyre Pagella" at 11pt asks for a font by its human name, in quotes, a syntax only XeTeX accepts, and the paragraph with Français, Čeština, Łódź and Tiếng Việt is typed exactly as it prints.

When to use it

XeTeX vs LuaTeX

Both read Unicode and both load OpenType fonts.

For a plain file that only needs a nice font, either does the job. Auto picks XeTeX for a \bye file that loads a font with the quoted syntax, and the example pins it with % !TeX program = xetex on the first line.

More engines: LuaTeX, pdfTeX and all engines.