Skip to content
SPECIFICTION
Get listed

dprint vs Spotless

dprint

dprint.dev

Spotless

github.com

Side by side

FiguredprintSpotless
Price fromFreeFree
Free planYesYes
Free trial—Yes
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hostedYes—
Plans published12
Spec score · Code Formatting Tools8.1 (#7)7.3 (#28)
Editor integrationsThe installation guide lists Visual Studio Code, IntelliJ and Neovim integrations, with the dprint language-server command usable by other editors.The README links Spotless integrations for VS Code and IntelliJ.
LicenseThe dprint GitHub repository is marked MIT licensed.The GitHub repository identifies its license as Apache-2.0.
Purposedprint is a command-line application that automatically formats code.Spotless formats source code and can check files for formatting violations or apply fixes.
SupportThe official contact page directs users to email [email protected].DiffPlug directs questions to its forum and lists a technical support contact on its About page.

Plans

dprint

  • Open source dprintFree

dprint pricing →

Spotless

  • FreeFree
  • dp.simstate.differPrice not published

Spotless pricing →

In their own words

dprint

dprint is a command-line application that automatically formats code through a configurable, pluggable system built with Rust and WebAssembly. Its official and wrapper plugins cover languages and formats including TypeScript, JavaScript, JSON, Markdown, TOML, CSS, Dockerfile, C#, Python, Go, Swift, GraphQL, YAML, PHP, LaTeX, R, and Julia. Project configuration files define plugins, formatting settings, included files, and exclusions. Plugins can be loaded from a URL or file path and pinned or versioned in configuration. The project says dprint formats hundreds of files in milliseconds and enables incremental caching by default. WebAssembly plugins run in a sandbox without network or file-system access, while process plugins are executable files and are not sandboxed. Editor integrations are listed for Visual Studio Code, IntelliJ, and Neovim; the language-server command can also be used by other editors. The CLI is distributed as a static binary with no runtime dependencies, with installation options including shell, PowerShell, Cargo, npm, and Homebrew. It is MIT-licensed and free.

Visit dprint.dev

Spotless

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, with formatter options such as Google Java Format, ktlint, Prettier, ESLint, Black, and ScalaFmt. The project integrates with Gradle and Maven and links to an external SBT integration. Its README links to VS Code and IntelliJ integrations. Spotless lists automatic idempotency and encoding safeguards for Gradle, Maven, and SBT. Git-based features include ratcheting from a Git reference for Gradle and Maven, and Git-defined line endings for all three build tools. Some capabilities, including ratcheting and fast incremental formatting, are unavailable in SBT. The repository identifies the license as Apache-2.0. Spotless is available for Linux, macOS, and Windows. DiffPlug directs questions to its forum and lists a technical support contact; security disclosures can be sent to [email protected]. Its plan listing includes a free plan at free, billed free forever with no registration required, and also lists a free trial.

Visit github.com