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.

Texpile editing a LaTeX paper, with the PDF preview beside it

Math

Tab finds any symbol by name.

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

Against your last commit, in whichever editor you are in.

A comment thread and a suggested insertion beside the text, in the visual editor

Comments and suggestions

We write, right? Not code. So of course this is here.

Live preview

Texpile runs its own script inside the lualatex you already have installed, so most changes render in under 20 ms.

Read the docs

Live preview compiling as you type

Write together in real time

Share a project with up to 8 other people and edit it together in real time. No account needed, and end to end encrypted.

Read the docs

Write together in real time

AI integration

Uses Claude Code, Codex, Gemini, Copilot or OpenCode, whichever is already on your computer, with your own subscription rather than an API key.

Read the docs

Claude Code in the Agent tab, its edit to the abstract waiting as a suggestion

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

Works with the tools around your paper

The cite dialog listing papers that match a search

Cite by title or DOI

Crossref, arXiv, ISBN and PubMed. Zotero works too, with Better BibTeX.

Read the docs

The Publish Branch dialog with a repository name and Private selected

Publish to GitHub

From Source Control, with no command line.

Read the docs

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