EVERYTHING XIAOMI
Get listed
Side by side

Prettier vs Uncrustify

Prettier logo

Prettier

7.6#1 in code formatting toolsFree plan
Free planWebAPIExtensionLinux
Visit

Uncrustify

6.4#5 in code formattersFree plan
Free planLinuxmacOSSelf-hostedWindows
Visit

What both publish

FactPrettierUncrustify
Command lineThe install guide documents running `prettier --write` to rewrite files and `prettier --check` in CI to detect unformatted files.The program accepts configuration and input files, can write formatted output to a file or standard output, and can process multiple files.
ConfigurationConfiguration can use JSON, YAML, TOML, JavaScript or TypeScript files, with overrides for selected files and directories.Version 0.83.0 has 901 configurable options.
Editor integrationsThe official site lists integrations or support for VS Code, WebStorm, Visual Studio, Vim, Emacs, Sublime Text, Nova and Espresso.The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ.

Prettier plans

  • Open-source PrettierFree
  • PrettierFree

Uncrustify plans

  • UncrustifyFree

Pick Prettier if…

It suits developers who want consistent code formatting across supported languages and editors. Teams needing additional languages can use plugins, while those using ESLint can follow the documented integration guidance.

Pick Uncrustify if…

Uncrustify suits developers who want configurable command-line formatting across its listed languages and platforms. It may also fit users of Vim or IntelliJ who want to consult the project's editor resources.

Charts they share