clang-format vs dprint
| clang-format | dprint | |
|---|---|---|
| Free plan | No | Yes |
| Free trial | No | No |
| Paid from | — | Free |
| Open source | No | No |
| Platforms | extension, Linux, macOS, Windows | extension, Linux, macOS, self-hosted, Windows |
| Free plan | Yes | — |
| Supported languages | C, C++, Java, JavaScript, JSON, Objective-C, Protocol Buffers, C#, TableGen, TextProto, Verilog | 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 | Windows, macOS, Linux, WSL, Node.js, Deno |
| Editor integration | Yes | Yes |
| Ignore files | Yes | Yes |
| Changed-lines formatting | Yes | Yes |
| Library API | Yes | Yes |
| License model | open_source | open_source |
Both are listed in Best Code Formatting Tools. On The Geeks Club, clang-format scores higher on our published basis.