Skip to content

Developer tools

Kern: a Typst editor for Android with a live preview

Kern brings the Typst compiler to your phone. The PDF updates beside your source as you type, packages come from Typst Universe, and an importer converts existing LaTeX documents to Typst. Everything compiles on the device, so it works offline.

  • Live Typst preview
  • Works offline
  • LaTeX import

What it does

A Typst editor with a live preview, on your phone.

Write Typst and watch the PDF update as you type. The Typst compiler runs on the device, with Typst Universe packages, templates, LaTeX import and Snap math for handwritten formulas.

  1. 01

    The real Typst compiler, on the device

    Typst is a Rust library; Kern compiles it for Android and runs it locally, so each build is instant and needs no network.

  2. 02

    Side-by-side live preview

    The typeset page refreshes as you edit, with the preview next to the source on tablets and a quick toggle on phones.

  3. 03

    Typst Universe and templates

    Pull packages from the Typst Universe registry, cached locally after the first fetch, and start from templates for common document types.

  4. 04

    LaTeX import and Snap math

    Convert LaTeX source to Typst with the built-in importer, and write equations by hand with the same Snap math recognition Lemma uses.

Who it's for

Writers who want a modern typesetting system without LaTeX's rough edges, and anyone writing on a phone or tablet who wants the output to look like it came from a desktop.

Getting started

How to use Kern.

  1. 01

    Install Kern from Google Play and open it; no account is needed.

  2. 02

    Create a document from a template or a blank page, or import an existing LaTeX file with the built-in converter.

  3. 03

    Write Typst markup on one side and watch the PDF re-render as you type (side by side on tablets, a toggle on phones).

  4. 04

    Add packages with a Typst #import "@preview/…" line; Kern downloads them from Typst Universe once and caches them.

  5. 05

    Write equations by hand with Snap math, or type them in Typst's math syntax between dollar signs.

  6. 06

    Export or share the finished PDF.

How it works

Typst's compiler is a Rust library. Kern compiles it for Android and runs it on the device, so each rebuild happens locally with no network round trip, which is what makes the preview feel instant.

Packages fetched from Typst Universe are cached on the device after the first download, so later builds of the same document work offline.

Good to know

  • The LaTeX importer handles common document structure, text and maths; documents built on custom macros or complex packages usually need some hand-editing after conversion.
  • The first use of a Typst Universe package needs a connection.

FAQ

About Kern.

Something else? Ask us directly.

What is Typst?

Typst is a modern typesetting system and markup language designed as a faster, simpler alternative to LaTeX, with a readable syntax and a compiler that builds documents in milliseconds.

Does Kern work offline?

Yes. The compiler runs on the device. Packages from Typst Universe are downloaded once and cached, after which they work without a connection.

Can I import my LaTeX documents?

Yes. Kern includes an importer that reads LaTeX source and converts it to Typst, which is the quickest way to move an existing document over.

Is Kern free?

Yes. Kern is free on Google Play and needs no account.

Developer tools

More from developer tools.

Editors, compilers and utilities that open instantly and keep your work on your device.

All products
Developer tools

ls-judge Runtimes

Run untrusted code in 69+ languages, each in its own microVM.

  • 69+ languages · 129 runtimes
  • MicroVM per run
  • Live per-test results
Developer tools

Online Code Editor

A multi-file IDE that opens in a browser tab.

  • Runs on ls-judge
  • 80+ languages
  • Markdown preview & diff
  • Files stay on-device
Developer tools

Lemma

A LaTeX editor that compiles offline, on your phone.

  • Offline XeLaTeX
  • Handwriting to LaTeX
  • Git & Drive sync

Try Kern now.

Free at the core, no account to create, and your work stays on your device.