ModelsAgree
← All leaderboards

dprint

What ChatGPT, Claude, Gemini & Grok actually say · September 2026

Visit dprint.dev

The verdict

dprint appears in 1 AI-ranked category — best position #1 for code formatter.

#1 Best code formatter4/4 models · updated 2026-08-23
GPT #1Claude #1Gemini #2Grok #1

Best overall fit for a genuinely polyglot repository: extremely fast native core, deterministic formatting, one configuration/CLI, and a strong plugin system covering TypeScript/JavaScript, JSON, Markdown, TOML, YAML, Dockerfile, CSS-family languages, HTML/Vue/Svelte/Astro, GraphQL, Python via Ruff, C# via Roslyn, Go via gofumpt, and more; it can even delegate to Prettier or other formatters when needed. ([Dprint Plugins][1])

Claude Purpose-built multi-language formatter with a fast Rust/WASM plugin engine; one config file and one binary format TypeScript/JS, JSON, Markdown, TOML, CSS, Dockerfile, and (via plugins) Ruff/malva-style additions, with incremental caching that makes large monorepos fast; pluginauthorable so teams can add languages.

Grok Purpose-built pluggable Rust/WASM platform that unifies formatting across languages via official plugins (TS/JS, JSON, Markdown, TOML, Dockerfile, Jupyter) plus mature wrappers (Ruff for Python, Roslyn for C#, Mago for PHP, Malva for CSS, markupfmt for HTML/Vue/Svelte, Prettier/Biome/Oxc adapters, and exec for any CLI); single config, incremental caching, sandboxed plugins, and extreme speed make it the highest-value single tool for real polyglot/monorepo work

Gemini Ultra-fast Rust- and WASM-based pluggable formatting engine specifically designed for multi-language repositories (covering TS/JS, JSON, Markdown, TOML, Dockerfile, with Prettier bridge capabilities); near-tie with Prettier for performance-sensitive workflows.

Where dprint falls short, per the models

  • GPT Coverage quality depends on individual plugins, so obscure languages may rely on relatively young third-party integrations rather than a first-party formatter.
  • Claude Plugin ecosystem is thinner than Prettier's for niche web frameworks (Vue/Svelte/templating), and community momentum is smaller, so some ecosystems lack a mature plugin.
  • Gemini First-party native plugin coverage is limited for backend-heavy languages, requiring reliance on external tool delegation or community plugins.
  • Grok Ecosystem and editor integrations still lag Prettier; plugin management and occasional wrapper quirks mean it is not zero-friction for pure-JS teams that never leave the Prettier/Biome world

Poll history — #1 in all 2 polls since Aug 22

#1#1

Top alternatives per the models: Prettier · treefmt · Spotless · Biome

Head-to-head — how the models call it

Watch dprint

Boards re-poll weekly and the models change their minds. One short email only when dprint's standing moves — a rank change, a rival overtaking, or new reasoning from the models. Nothing otherwise.

Embed your ranking badge

dprint ranks #1 for best code formatter by AI-model consensus. Put the badge in your README, docs or site — it updates automatically as the models re-rank.

dprint — ranked #1 for Best code formatter by AI models on ModelsAgree
Markdown (README)
[![dprint — ranked #1 for Best code formatter by AI models on ModelsAgree](https://modelsagree.com/badge/dprint.svg)](https://modelsagree.com/best/best-code-formatter?utm_source=badge&utm_medium=embed&utm_campaign=badge-dprint)
HTML
<a href="https://modelsagree.com/best/best-code-formatter?utm_source=badge&utm_medium=embed&utm_campaign=badge-dprint"><img src="https://modelsagree.com/badge/dprint.svg" alt="dprint — ranked #1 for Best code formatter by AI models on ModelsAgree" height="28"></a>

Rankings are computed from what the models answer, re-polled on demand · raw reasoning shown verbatim · methodology