BEST SITE FOR WEB DEVELOPERS
Kotlin. W3Schools in English. Lessons for beginners

Ua Es De

Kotlin Compiler


Kotlin Compiler (Editor)

With our online Kotlin compiler, you can edit Kotlin code, and view the result in your browser.


Example

fun main() {
  println("Hello World")
}
Hello World
Try it Yourself »

Click on the "Try it Yourself" button to see how it works.


Kotlin Compiler Explained

The window to the left is editable — edit the code and click on the "Run" button to view the result in the right window.

The icons are explained in the table below:

Icon Description
Go to W3Schools Home
Menu button for more options
Change orientation (horizontally or vertically)
Change color theme (dark or light)

If you don't know Kotlin, we suggest that you read our Kotlin Tutorial from scratch.