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

Texpile is an open source desktop Typst editor. It brings the live preview of the Typst web app to your own computer, and adds a visual editor on top.

Texpile editing a Typst document, with the live preview beside it

Math

Tab finds any symbol by name.

Two ways to write a document

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

A Typst document in the visual editor: headings with their labels, formatted text, and lists

Visual editing

  • Type @ to reference a figure, table, or citation.
  • Equations edit as math, not as markup.
  • Tables edit in place, with draggable column widths.
  • Drag or paste images in, then resize with handles.
The Typst source editor, with completion from tinymist

Source editing

  • Completion and hover, provided by tinymist.
  • Diagnostics appear as you type, with no compile step.
  • F2 renames a symbol across the whole project.
  • Click the preview to jump to the source line.

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 document renders as you type in a pane beside the editor.

Read the docs

The Typst preview updating as a sentence is typed

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 Typst Templates dialog listing templates from Typst Universe

Typst Universe templates

Start a document from any template published on Typst Universe.

Read the docs

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 Typst 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.

Read the docs

Download

Free. Windows, macOS, and Linux.

Download

Compiles and previews with tinymist, one program. Editing works without it.

Windows · macOS · Linux · Offline · AGPL-3.0