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 99 GitHub stars and 4 GitHub forks. Here’s a link to ktfmt's open source repository on GitHub

ktfmt Integrations

Why developers like ktfmt?

Here’s a list of reasons why companies and developers use ktfmt
Top Reasons
Be the first to leave a pro

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.
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.
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.
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.
Codacy is an automated code review tool for Scala, Java, Ruby, JavaScript, PHP, Python, CoffeeScript and CSS. It's continuous static analysis without the hassle. Save time in Code Reviews. Tackle your technical debt
See all alternatives