Typst Document Editor

Typst is the fast modern alternative to LaTeX; this editor compiles it on your device, keeps projects locally and saves to a folder.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Load the compiler

    Press Load Typst compiler once; it is cached for later visits.

  2. 2
    Start a project

    Choose Paper, CV, Letter or Report and press Start from template, or open files, a ZIP or a folder.

  3. 3
    Edit

    Type in the editor or use the snippet buttons for headings, lists, maths, tables, figures and links.

  4. 4
    Add assets

    Open images or data files, then press Insert beside an image to place it.

  5. 5
    Check

    Read any red compiler message and use the zoom buttons to inspect the pages.

  6. 6
    Export

    Press Export PDF or Export SVG, and save the project as a ZIP or back into its folder.

About this tool

Typst is a typesetting language that produces the same kind of polished PDF as LaTeX, with markup that is easier to read and errors that are easier to understand. The official web app needs an account and keeps your projects in the cloud. This editor loads typst.ts, the community WebAssembly build of the Typst compiler, into your browser and compiles every time you pause typing, so the preview on the right is the real layout, page by page, not an approximation. Export PDF produces the same file the desktop compiler would. A project can hold several .typ files, a template file you import, data files such as CSV or YAML and images, and it stays in local storage between visits. On Chromium browsers you can also open a real folder on your disk, edit, and save the files back into it.

Templates included

Four starting points ship with the editor. Paper sets A4 margins, numbered headings, justified text, an outline, display maths with a label and a captioned table. CV uses a custom heading rule, a grid of skills and right-aligned dates. Letter shows the date function and placeholder text. Report demonstrates a multi-file project: a template file that defines a show rule with title and author parameters, a summary file pulled in with include, and a table built from data in code.

Working with files

The tab bar lists every text file; the star marks the main file that is compiled. The plus tab adds files, and you can set any .typ file as the main one. Images and other binary files appear in a list where Insert adds an image call at the cursor. Projects open from single files, from a ZIP, or from a folder, and leave as a ZIP or back into the folder.

Errors and preview

When the compiler reports a problem, its message appears in red above the preview while the last good preview stays visible, so a half-typed line does not blank the page. Zoom buttons scale the preview, and Export SVG saves the rendered pages as vector graphics.

Limits

The compiler is roughly a 29 MB download plus default fonts, cached after the first visit, and low-memory phones may not start it. Packages from the Typst Universe registry are not fetched by this page, so imports of the form at preview are not resolved. Fonts are the Typst defaults; your own font files are not loaded into the compiler here. Without the compiler, a quick preview shows headings, lists, emphasis and maths only.

Worked example

A job seeker opens the CV template, replaces the name, contact line and two jobs, and adds a third bullet: reduced month-end closing from 5 days to 3. The preview reflows to one A4 page in under a second. He sets the margins to 1.6 cm to fit a skills row, presses Export PDF and gets a 48 KB PDF with selectable text, then saves the project ZIP to reuse next month.

Quick facts

Frequently asked questions

Is the preview the real Typst output?

Yes, once the compiler is loaded. It is the Typst compiler built for WebAssembly by the typst.ts project, so the layout matches the PDF.

Do I need an account?

No. Projects live in your browser's storage and can be saved as a ZIP or into a folder on your computer.

Can I use Typst packages?

Not from the online registry in this editor. Copy the package source into your project as a file and import it by file name instead.

What happens if I type an error?

The compiler message appears above the preview, and the last good preview stays on screen until the error is fixed.

Which browsers can save to a folder?

Chrome, Edge and other Chromium browsers support the File System Access API. Other browsers use the ZIP buttons instead.

Is my text uploaded?

No. Only the compiler and font files are downloaded from the CDN; your documents are compiled locally.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages