To write LaTeX offline you need two things: a TeX distribution that turns LaTeX into PDF, and an editor. Install MiKTeX (Windows), MacTeX (Mac) or TeX Live (Linux), then use a free editor such as TexOwl with a live PDF preview. After setup, nothing needs the internet.

What do I need to install?

Part What it does Examples
TeX distribution The compiler and packages MiKTeX, MacTeX, TeX Live
Editor Where you type and see the PDF TexOwl, TeXstudio, VS Code + LaTeX Workshop

How do I install LaTeX on Windows?

  1. Go to miktex.org and download the installer.
  2. Run it. Choose to install for yourself (or all users) and let it install missing packages on the fly if asked.
  3. Restart your computer if the installer asks.

How do I install LaTeX on Mac?

  1. Download MacTeX from tug.org. It is a large download because it includes many packages.
  2. Open the .pkg and follow the steps.

How do I install LaTeX on Linux?

  1. Install TeX Live. On Debian or Ubuntu, for example, the package is texlive-full (large) or a smaller set plus latexmk.
  2. Check it works by running latexmk -v in a terminal.

How do I set up TexOwl as my offline editor?

  1. Download TexOwl for your system: a signed Windows installer, a Mac .dmg (Apple Silicon or Intel) or a Linux AppImage.
  2. Open it. The TeX setup page detects your TeX installation and shows what is missing. If you skipped the steps above, it tells you what to install.
  3. Click Create Project, choose a template (article, report, thesis, Beamer or letter) or import an Overleaf .zip.
  4. Type on the left, click Compile, and read the PDF on the right.

Missing LaTeX packages are found from the error message and installed for you, or TexOwl can ask first.

What can I do offline?

  • Compile with pdfLaTeX, XeLaTeX or LuaLaTeX through latexmk, with BibTeX or biber.
  • Click in the PDF to jump to the source line, and the other way (SyncTeX).
  • Use autocomplete, the document outline and an error list with line numbers.
  • Keep a full local project history with named checkpoints.
  • Open .tex files by double-click or right-click, Open with.

Syncing with Dropbox, Google Drive, OneDrive or iCloud needs the internet only when your cloud app syncs. See all features and how local compilation works.

What about Overleaf?

Overleaf’s free plan stops a compile after 10 seconds and needs a connection. Moving a project is a .zip download and an upload, covered in the timeout fix guide and the Overleaf alternative page. TexOwl has no co-editing yet.

Start writing offline

Download TexOwl, free for Windows, macOS and Linux. Questions are answered in the FAQ.

Frequently asked questions

Can I use LaTeX without internet?

Yes. Install a TeX distribution (MiKTeX, MacTeX or TeX Live) and a desktop editor. After setup, writing and compiling need no internet connection.

What is the best free offline LaTeX editor?

It depends on taste. TexOwl is built to feel like Overleaf, with a project dashboard, split view and Overleaf import. TeXstudio is a long-established editor with many settings, and VS Code with LaTeX Workshop suits people who already use VS Code.