Kotlin AutoMapper¶
Effortless, type-safe object-to-object mapping in Kotlin. Tired of writing boilerplate code to convert one object to another? This library does it for you at compile time, with full support for Kotlin Multiplatform.
Kotlin AutoMapper uses KSP (Kotlin Symbol Processing) to generate extension functions that automatically map your data, enum, and sealed classes. No reflection, no runtime magic - just pure, fast, and safe generated code for all your targets.
Supported Platforms¶
Kotlin AutoMapper is built with Kotlin Multiplatform and supports a wide range of targets out-of-the-box:
- Android
- JVM/Desktop
- JavaScript (Browser & Node.js)
- Wasm (JS & Wasi)
- iOS, macOS, watchOS, tvOS (Device & Simulator)
- Linux
License¶
Copyright (c) 2026 Alexander Gorodnikov
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.