KT

kt icon

Kotlin source code

File type: Source code and script file

A kt file extension identifies source code written in the Kotlin programming language. A kt file is a plain-text source file used in Kotlin projects.

Kotlin source files are commonly edited in IntelliJ IDEA and Android Studio.

What is kt file?

File type category:
Source code and script file

Date updated: November 22, 2026

Kotlin is a statically typed programming language developed by JetBrains. It interoperates with Java and is widely used for Android app development.

A kt file contains Kotlin source code, such as function and class declarations. It is part of a project that can be compiled with the Kotlin toolchain; project configuration determines the target and how the source is built.

Kotlin development is available on Windows, macOS, and Linux through tools such as IntelliJ IDEA and Android Studio. Its compiler can target the Java Virtual Machine, JavaScript, or native platforms.

How to open kt file?

Open the Kotlin source file in IntelliJ IDEA or Android Studio to view and edit it with Kotlin syntax support. For code completion and project-aware features, open the containing Kotlin project in the IDE.

How to convert kt file?

A Kotlin source file is not normally converted as a standalone document. Build the project with the Kotlin compiler to produce output for its configured target, such as JVM bytecode, JavaScript, or native code; the target depends on the project setup.

Technical details

MIME types
  • text/x-kotlin

Suggested software to open kt file:

Associated software actions with the kt file

Software applications that can open kt files:

Software applications that can edit kt files:

Software capable of saving kt files:

Software apps that create kt files:

Related file extensions