.typ Typst document

Text & source code

MIME typetext/x-typst
DescriptionTypst document
CategoryText & source code
Based ontext/plain

Frequently asked questions

What is a .typ file?

A .typ file is a “Typst document” (MIME type text/x-typst).

How do I open a .typ file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .typ file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.typ shows the guessed type.

Which format is .typ based on?

Technically a .typ file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .typ?

The MIME type is text/x-typst. In the Apache web server: AddType text/x-typst .typ; in nginx: types { text/x-typst typ; }.

Nearby entries