XeLaTeX online

Compile XeLaTeX online without installing anything: fontspec, Unicode text and OpenType fonts, all running in your browser.

First page of the XeLaTeX example, compiled with XeLaTeX

Open in LaTeX.to Download the example (zip)

How to compile with XeLaTeX on LaTeX.to

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

What XeLaTeX is

XeLaTeX is the XeTeX engine with the LaTeX format loaded. It exists for two things. It reads your file as Unicode, so any character your font can draw goes straight into the source, Čeština, Tiếng Việt, Ελληνικά, without escape codes. And it loads fonts by name: one line, \setmainfont{TeX Gyre Pagella}, and the whole document is set in that face, ligatures and small capitals included.

It does not write the PDF itself. It writes an extended DVI file, XDV, and the xdvipdfmx driver turns that into the PDF in the same run. You never see the step, but it is why a few pdfTeX-only packages complain.

When to use it

XeLaTeX vs pdfLaTeX vs LuaLaTeX

The details are on pdfLaTeX vs XeLaTeX vs LuaLaTeX.

"xelatex not found on path"

Jupyter's PDF export (nbconvert --to pdf) and pandoc both shell out to xelatex, and this is what they say when no TeX is installed. Instead of a multi-gigabyte install:

  1. Have nbconvert write LaTeX instead: --to latex.
  2. Open that .tex file here, with the images it references.
  3. Compile. The document already loads fontspec, so Auto picks XeLaTeX by itself.

More engines: LuaLaTeX, pdfLaTeX, LaTeX, LaTeX (dvipdfmx) and all engines. Compare: pdfLaTeX vs XeLaTeX vs LuaLaTeX.