Kotlin

Concise. Multiplatform. Fun.

kotlin
Get started
Developed by
jetbrains logo
kotlin

Latest news

Learn IDE Code Refactoring in Kotlin for Enhanced Code Quality

January 17, 2024

Learn IDE Code Refactoring in Kotlin for Enhanced Code Quality

Do you know what your code smells like? If you aren’t sure, you would probably benefit from learning how to assess code smell with our new course, Introduction to IDE Code Refactoring in Kotlin. The course teaches you how to use your IDE to format and reshape your code to become more readable and less […]

Results of Google Summer of Code With Kotlin

January 10, 2024

Results of Google Summer of Code With Kotlin

2023 marked Kotlin’s first-ever participation in Google Summer of Code (GSoC), a global online program focused on bringing new contributors into open-source development. Contributors worked on 12-week programming projects with the Kotlin Foundation under the guidance of mentors from JetBrains, Google, and Gradle, and gained experience on real-world projects. We would like to share the […]

Amper Update – December 2023

December 21, 2023

Amper Update – December 2023

Last month JetBrains introduced Amper, a tool to improve the project configuration user experience. It offers concise, declarative configuration with sensible defaults for common use cases and carefully considered extension points. Since then, we’ve received a lot of feedback from the community and have continued our development work as well. In this post, we’ll recap […]

Kandy: the new Kotlin plotting library by JetBrains

December 14, 2023

Kandy: the new Kotlin plotting library by JetBrains

We are excited to introduce Kandy, a new Kotlin plotting library by JetBrains. It provides a new, powerful DSL for creating charts of various kinds. The first public preview version is ready for you to try, and we welcome any feedback and comments you may have. Kandy Documentation How does it look and feel? Why […]

Kotlin blog
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 in action

McDonald's
McDonald's leverages Kotlin Multiplatform (KMP) for their global mobile app, enabling them to build a codebase that can be shared across platforms, removing the need for codebase redundancies.Kotlin Multiplatform
AWS
AWS opted for Kotlin over Java for Amazon Quantum Ledger Database (QLDB) thanks to its expressiveness and structured concurrency. They rewrote QLDB in Kotlin, enhancing the user experience, benefiting from its development workflow, and adopting it fully for server-side development.Server-side
Philips
Philips utilizes Kotlin Multiplatform in its HealthSuite digital platform mobile SDK. With KMP, they accelerated the implementation of new features and fostered increased collaboration between Android and iOS developers.Kotlin Multiplatform
Adobe
Adobe Experience Platform chose Kotlin for server-side development because of its concise syntax, async capabilities, and interoperability with Java. This shift boosted productivity and improved the developer experience, replacing Java for real-time services.Server-side
Forbes
By sharing over 80% of logic across iOS and Android, Forbes now rolls out new features simultaneously on both platforms, keeping the flexibility to withhold or customize features based on the specific platform.Kotlin Multiplatform
Atlassian
Atlassian adopted Kotlin for the Jira Software cloud, leveraging its Java compatibility for seamless integration and minimizing migration challenges. Kotlin's ease of use improved developer productivity and boosted team satisfaction and efficiency.Server-side

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

Kotlin + AI

JetBrains is investing in AI models tailored for Kotlin, providing open data, benchmarks, and AI-native tooling integrated into your workflow.

At the same time, Kotlin makes it easy to build your own AI-powered features with seamless backend integrations and a growing ecosystem.

What you get with Kotlin + AI

  • Strong support across JetBrains AI tools like AI Assistant and Junie
  • Robust functionality for building AI-powered apps on the JVM
  • Native integration with tools like Spring AI and LangChain4j
  • Open data and benchmarks for better code generation

Build your own AI agents with Koog

Koog is JetBrains’ new Kotlin-native framework for creating powerful AI agents that run locally, interact with tools, and automate complex tasks. Whether you’re developing a simple chat assistant or an advanced multi-step workflow, Koog gives you full control with clean Kotlin code – no external services are required. Build, extend, and experiment with AI agents entirely in Kotlin.

Get started

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!