- Home
- Code Formatting Tools
- dprint
dprint
What it is
dprint is a free, open-source command-line application that automatically formats code. Built with Rust and WebAssembly, it uses a configurable plugin system for languages and formats such as TypeScript, JavaScript, JSON, Markdown, CSS, Python, Go, Swift, GraphQL, and YAML. Projects define plugins, formatting settings, file inclusions, and exclusions in dprint configuration files. Plugins can be loaded from a URL or file path and pinned or versioned. The project says it can format hundreds of files in milliseconds and uses incremental caching by default. WebAssembly plugins run in a sandbox without network or file-system access; process plugins are executable files and are not sandboxed. Editor integrations are listed for Visual Studio Code, IntelliJ, and Neovim, with a language-server command usable by other editors. CI options include GitHub Action, GitLab integration, and generic use through dprint check. The CLI is distributed as a static binary without runtime dependencies and can be installed through several package and tool managers. dprint is MIT-licensed and supports Windows, macOS, Linux, WSL, Node.js, and Deno.
For and against
For
- Free and MIT-licensed
- Supports a wide range of languages and formats
- WebAssembly plugins run without network or file-system access
- Editor and CI integrations are available
Against
- Process plugins are not sandboxed
- No free trial is listed
The verdict
dprint offers a configurable formatter with broad language coverage and editor and CI integration options. Its sandboxing differs by plugin type, so users should note that process plugins are not isolated.
Who it suits
dprint suits developers who want configurable code formatting in projects spanning its supported languages. Its editor integrations and CI options may help teams incorporate formatting into their workflows.
Plans and prices
Open source dprint
MIT-licensed CLI · self-managed installation
Read 30 Sep 2026 · github.com
On the record
- Architecture
- dprint is a pluggable and configurable code-formatting platform built with Rust and WebAssembly.dprint.dev · read 30 Sep 2026
- CI integrations
- The project documents a GitHub Action, a GitLab integration and generic CI usage through dprint check.dprint.dev · read 30 Sep 2026
- Configuration
- Projects use dprint.json, dprint.jsonc, .dprint.json or .dprint.jsonc files to define plugins, formatting settings, includes and excludes.dprint.dev · read 30 Sep 2026
- Editor integrations
- The installation guide lists Visual Studio Code, IntelliJ and Neovim integrations, with the dprint language-server command usable by other editors.dprint.dev · read 30 Sep 2026
- Extensibility
- Plugins can be loaded from a URL or file path and pinned or versioned in configuration.dprint.dev · read 30 Sep 2026
- Installation
- The CLI is distributed as a single static binary with no runtime dependencies and can be installed via shell, PowerShell, Scoop, Homebrew, Cargo, npm, uv, mise, asdf or Arch Linux.dprint.dev · read 30 Sep 2026
- Language coverage
- Official and wrapper plugins support languages and formats including TypeScript, JavaScript, JSON, Markdown, TOML, CSS, Dockerfile, C#, Python, Go, Swift, GraphQL, YAML, PHP, LaTeX, R and Julia.dprint.dev · read 30 Sep 2026
- License
- The dprint GitHub repository is marked MIT licensed.github.com · read 30 Sep 2026
- Performance
- The site says dprint formats hundreds of files in milliseconds and uses incremental caching by default.dprint.dev · read 30 Sep 2026
- Plugin limitation
- Process plugins are executable files and do not run sandboxed.dprint.dev · read 30 Sep 2026
- Purpose
- dprint is a command-line application that automatically formats code.dprint.dev · read 30 Sep 2026
- Security
- Wasm plugins run sandboxed without access to the network or file system.dprint.dev · read 30 Sep 2026
- Support
- The official contact page directs users to email [email protected].dprint.dev · read 30 Sep 2026