The new foundation for documents
open coreApache-2.0self-hostablefree
Typst is a markup-based typesetting system designed to be as powerful as LaTeX but much easier to learn, with built-in markup, a scripting language, math, bibliographies and incremental compilation that updates in milliseconds. The open-source compiler and CLI (Apache-2.0, written in Rust) compile documents locally and can load data to generate PDFs in bulk; output is PDF, images or, in preview, HTML. Typst GmbH in Berlin runs typst.app, a collaborative web editor with a free plan, Pro at $7.99/month and an on-premises edition. Zerodha reports generating 1.5 million PDFs a night with it.
Ways to install
Package managers
Problems it solves
- LaTeX takes forever to compile and the error messages are useless
- I want to write my thesis with nice math typesetting without learning TeX macros
- generate a million statement PDFs overnight from JSON data without a browser farm
- collaborate on a paper in real time with live preview, like Overleaf but simpler
- programmatically lay out contracts and reports from data with loops and conditionals in the document itself
- fill a document template from CSV or JSON in a CI pipeline and get a PDF
- our LuaLaTeX build of a huge document takes many minutes
- convert my LaTeX or Word documents into something easier to maintain
- a single small binary that turns text markup into a polished PDF
- write slides, CVs and letters as code with reusable templates
- manage citations and bibliographies without fighting BibTeX
Features
- markup for common formatting
- scripting language with functions, loops and data loading
- math typesetting
- bibliography management
- incremental compilation
- export to PDF, PNG/SVG and HTML (preview)
- package and template ecosystem
- web app with real-time collaboration and comments
- GitHub/GitLab sync (Pro, experimental)
- Zotero and Mendeley sync (Pro)
View 2 more
- import from LaTeX, Word and Markdown in the web app
- on-premises edition with LDAP
Limitations
Ways to run it
typst.app
Free $0 (200MB, 100 files/project); Pro $7.99/month, 14% off annually (2GB, 1,000 files/project)6
Only in this edition
- Collaborative online editor with instant preview and autocompletion
- Sharing and collaboration on projects
- Import from LaTeX, Word, Markdown and more
- Assists to fix compiler errors
- Pro: comments, private packages and templates, GitHub/GitLab sync, Zotero and Mendeley references, email invitations, presentation drawing, folders
Not included
Typst compiler (CLI)
free7
Only in this edition
- The compiler and CLI: compile .typ files to PDF and images locally, typst watch for recompiling on change
- Installable from GitHub releases, Homebrew, winget, cargo and other package managers
- Available as a Rust crate (the compiler library)
Not included
- The web editor (no built-in editing UI or live preview pane; the README points to the community Tinymist language server for editor integration)7
- Collaboration, sharing and comments8
- Git, Zotero and Mendeley sync, and private packages hosted for your team67
- LaTeX/Word/Markdown import and Assists69
You arrange
- Installing the binary on each machine or build server
- Your own editor (e.g. VS Code with Tinymist)
- Any extra fonts, added with --font-path
- Collaboration and version control yourself (e.g. a git repo)
Typst On-Premises
custom pricing, from 5 organization members6
Only in this edition
- The typst.app web app (everything in Pro) running in your own data center, with no data leaving your infrastructure
- Distributing packages and fonts across your organization
- LDAP access control
- Priority support
You arrange
- Your own data center or cloud infrastructure to host the web app
- An LDAP server, if you want LDAP access control
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Typst does.
- DocSpring Fill PDF forms, generate PDFs and Word documents, and collect e-signatures with one API.
- Prince Convert HTML to PDF. Beautiful printing with simple CSS.
- WeasyPrint Renders HTML and CSS to PDF, from Python or the command line
- @react-pdf/renderer PDFs, made with React
- pdfmake PDF document generation library for Node.js and browsers, written in pure JavaScript
- ReportLab The print button for eBusiness
