← back

category

Java and Kotlin linting and formatting

Linters, bug finders and formatters for Java, Kotlin and other JVM languages.

Side by side

Java and Kotlin linting and formatting
ToolStarsLicenceTermsSelf-hostedLanguageLatestLast push
Checkstyle9.6kLGPL-2.1Open sourceNoJavacheckstyle-14.3.02026-10-06
detekt7.1kApache-2.0Open sourceNoKotlinv1.23.82026-10-05
ktlint6.8kMITOpen sourceNoKotlin1.8.02026-10-05
google-java-format6.2kOtherOpen sourceNoJavav1.37.02026-10-06
PMD5.5kOtherOpen sourceNoJavapmd_releases/7.28.02026-10-06
SpotBugs3.9kLGPL-2.1Open sourceNoJava4.10.42026-10-06

6 tools

Checkstyle

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

Language
Java
Licence
LGPL-2.1
Stars
9.6k
Latest
checkstyle-14.3.0
Last push
2026-10-06
ktlint

An anti-bikeshedding Kotlin linter with built-in formatter

Language
Kotlin
Licence
MIT
Stars
6.8k
Latest
1.8.0
Last push
2026-10-05
SpotBugs

SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

Language
Java
Licence
LGPL-2.1
Stars
3.9k
Latest
4.10.4
Last push
2026-10-06