Hero Image

Kotlin

Concise. Multiplatform. Fun.

Developed by
JetBrains logo
Get started
Why Kotlin?
Code examples
fun main() {
    val name = "stranger"        // Declare your first variable
    println("Hi, $name!")        // ...and use it!
    print("Current count:")
    for (i in 0..10) {           // Loop over a range from 0 to 10
        print(" $i")
    }
}
Get started

Kotlin,
Built for the AI Era

Null safety and concise syntax already make Kotlin a language AI gets right.
We’re making it even better with open benchmarks and agent-ready tooling.

Latest news

Kotlin Ecosystem Security Digest #1

December 4, 2026

Kotlin Ecosystem Security Digest #1

Welcome to the first Kotlin Ecosystem Security Digest. This issue covers security fixes in Kotlin 2.5.0, Ktor, kotlinx.serialization, and kotlinx-io. We’ve also included a critical SQL injection fix in Exposed and other earlier disclosures. Check the versions and features your projects use against the advisories below. The fixed versions show where each patch shipped. When […]

What Spring AI Agent Means for Koog Users

December 3, 2026

What Spring AI Agent Means for Koog Users

We introduced Koog in May 2025 as an open-source framework for building intelligent, autonomous AI agents on the JVM. Since then, many teams have adopted it for its type safety, graph-based workflows, and enterprise reliability.  Today, we’re announcing that Koog’s core ideas will continue to live on and evolve in Spring AI Agent – a […]

Spring AI Agent for Java and Kotlin: The Next Step in the JetBrains–Spring Partnership

December 3, 2026

Spring AI Agent for Java and Kotlin: The Next Step in the JetBrains–Spring Partnership

Today, the Spring team, in strategic collaboration with JetBrains, released Spring AI Agent, a new experimental project for building reliable AI agents inside Spring Boot applications. It shares core design principles with – and was inspired by – Koog, JetBrains’ open-source agent framework for Java and Kotlin. The Spring team develops and maintains the core […]

Kotlin 2.5.0 Released

December 2, 2026

Kotlin 2.5.0 Released

The Kotlin 2.5.0 release is out and Kotlin/Wasm is Stable! Here are the main highlights: For the complete list of changes, see What’s new in Kotlin 2.5.0 or the release notes on GitHub. We’ve launched the Kotlin Security Newsletter, a monthly digest of security fixes across Kotlin and its ecosystem. How to install Kotlin 2.5.0 […]

Kotlin blog

Kotlin in action

KotlinConf banner

Share code on your terms and for different platforms

Simplify the development of cross-platform projects with Kotlin Multiplatform. It reduces time spent writing and maintaining the same code for different platforms while retaining the flexibility and benefits of native programming. Kotlin applications will work on different operating systems, such as iOS, Android, macOS, Windows, Linux, watchOS, and others.
Learn about Kotlin Multiplatform

Big, friendly and helpful community

Kotlin has great support and many contributors in its fast-growing global community. Enjoy the benefits of a rich ecosystem with a wide range of community libraries. Help is never far away — consult extensive community resources or ask the Kotlin team directly.

Kotlin Foundation

Actively supports community efforts in developing the Kotlin ecosystem.

Start using Kotlin today!