Ross ROSS = Recommend OSS · open-source software intelligence for agents

Kotlin/ktfmt

A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions. observed · 2026-08-28

github.com/Kotlin/ktfmt · homepage · Kotlin · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

92/100

  • Activity 99
  • Release rhythm 78
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 55
  • age_days: 2500
  • days_rel: 71
  • days_push: 7
  • n_releases_24m: 12

Full methodology

Adoption not part of the score

1304 stars · 116 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ktfmt is a program that pretty-prints (formats) Kotlin source code according to the common community standard for Kotlin code conventions, based on google-java-format. It is deterministic and intentionally non-customizable to promote consistency, and integrates with IntelliJ, Gradle, Maven, and the command line.

Use cases

  • format kotlin source code to community style
  • enforce consistent kotlin code style across a team
  • reformat kotlin files from the command line
  • integrate kotlin formatting into gradle builds
  • replace intellij reformat code action with ktfmt
  • check kotlin formatting in ci

When to choose

  • you want deterministic, opinionated kotlin formatting with no style debates
  • you use google-java-format style conventions and want the same for kotlin
  • you need formatting integrated into gradle, maven, or intellij workflows

When to avoid

  • you need highly customizable formatting rules or style options
  • you prefer ktlint's linting plus formatting combination

Facets

cli-tool · maturity active

formatter cli developer-tools programming-languages developer-tools text-editors jvm cli cross-platform kotlin code-formatting google-java-format intellij-plugin gradle-plugin spotless command-line

2 sources

Member repositories

RepositoryRoleHealth v2
Kotlin/ktfmtmain92

For agents

markdown · JSON · MCP: product_card(name="Kotlin/ktfmt")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem