Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

Kotlin script

Open and edit KTS files

You can open, view and edit KTS files for free right here in your browser, without Android Studio and without uploading anything. Kotlin code meant to run as a script, without a main function or a separate compile step. Gradle uses it for build files such as build.gradle.kts.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View a KTS file without Android Studio

Open and viewYes
EditYes
Create a new oneNot yet
Save as KTSYes, keeping what Anyfile doesn’t show
FormatBy JetBrains

Edit KTS files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.kts

Kotlin script

Kotlin code meant to run as a script, without a main function or a separate compile step. Gradle uses it for build files such as build.gradle.kts.

Gradle build configuration and small Kotlin automation scripts.

Opens in Android Studio, IntelliJ IDEA, any text editor

Questions

How do I open a KTS file without Android Studio?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit a KTS file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my KTS file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.