
About Ktor
Ktor is a Kotlin framework for building asynchronous servers and clients. It uses coroutines throughout, so it can handle many connections with a simple, sequential style of code.
What it does
You start an embedded server, define routes in a routing block and respond with text, JSON or other content. Ktor is modular, so you install only the features you need, and you can write your own plugin for extra behaviour. The same framework also includes an HTTP client for calling other services from Kotlin code, including multiplatform projects.
Key features
- Coroutine-based async server and client
- Routing DSL for handlers
- Plugins you install only when needed
- Multiplatform HTTP client code
Who it's for
Kotlin developers who want to write backends in the language they use elsewhere, including Android teams building their own services. It suits microservices, HTTP APIs and RESTful services.
Pricing and good to know
Ktor is open source under the Apache 2.0 licence and free to use. It is developed and supported by JetBrains. You will want to be comfortable with coroutines and Kotlin's build tools, such as Gradle, to get the most from it.
Highlights
- Coroutine-based async server and client
- Routing DSL for handlers
- Plugins installed only when needed
- Multiplatform HTTP client code












