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.

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.

Captions

Did you know?

Texpile's IntelliSense data covers about 95% of the LaTeX packages on CTAN (over 5,700 packages and 680 classes) and can detect errors as you type. Texpile can also install a minimal TeX Live distribution (300 MB) for you and pull packages on demand.

Visual editing Source editing

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

The PDF updates as you type. Texpile keeps a lualatex engine running beside the editor, so most edits show in under 40 ms, without a full recompile.

Read the docs

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

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.

Keyboard shortcuts

Change the keys of any command in Preferences.

Vim and Emacs

Modal keybindings for the source editor, chosen in Preferences.

Custom themes

25 color themes, or write your own in CSS.

Crop and turn images

Crop or rotate a figure in the editor, with no image program.

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 TeX Live, MacTeX, or MiKTeX. Texpile can install TeX Live for you. Editing works without one.