TYP TEX
File conversion

Convert TYP to TEX

QUICK ANSWER
Is it possible to convert TYP to TEX?
Yes - TYP converts to TEX.

Run pandoc document.typ -o document.tex with a recent Pandoc (3.1.11 or newer, which added a Typst reader). Headings, paragraphs, lists, tables and math translate, but Typst scripting, packages and custom #show/#let logic do not carry over and need manual rebuilding.

Also to TEX: DTX · NB · LTX

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert TYP to TEX?

You convert a .typ to .TEX when a publisher or collaborator requires a LaTeX submission but your draft was written in Typst. The two are different typesetting languages, so the conversion maps content rather than reproducing the exact layout.

How to convert TYP to TEX

Pandoc FREE

With Pandoc 3.1.11+ run pandoc document.typ -o document.tex; Pandoc parses the Typst and emits LaTeX source you can then compile with a TeX engine.

Pandoc (standalone file) FREE

Add -s for a complete compilable document, e.g. pandoc -s document.typ -o document.tex, which includes a preamble and \documentclass.

About these formats

Quality & what to watch

  • Pandoc's Typst reader handles content and math but does not execute Typst's full scripting; functions, templates and imported packages are dropped or mangled.
  • Fine layout, custom styling and Typst-specific figures usually need to be re-created by hand in LaTeX.
  • Always compile the resulting .tex and proofread - the output is a starting point, not a pixel-perfect copy of the Typst PDF.

Frequently asked questions

Which Pandoc version do I need?
Pandoc gained a Typst reader in 3.1.11, so use that release or newer; older versions cannot read .typ at all.
Will my Typst template survive?
No. #show rules, #let functions and imported packages are not evaluated, so custom styling must be rebuilt in LaTeX.
Does math convert?
Basic Typst math maps to LaTeX math, but check complex equations, as some constructs need manual fixes.