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 |
October 22, 2025 |
||||
|
datastore
Documentation |
October 22, 2025 |
||||
|
lifecycle
Documentation |
October 22, 2025 |
||||
|
viewModel
Documentation |
October 22, 2025 |
||||
|
viewModel-compose
Documentation |
October 22, 2025 |
||||
|
navigation
Documentation |
September 24, 2025 |
||||
| navigation3 |
October 22, 2025 |
||||
| navigationevent |
October 8, 2025 |
||||
| paging |
September 10, 2025 |
||||
|
room
Documentation |
October 22, 2025 |
||||
| savedstate |
October 22, 2025 |
||||
|
sqlite
Documentation |
September 24, 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
Tier 1
- Android
- JVM
- iOS
Tier 2
- macOS
- Linux
Tier 3
- watchOS
- tvOS
- Windows
- JavaScript
- WASM