# Ktor

> Build asynchronous servers and clients in Kotlin

Source: https://talira.ai/catalog/ktor-xe69h8gc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / kotlin](https://talira.ai/categories/languages/kotlin)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Plugins: yes[^1]
- Backed by: [JetBrains](https://talira.ai/orgs/jetbrains.md)
- Creator: JetBrains

Ktor is JetBrains' asynchronous framework for building servers and clients in [Kotlin](https://talira.ai/catalog/kotlin-vrmcrayv.md), from microservices and web applications to multiplatform HTTP client apps. It's built on Kotlin coroutines, so asynchronous code reads as plain imperative code, and its APIs are Kotlin DSLs: routing, plugins installed through a unified interception pipeline, and your own choice of logging, templating, serialization, persistence and dependency injection. Servers run standalone on Netty, Jetty or Ktor's own CIO engine, or in a Servlet 3.0+ container such as Tomcat, and a test environment emulates the server without networking. The Ktor client is multiplatform and works on Android, iOS and other Kotlin targets. Apache-2.0 licensed.

## Links

- Website: https://ktor.io/
- GitHub: https://github.com/ktorio/ktor
- Docs: https://ktor.io/docs/

## Problems it solves

- build a REST API or microservice in Kotlin with coroutines
- a lightweight Kotlin web framework without the weight of Spring
- an HTTP client for Kotlin Multiplatform that works on Android and iOS
- add websockets or server-sent events to a Kotlin server
- test a Kotlin web app's routes without starting a real server
- deploy a Kotlin server on Netty or in an existing Tomcat container

## Features

- built on Kotlin coroutines
- routing and Kotlin DSL APIs
- plugins through a unified interception pipeline
- server engines: Netty, Jetty, CIO, and Servlet containers such as Tomcat
- multiplatform HTTP client
- test host that runs the app without networking
- unopinionated about logging, templating, serialization, persistence and DI
- project generator and IntelliJ IDEA tooling

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.48 out of 1.
Signals: backing 0.70, extensibility 0.20.

- backed by JetBrains
- created by JetBrains
- used by JetBrains, Adobe
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Kotlin Multiplatform](https://talira.ai/catalog/kotlin-multiplatform-5pcgaedc.md)

## Alternatives

- [Retrofit](https://talira.ai/catalog/retrofit-q4egfen2.md): A type-safe HTTP client for Android and Java
- [OkHttp](https://talira.ai/catalog/okhttp-5e4hqag3.md): A meticulous HTTP client for the JVM, Android, and GraalVM
- [Spring Boot](https://talira.ai/catalog/spring-boot-5qzjdf5y.md): Create stand-alone, production-grade Spring based applications that you can "just run"

## Sources

[^1]: https://ktor.io/ (checked 24 Nov 2026)
[^2]: https://github.com/ktorio/ktor/blob/main/LICENSE (checked 24 Nov 2026)
