A privacy-focused LaTeX editor for your most ambitious writing.

Texpile is an open source desktop LaTeX editor. It compiles the power of TeXstudio and LyX into a modern interface.

Windows · macOS · Linux · Offline · AGPL-3.0

Texpile editing a LaTeX project, with the PDF preview and comments open

Two ways to write a document

Unlike LyX, Texpile stores nothing but .tex. Write in source or write visually, in the same file, and it is saved back with only your edits changed.

Typing in the visual editor

Visual editing

  • Type @ to reference any equation, figure, table, or citation.
  • Equations render inline and keep their numbering.
  • Tables support multirow and multicolumn, edited visually.
  • Drag or paste images in, then resize with handles.
Source editor completing \cite with bibliography keys and titles

Source editing

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

Built for reviews

Write like an author, not a developer.

The visual editor showing a heading and a sentence changed since the last version

Visual diff

A changed file opens as a diff against the last version, in whichever editor you are in. The visual editor marks the changes in the formatted text, word by word. The source editor shows them side by side, line by line.

Writing a comment on a selected sentence, with the comment panel open below the editor

Comments

Select anything and leave a comment. Works in the visual editor and in source, on LaTeX, Typst, and Markdown. Reply, resolve, and filter down to the file you are in.

Live preview

The page updates as you type. Texpile injects its own scripts into your LuaTeX engine, so a text edit re-typesets its paragraph in a few milliseconds instead of recompiling the document.

Read the docs

Live preview compiling as you type

Write together in real time

Share a folder and edit it together in real time, in the visual editor or in source. Others join with a code, no sign up. End to end encrypted.

Read the docs

Write together in real time
TexpileOverleafVS Code Live Share
AccountNone, guests join with a codeRequired for every editorMicrosoft or GitHub sign-in to edit
End to end encryptedYesNo, documents are compiled on Overleaf's serversYes
A guest needsTexpile or a browserA browserVS Code
Guests see the compiled PDFYes, with the compile problemsYesNo
Visual editing togetherYesYesNo
CommentsYesYesNo
Where the files liveOn the host's computerOn Overleaf's serversOn the host's computer

Start-up time

From launch to the main window, warm start, median of five runs, measured on one Windows 11 laptop in September 2026.

* If VS Code is also your editor for everything else and carries many extensions, it starts more slowly than this.

VS Code*
373 ms
TeXstudio
1087 ms
Texpile
236 ms

Themes

Light or dark mode, and a color theme for the whole window, picked in Preferences.

Read the docs

Preferences › Appearance: the Mode tiles and the theme tiles

Also in Texpile

The features every LaTeX editor has. They did not earn a section of their own.

Built-in terminal

A real shell for latexmk or any compile command.

Multi-file projects

Fragments parse with the main file's macros.

Command palette

Ctrl+K opens a file, compiles, or runs any editor action.

Vim and Emacs

Modal keybindings for the source editor, chosen in Preferences.

Multiple cursors

Add cursors down a column, or select the next occurrence.

Spell check

Checks your prose, skips commands, math, and comments.

MCP

Connect Claude and other AI assistants to the editor.

Tabs and session restore

Reopen a folder and your tabs and cursor come back.

SyncTeX

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

Math preview

Equations preview live in the source editor.

Read the docs

Download

Free. Windows, macOS, and Linux.

Download

Compiles with your own TeX distribution: TeX Live, MacTeX, or MiKTeX. Editing works without one.

Windows · macOS · Linux · Offline · AGPL-3.0