Texpile is a modern, local, offline LaTeX editor for Windows, macOS, and Linux. Its visual editor shows your document as formatted text, math, tables, and figures while you write, and a live preview compiled by your own TeX distribution updates as you type. Drop into source view whenever you want. No account, no cloud, your documents never leave your machine.
Edit your document as formatted text, math, tables, and figures. The same file opens in source view whenever you want it.
Type in source view and the page re-typesets with your own LuaLaTeX and updates in place, patched in milliseconds. Math, TikZ, and pgfplots figures render live.
live-preview-demo.mp4
Installers for all three platforms are on texpile.com/download, or directly:
| Platform | Link |
|---|---|
| Windows | dl.texpile.com/latest/windows |
| macOS | dl.texpile.com/latest/mac |
| Linux (AppImage) | dl.texpile.com/latest/linux |
| Linux (.deb) | dl.texpile.com/latest/deb |
Editing works out of the box. To compile PDFs, install a TeX distribution (TeX Live, MiKTeX, or MacTeX) and Texpile runs it for you.
- Your
.texfile stays yours. There is no internal document format. Saving a file you did not change writes back the exact same bytes. Editing one paragraph regenerates only that block; the rest of the file, including your preamble and any LaTeX the editor does not model, is preserved verbatim. - Compile with your own toolchain. The Compile button runs your command (
latexmk,pdflatex, a Makefile, anything) in a built-in terminal. Multi-file projects are supported, with automatic main file detection. - Compile errors as a Problems list. The LaTeX log (and BibTeX/biber logs) are parsed into errors and warnings with file and line, shown in a panel and inline in the source editor.
- PDF preview with SyncTeX. Jump from text to PDF and from PDF back to the exact source line.
- References. A
.bibeditor and@-citation autocomplete. - Source control. Side-by-side diff against the last commit, staging, and commits, built on your existing git repository.
- Spell check runs locally via Harper.
- Starters for blank articles, APA, and MLA documents.
Your documents stay on your disk. The app's only network traffic is the update check, which you can turn off in Preferences.
Questions, bugs, or feedback? Join the Discord.
Beyond its package dependencies, Texpile vendors or derives from the following projects:
- LaTeX Workshop (MIT). The editor's autocomplete, hover, and folding are modeled on its IntelliSense, and its completion data (commands, packages, classes, and key-value option lists) is vendored into the editor. Details in VENDORED-LICENSES.
- pdf.js (Apache-2.0). The live preview's Type1 font parsing is adapted from it.
