Alejandra
An opinionated Nix code formatter with a focus on consistency and readability.
yes.
A catalog of code formatting tools across every language and ecosystem.
An opinionated Nix code formatter with a focus on consistency and readability.
A fast formatter and linter for JavaScript, TypeScript, JSX, JSON, and CSS. Designed as a Prettier-compatible drop-in replacement.
The uncompromising Python code formatter. Deterministic output with minimal configuration.
A tool to format C, C++, Java, JavaScript, and other languages based on configurable style rules. Part of the LLVM project.
An opinionated C# code formatter inspired by Prettier. Minimal configuration, consistent output.
The official Dart code formatter included in the Dart SDK. Applies a single canonical style.
A pluggable and configurable code formatting platform written in Rust. Extremely fast with support for many languages via plugins.
The standard formatter for Elm source code. Enforces a single canonical style with zero configuration.
A configurable Haskell source code formatter, forked from Ormolu. Provides more formatting options while maintaining consistency.
The standard Go code formatter. Ships with the Go toolchain and enforces a single canonical style.
Reformats Java source code to comply with Google Java Style. Opinionated with zero configuration.
A Kotlin code formatter by Meta that reformats source code to a uniform style. Based on google-java-format.
The built-in code formatter for Elixir, shipped with the language. Enforces a consistent style with minimal configuration.
Auto-formatter for OCaml code with configurable profiles ranging from conventional to compact styles.
A formatter for Haskell source code that uses a single style with no configuration knobs.
An opinionated code formatter that supports many languages and integrates with most editors.
An extremely fast Python linter and formatter written in Rust. Drop-in replacement for Black, isort, and many flake8 plugins.
The official Rust code formatter. Formats Rust code according to style guidelines, shipped with the Rust toolchain.
Code formatter for Scala with highly configurable formatting rules and IDE integration.
A shell script formatter supporting POSIX Shell, Bash, and mksh. Fast and configurable.
An opinionated Lua code formatter inspired by Prettier. Supports Lua 5.1-5.4 and Luau.
The official Swift code formatter from Apple. Formats Swift source code according to configurable rules.
A TOML toolkit with a built-in formatter, validator, and language server. Handles TOML files with configurable style rules.
The built-in formatter for Zig, shipped with the compiler. Enforces the official Zig style guide.
An automated Erlang code formatter by WhatsApp. Focuses on preserving intent while enforcing consistent style.
Official Prettier plugin for formatting PHP code.
Official Prettier plugin for formatting Pug (Jade) templates.
Official Prettier plugin for formatting XML documents.
Prettier plugin for formatting Liquid templates. Maintained by Shopify.
Prettier plugin for formatting Salesforce Apex code.
Prettier plugin for formatting Astro components. Maintained by the Astro team.
Prettier plugin for formatting Java source code. Maintained by JHipster.
Prettier plugin for shell scripts (bash/sh/zsh), Dockerfiles, .properties, .gitignore, and more.
Prettier plugin for formatting Solidity smart contracts.
Prettier plugin for SQL using a concrete syntax tree for precise formatting. Supports multiple SQL dialects.
Prettier plugin for formatting Svelte components. Maintained by the Svelte team.
Prettier plugin that automatically sorts Tailwind CSS classes. Maintained by Tailwind Labs.
Prettier plugin for formatting TOML files.
Official Prettier plugin for formatting Ruby code. Runs a Ruby server for parsing.
Prettier plugin for formatting Laravel Blade templates.
Prettier plugin for formatting ERB (Ruby on Rails) templates.
Prettier plugin for formatting Gherkin (Cucumber BDD) feature files.
Prettier plugin for formatting GLSL shader code (WebGL/OpenGL).
Prettier plugin for formatting Go template files, commonly used with Hugo.
Prettier plugin for formatting Jinja2 templates.
Prettier plugin for formatting Marko templates. Maintained by the Marko team.
Prettier plugin for formatting Motoko (Internet Computer) smart contract code. Maintained by DFINITY.
Prettier plugin for formatting Nginx configuration files.