dprint

Windows · Mac · Linux · Self-hosted · Extension

Freedom report

Three barsScore 6.5

  • Free tierA free tier is on its own pricing page
  • Open codeNo open-source code on record
  • Runs widely3 of 6 device platforms
  • DocumentedPlans, terms and facts published

dprint is a command-line application for automatically formatting code. It uses a pluggable, configurable platform built with Rust and WebAssembly, with official and wrapper plugins covering languages and formats such as TypeScript, JavaScript, JSON, Markdown, Python, Go, YAML, and LaTeX. Projects specify plugins, formatting settings, included files, and exclusions in dprint configuration files. Plugins can be loaded from a URL or file path and pinned or versioned. 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; process plugins are executable files and are not sandboxed. Editor integrations are listed for Visual Studio Code, IntelliJ, and Neovim, and other editors can use the language-server command. CI options include a GitHub Action, GitLab integration, and the dprint check command. The static CLI has no runtime dependencies and can be installed through several package and tool managers. dprint is open source under the MIT license and is listed at 0.00 USD per free.

Who it is for

dprint suits developers and teams who want configurable code formatting across a range of languages, with editor and CI integration options. It is also relevant for projects that want to manage formatting plugins and settings in configuration files.

What is good

  • Supports many languages and formats.
  • Wasm plugins are sandboxed from network and file system.
  • Editor integrations include Visual Studio Code, IntelliJ, and Neovim.
  • Static CLI has no runtime dependencies.
  • Free and MIT-licensed.

What to know first

  • Process plugins are not sandboxed.
  • It is a command-line application.

Verdict

dprint combines broad language coverage with configurable plugins, editor integrations, and CI options. Its process plugins do not run in a sandbox, unlike its WebAssembly plugins.

dprint plans and pricing

All plans
Open source dprint Free MIT-licensed CLI · self-managed installation github.com · 30 Sept 2026

Compared on code formatting tools

Supported languages
TypeScript, JavaScript, JSX, TSX, JSON, JSONC, Markdown, TOML, CSS, SCSS, Sass, Less, Dockerfile, C#, VB, Python, Jupyter, Go, Swift, HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, Vento, GraphQL, YAML, PHP, Quarto, Pandoc, R Markdown, LaTeX, BibTeX, R, Julia
Supported platforms
Windows, macOS, Linux, WSL, Node.js, Deno
Editor integration
Yes
Ignore files
Yes
Changed-lines formatting
Yes
Library API
Yes
License model
open_source

Best dprint alternatives

See all 20