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.

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.

IEEE paper

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

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.

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.

Read the docs

Download

Free. Windows, macOS, and Linux.

Download

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