Skip to content
Novus Examples
kt

What is a .kt file?

text/x-kotlin

Kotlin (.kt) is a plain-text source file for the Kotlin programming language — a statically typed, JVM language from JetBrains that interoperates with Java. It is the preferred language for modern Android development and features null safety, data classes, extension functions, and concise syntax.

How to use a .kt file

Use an example .kt file to test syntax highlighters, the Kotlin compiler, linters and formatters (ktlint), and parser or language-detection tooling.

Convert a .kt file to another format

← All file formats