dprint
Pluggable code formatting platform that runs multiple language formatters, including TypeScript, JSON, Markdown, TOML and wrappers for Prettier, Biome and Ruff.
dprint is a code formatting platform written in Rust. Rather than formatting one language, it hosts formatters as plugins and runs them from a single tool and configuration, so a project can format several file types in one pass.
The plugin list covers many languages. First-party plugins handle TypeScript/JavaScript, JSON/JSONC, Markdown, TOML, Dockerfile and Jupyter notebook code blocks. Wrapper plugins integrate existing tools: Prettier, Biome, Oxc, Bun, Roslyn (C#/VB), Mago (PHP), Ruff (Python), gofumpt (Go) and SwiftFormat. Other plugins cover CSS/SCSS/Sass/Less (Malva), HTML/Vue/Svelte/Astro and related templating languages (markup_fmt), GraphQL, YAML, LaTeX/BibTeX, R, Julia, Typst and Quarto/Pandoc. The exec plugin formats code by calling any CLI executable, which lets tools without a dedicated plugin be added.
dprint is distributed through npm, crates.io and Homebrew. The repository is a monorepo for the core, and the README points to dprint.dev for the overview, install instructions, plugin directory and an online playground. It suits developers and teams who want one formatter setup across a polyglot codebase.
Alternatives & related tools
lychee
Async, stream-based link checker written in Rust that finds broken URLs and email addresses in Markdown, HTML, reStructuredText, and websites.
typos
Source code spell checker that reports known misspellings, applies unambiguous corrections, and supports project-specific dictionaries and CI checks.
bacon
Background code checker for Rust projects that runs continuously alongside your editor
pastel
Command-line tool to generate, analyze, convert and manipulate colors across multiple formats and color spaces
jscpd
Copy/paste detector for 224 source formats with a Rust engine. Also reports dead code, complexity, git-history duplication trends, and a health score.
add a badge to your README
Maintain dprint? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/dprint?utm_source=badge)<a href="https://www.trmn.sh/tools/dprint?utm_source=badge"><img src="https://www.trmn.sh/badge/dprint.svg" alt="Featured on trmn" height="20"></a>