EVERYTHING XIAOMI
Get listed

Spotless

Spotless formats source code and can check files for formatting violations or apply fixes.

Place
#19 of 34
Score
6.1
Spotless's website

What Spotless is

Spotless formats source code and can check files for formatting violations or apply fixes. It supports languages and formats including Java, Kotlin, JavaScript, Python, SQL, YAML and Markdown, and provides integrations for Gradle and Maven, with an external SBT integration also linked. Formatter options listed by the project include Google Java Format, ktlint, Prettier, ESLint, Black and ScalaFmt. Spotless links to VS Code and IntelliJ integrations, and offers changed-lines formatting, ignore-file support and a library API. Its feature matrix lists automatic idempotency and encoding safeguards for Gradle, Maven and SBT. Ratcheting from a Git reference is listed for Gradle and Maven, while Git-defined line endings are listed for all three. Some capabilities, including ratcheting and fast incremental formatting, are unavailable in SBT. Spotless is open source under Apache-2.0 and is available for Linux, macOS and Windows. Its free plan is free, billed free forever, with no registration required; a free trial is also listed.

Good

  • Checks formatting and can apply fixes.
  • Supports Gradle, Maven and SBT integrations.
  • Formatter options include Prettier, Black and ktlint.
  • Links to VS Code and IntelliJ integrations.
  • Apache-2.0 open-source license.

Watch out

  • Some capabilities are unavailable in SBT.
  • SBT integration is linked externally.
  • The listed paid dp.simstate.differ plan has no price.

Who it suits

Spotless suits developers and teams that want formatting checks or fixes integrated with their build tools and editors. It can be used across projects with different languages and build environments.

Verdict

Spotless offers build-tool integrations, a broad set of formatter options and editor connections for code formatting. Check its feature matrix if you use SBT, where some capabilities are not available.

Plans and prices

From Spotless's own pricing page, checked 9 Oct 2026.

All about pricing
PlanPriceWhat it gives you
FreeFreeGroundbreaking git interface · Syntax highlighting for over 40 languages · View and diff images · View Simulink, Stateflow, and Simscape models · free forever, no registration required
dp.simstate.differ—Everything in Free · Diff Simulink, Stateflow, and Simscape models · Export diffs as PDF and DOCX reports · per license / month year

The facts

Each one read from Spotless's own pages, with the date it was checked.

What it does

Build tools
The project provides integrations for Gradle and Maven, and links to an external SBT integration.checked 9 Oct 2026
Editor integrations
The README links Spotless integrations for VS Code and IntelliJ.checked 9 Oct 2026
Formatter integrations
The feature matrix lists formatter steps including Google Java Format, ktlint, Prettier, ESLint, Black, and ScalaFmt.checked 9 Oct 2026
Formatting safeguards
The feature matrix lists automatic idempotency and encoding safeguards for Gradle, Maven, and SBT.checked 9 Oct 2026
Git support
The feature matrix lists ratcheting from a Git reference for Gradle and Maven, and Git-defined line endings for Gradle, Maven, and SBT.checked 9 Oct 2026
Languages
Spotless lists support for languages and formats including Java, Kotlin, JavaScript, Python, SQL, YAML, and Markdown.checked 9 Oct 2026
License
The GitHub repository identifies its license as Apache-2.0.checked 9 Oct 2026
Maturity of build-tool support
The README feature matrix marks some capabilities as unavailable in SBT, including ratcheting and fast incremental formatting.checked 9 Oct 2026
Purpose
Spotless formats source code and can check files for formatting violations or apply fixes.checked 9 Oct 2026
Security contact
The repository asks users to email [email protected] for security disclosures.checked 9 Oct 2026
Support
DiffPlug directs questions to its forum and lists a technical support contact on its About page.checked 9 Oct 2026

The company

Maker location
DiffPlug says it is based in San Francisco, California.checked 9 Oct 2026

Alternatives to Spotless

All alternatives
  1. 1Prettier logo

    Prettier

    Free planOpen sourceWebAPIExtensionLinux
    7.5Free plan
  2. 2

    Avidemux

    Free planOpen sourceWebLinuxmacOSWindows
    7.3Free plan
  3. 3

    Fourmolu

    Free planWebLinuxWindows
    6.7Free plan
  4. 4

    rustfmt

    Free planLinuxmacOSWindows
    6.6Free plan
  5. 5

    Black

    Free planLinuxmacOSSelf-hostedWindows
    6.5Free plan
  6. 6Ruff logo

    Ruff

    Free planWebLinuxmacOSSelf-hosted
    6.5Free plan