ktfmt logo


A program that pretty-prints (formats) Kotlin code, based on google-java-format (by Facebook)
+ 1

What is ktfmt?

It is a program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
ktfmt is a tool in the Code Review category of a tech stack.
ktfmt is an open source tool with 254 GitHub stars and 17 GitHub forks. Here’s a link to ktfmt's open source repository on GitHub

ktfmt Integrations

ktfmt's Features

  • Uses google-java-format's underlying engine
  • Uses a 2-space indent

ktfmt Alternatives & Comparisons

What are some alternatives to ktfmt?
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
Automatically find & fix vulnerabilities in your code, containers, Kubernetes, and Terraform
Code Climate
After each Git push, Code Climate analyzes your code for complexity, duplication, and common smells to determine changes in quality and surface technical debt hotspots.
See all alternatives

ktfmt's Followers
2 developers follow ktfmt to keep up with related blogs and decisions.