Pluggable · Configurable · Unified

dprint

A pluggable and configurable code formatting platform. One fast, secure tool for every language in your repo.

~/app
$ dprint fmt
Formatted 248 files in 41ms.
$ dprint check
No files needed formatting.
$
// why dprint

One tool for every formatter in your stack.

01
Fast

Built with Rust and WebAssembly. Formats hundreds of files in milliseconds, with incremental caching by default.

02
Multi-language

One ecosystem-agnostic tool for every formatter in your repo. No more juggling a different CLI per language.

03
Secure

Wasm plugins run sandboxed — no access to the network or file system. Run untrusted formatters with confidence.

04
Configurable

Official plugins expose real knobs. Tweak formatting to match your house style instead of fighting the defaults.

05
Extensible

Plugins load from a URL or file path. Easy to share across a team, easy to pin and version in your config.

// install

Up and running in one line.

Pick your platform. The CLI is a single static binary with no runtime dependencies.

$ curl -fsSL https://dprint.dev/install.sh | sh
Then run dprint init to scaffold a dprint.json in your project.
// plugins

Format the whole stack.

Load any plugin from a URL. Mix official formatters with battle-tested wrappers.

Official plugins
Wrapper plugins
Everything else
dprint fmt

Stop arguing about whitespace. Add dprint to your repo and format everything, everywhere, in one pass.

Install dprint