ktlint VS ktfmt-gradle

Compare ktlint vs ktfmt-gradle and see what are their differences.

ktlint

An anti-bikeshedding Kotlin linter with built-in formatter (by pinterest)

ktfmt-gradle

A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse 🧹🐘 (by cortinico)
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
ktlint ktfmt-gradle
8 1
6,482 190
0.7% 3.7%
9.2 8.4
1 day ago 8 days ago
Kotlin Kotlin
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ktlint

Posts with mentions or reviews of ktlint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-10.

ktfmt-gradle

Posts with mentions or reviews of ktfmt-gradle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-07-01.

What are some alternatives?

When comparing ktlint and ktfmt-gradle you can also consider the following projects:

detekt - Static code analysis for Kotlin

sonarlint-intellij - SonarLint for IntelliJ

Credit Card Scanner - Android Credit Card Scanner using CameraX and ML Kit

ARFaceDetection - AR-based library for Android which is capable of detecting faces and overlaying images above the user’s head

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured