Kotlin Multiplatform
Write a single codebase that runs on multiple platforms with Kotlin Multiplatform.
Kotlin Multiplatform (KMP) is officially supported by Google for sharing business logic between Android and iOS. Kotlin Multiplatform is stable and production-ready. With JetBrains' Compose Multiplatform (CMP), developers can also share UI across platforms.
Basics of Kotlin Multiplatform
Kotlin Multiplatform Plugin
- New project wizard: Create a new multiplatform project within the IDE.
- Preflight checks: Preflight checks help you configure your environment.
- Run configurations: Run, debug, and test applications on both iOS and Android directly from the IDE.
- Basic Swift support in the IDE: Get basic Swift support in the IDE, including cross-language debugging tools, navigation, and quick documentation.
Benefits of Kotlin Multiplatform
Deduplicate code
No complete rewrite
Native performance
Kotlin Multiplatform and Jetpack libraries
Many of our Jetpack libraries have already been migrated to be KMP-ready. The following Jetpack libraries provide KMP support:
Built by Android
Built by JetBrains
Not supported
| Library | Latest Release | Android | iOS | JVM | Web |
|---|---|---|---|---|---|
| annotation |
October 22, 2025 |
||||
| collection |
August 27, 2025 |
||||
| compose |
November 19, 2025 |
||||
|
datastore
Documentation |
November 19, 2025 |
||||
|
lifecycle
Documentation |
November 19, 2025 |
||||
|
viewModel
Documentation |
November 19, 2025 |
||||
|
viewModel-compose
Documentation |
November 19, 2025 |
||||
|
navigation
Documentation |
November 5, 2025 |
||||
| navigation3 |
November 19, 2025 |
||||
| navigationevent |
November 19, 2025 |
||||
| paging |
September 10, 2025 |
||||
|
room
Documentation |
November 19, 2025 |
||||
| savedstate |
November 5, 2025 |
||||
|
sqlite
Documentation |
November 19, 2025 |
If you have feedback on these libraries, share it through the issue tracker.
Tools support
KMP module wizard
Live Edit for JetBrains' Compose Multiplatform
androidMain.
Previews for JetBrains' Compose Multiplatform
commonMain source set.
Apps built with Kotlin Multiplatform
Supported platforms in Jetpack
Tier 1
- Android
- JVM
- iOS
Tier 2
- macOS
- Linux
Tier 3
- watchOS
- tvOS
- Windows
- JavaScript
- WASM