Your LaTeX, edited like a document.
Saved exactly as LaTeX.

Texpile is a modern, open-source LaTeX editor that runs entirely on your machine. Edit visually or drop into source at any time, with the same .tex files either way. No accounts, no cloud, no lock-in.

Windows, macOS, and Linux. Free.

Visual editor, PDF preview, and a real terminal
Visual editor, PDF preview, and a real terminal
Raw LaTeX when you want it
Raw LaTeX when you want it
Side-by-side diff and built-in source control
Side-by-side diff and built-in source control

The best LaTeX visual editing experience

This isn't a preview pane bolted onto a text box. The editor parses your .tex source, renders what it can, and leaves the rest as plain LaTeX.

  • Type @ to reference any equation, figure, table, or citation.
  • Equations render inline and keep their numbering.
  • Tables support multirow and multicolumn, edited visually.
  • Spell check skips your commands and math.
Source editor completing \cite with bibliography keys and titles

Built-in intellisense

Texpile statically parses your whole project to produce intellisense.

  • Autocomplete for commands, environments, \ref labels, and \cite keys.
  • File paths complete inside \input, \includegraphics, and \addbibresource.
  • References update automatically when you rename or move a file.
  • Your own \newcommand macros are picked up.

Oh, and there's more

The features that didn't get their own section.

SyncTeX

Click in the PDF to jump to the source line, and back.

Built-in terminal

A real shell for latexmk or any compile command.

Version history

Stage, commit, and diff side-by-side against the last commit.

Visual and source, in sync

Switching keeps scroll, cursor, and undo history.

Multi-file projects

Fragments parse with the main file's macros.

Math preview

Equations preview live in the source editor.

Ready to try it?

Free, offline, and yours. Windows, macOS, and Linux.

No account. No cloud.

FAQ

Your thesis deserves a nicer editor.