Coding

Spotless – keep your code spotless

Last Updated on July 3, 2026

Spotless is a code formatter that supports lots of languages.

The tool can format antlr | c | c# | c++ | css | flow | graphql | groovy | html | java | javascript | json | jsx | kotlin | less | license headers | markdown | objective-c | protobuf | python | scala | scss | shell | sql | typeScript | vue | yaml | anything using gradle | maven | sbt | anything.

This is free and open source software.

Website: github.com/diffplug/spotless
Support:
Developer: DiffPlug
License: Apache License 2.0

Spotless is written in Java. Learn Java with our recommended free books and free tutorials.


Related Software

Kotlin Code Formatters
ktlintKotlin linter with built-in formatter
SpotlessKeeps codebases pristine with automated formatting checks
ktfmtPretty-prints (formats) Kotlin code
ktlint-gradleRuns ktlint from Gradle to enforce Kotlin style rules
Kotlinter GradlePlugin for linting and formatting
ktlint-gradle-pluginBrings Kotlin linting and formatting checks into Gradle projects
ktfmt-gradleAdds ktfmt formatting to Gradle builds with minimal fuss.
Kotlin FormatterFormats Kotlin source with a simple, consistent command-line tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted