Open-source formatter software
211 open-source libraries, tools and applications tagged formatter, ranked by how closely formatter is their primary purpose, then by adoption and maintenance health. Each entry links to a page with sources, use cases and when to choose or avoid it.
211 products, primary matches first, then adoption-weighted; health v2 shown.
| Product | Health v2 | Stars | Maturity |
|---|---|---|---|
| Lodash Lodash is a modern JavaScript utility library that provides a wide range of modular functions for working with arrays, objects, strings, an… | 88 | 61287 | active |
| Prettier Prettier is an opinionated code formatter that parses code into an AST and reprints it with consistent style rules. It supports many langua… | 97 | 52306 | active |
| Black Black is an uncompromising Python code formatter that reformats entire files in a deterministic way. It can be run as a command‑line tool, … | 94 | 41865 | stable |
| Black Black is an opinionated, deterministic Python code formatter that reformats code to a single consistent style. It runs as a CLI, integrates… | 94 | 41865 | stable |
| DevToys-app/DevToys DevToys is a free, open‑source desktop application that bundles dozens of tiny utilities for developers, such as converters, encoders, form… | 84 | 32074 | active |
| JavaScript Standard Style JavaScript Standard Style is a zero-configuration JavaScript style guide that ships as a CLI linter and automatic code fixer built on ESLin… | 33 | 29432 | stable |
| ESLint ESLint is a pluggable JavaScript and TypeScript linter that statically analyzes code to find problems and enforce style. It can be run from… | 100 | 27571 | active |
| Biome Biome is a fast, Rust‑based toolchain for web projects that provides code formatting and linting. It can be used via a command‑line interfa… | 91 | 25931 | active |
| Biome Biome is a fast web toolchain written in Rust that provides a code formatter (97% Prettier-compatible) and a linter with 500+ rules for Jav… | 91 | 25931 | active |
| LunarVim LunarVim is an opinionated IDE layer for Neovim that ships with sane defaults for autocompletion, LSP, linting, formatting, debugging, fuzz… | 30 | 19257 | active |
| so-fancy/diff-so-fancy diff-so-fancy is a command-line utility that reformats git and unified diff output to be human-readable instead of machine-readable. It wor… | 95 | 18099 | stable |
| rust-lang/rust-analyzer rust-analyzer is a Language Server Protocol implementation providing IDE features for Rust, including code completion, go-to-definition, fi… | 94 | 16902 | stable |
| vim-go vim-go is a Vim/Neovim plugin that adds full Go language support, including build, test, run, debug (delve), formatting, completion, and go… | 64 | 16219 | active |
| lint-staged/lint-staged lint-staged is an npm CLI tool that runs arbitrary shell tasks, such as formatters and linters, against only the files staged in git. It is… | 97 | 14741 | stable |
| dense-analysis/ale ALE (Asynchronous Lint Engine) is a Vim/Neovim plugin that provides asynchronous linting and syntax checking while you type, plus code fixi… | 63 | 14020 | active |
| google/yapf YAPF is a Python code formatter from Google, inspired by clang-format, that reformats code to conform to a configurable style guide. It can… | 76 | 13991 | active |
| PHP-CS-Fixer/PHP-CS-Fixer PHP CS Fixer is a command-line tool that detects and automatically fixes PHP coding standards issues. It ships with built-in rule sets (PER… | 93 | 13555 | stable |
| RuboCop RuboCop is a Ruby static code analyzer (linter) and code formatter that enforces the community Ruby Style Guide. It can automatically fix m… | 100 | 12914 | stable |
| stylelint/stylelint Stylelint is a CSS linter with over 100 built-in rules that helps developers avoid errors and enforce style conventions. It supports plugin… | 96 | 11527 | stable |
| SQLFluff SQLFluff is a dialect-flexible, configurable SQL linter and auto-formatter for Python. It supports many SQL dialects (BigQuery, Snowflake, … | 95 | 9955 | stable |
| mvdan/sh A Go library and CLI tool (shfmt) that parses, formats, and interprets shell scripts supporting POSIX Shell, Bash, Zsh, and mksh. It expose… | 86 | 9072 | active |
| nicklockwood/SwiftFormat SwiftFormat is a command-line tool and library for reformatting Swift code on macOS, Linux, and Windows. It also ships as an Xcode source e… | 96 | 8932 | active |
| golang/tools The golang.org/x/tools module provides packages and commands for static analysis of Go programs, including SSA IR, call graphs, and a modul… | 95 | 8007 | active |
| XO XO is an opinionated JavaScript/TypeScript linter that wraps ESLint with sensible, preconfigured defaults and bundled plugins. It works as … | 96 | 7988 | active |
| tailwindlabs/prettier-plugin-tailwindcss An official Prettier plugin from Tailwind Labs that automatically sorts Tailwind CSS utility classes according to the recommended class ord… | 90 | 7137 | active |
| rust-lang/rustfmt rustfmt is the official Rust code formatter that formats Rust code according to standard style guidelines. It integrates with cargo via `ca… | 68 | 6997 | stable |
| PyCQA/isort isort is a Python utility and library that automatically sorts imports alphabetically and separates them into sections by type. It ships as… | 95 | 6953 | stable |
| ktlint/ktlint Ktlint is an opinionated Kotlin linter with a built-in formatter that enforces a standard code style without configuration. It supports .ed… | 78 | 6765 | active |
| antfu/eslint-config A shareable ESLint flat config preset by Anthony Fu that provides opinionated linting and auto-fix formatting for JavaScript, TypeScript, V… | 90 | 6271 | stable |
| google/google-java-format A program that reformats Java source code to comply with Google Java Style, usable from the command line or via an IntelliJ/JetBrains plugi… | 95 | 6206 | active |
| microsoft/typespec TypeSpec is a Microsoft-built, extensible DSL and toolchain for defining cloud service APIs and data shapes as a single source of truth. It… | 95 | 5891 | active |
| diffplug/spotless Spotless is a code formatting plugin for Gradle, Maven, and SBT that checks and automatically fixes formatting violations across many langu… | 95 | 5686 | stable |
| python-mode/python-mode Python-mode is a Vim plugin that turns Vim into a Python IDE, bundling linting, formatting, code completion, refactoring, documentation loo… | 57 | 5466 | active |
| stevearc/conform.nvim conform.nvim is a lightweight yet powerful code formatter plugin for Neovim. It wraps external formatter binaries and LSP formatting into a… | 66 | 5358 | active |
| google/gts gts is Google's TypeScript style guide packaged as a zero-configuration CLI tool that bundles ESLint linting, Prettier formatting, and an o… | 52 | 5290 | active |
| supabase-community/postgres-language-server A Language Server Protocol implementation and toolchain for Postgres SQL, built on libpg_query for 100% syntax compatibility. It provides e… | 95 | 5260 | active |
| blade-formatter A VSCode extension that formats Laravel Blade template files with opinionated defaults. It indents markup inside Blade directives, normaliz… | 86 | 5225 | active |
| rome/tools Rome is a unified toolchain for JavaScript, TypeScript, and web projects, combining a linter, formatter, and other developer tools in a sin… | 10 | 23372 | maintenance |
| anordal/shellharden Shellharden is a Rust CLI tool that syntax-highlights bash scripts and semi-automatically rewrites them to ShellCheck conformance, mainly b… | 75 | 4809 | stable |
| hhatto/autopep8 autopep8 is a Python tool that automatically formats Python code to conform to the PEP 8 style guide. It uses pycodestyle to detect formatt… | 61 | 4658 | stable |
| Lua Language Server A Language Server Protocol implementation for Lua, written in Lua, providing features like autocompletion, type checking, diagnostics, form… | 100 | 4391 | stable |
| rust-lang/rust.vim rust.vim is the official Vim plugin for Rust development, providing file detection, syntax highlighting, formatting via rustfmt, and integr… | 32 | 4191 | stable |
| asottile/pyupgrade pyupgrade is a CLI tool and pre-commit hook that automatically rewrites Python source code to use modern syntax for newer Python versions. … | 76 | 4115 | active |
| dprint dprint is a pluggable and configurable code formatting platform written in Rust that unifies formatters for many languages behind a single … | 100 | 4107 | active |
| mvdan/gofumpt gofumpt is a stricter, backwards-compatible fork of gofmt that formats Go source code with additional idiomatic style rules. It works as a … | 91 | 4089 | active |
| xcpretty/xcpretty xcpretty is a fast, flexible command-line formatter for xcodebuild output, written in Ruby and distributed as a gem. It pipes raw xcodebuil… | 34 | 4034 | stable |
| andialbrecht/sqlparse sqlparse is a non-validating SQL parser library for Python that tokenizes SQL text, splits scripts into statements, formats them, and expos… | 72 | 4020 | stable |
| isjiamu/gzh-design-skill An AI-agent skill (for Claude Code, Codex, Cursor) that converts Markdown into paste-ready WeChat Official Account (gongzhonghao) HTML with… | 75 | 4019 | active |
| trivago/prettier-plugin-sort-imports A Prettier plugin that sorts import declarations in TypeScript and JavaScript files according to a user-defined regular expression order. I… | 64 | 3954 | active |
| antonbabenko/pre-commit-terraform A collection of git hooks for Terraform, OpenTofu, and Terragrunt driven by the pre-commit framework. It automatically formats code and run… | 98 | 3784 | active |
| Myriad-Dreamin/tinymist Tinymist is an integrated language service for the Typst typesetting language, providing an LSP server, a CLI, a preview server, and a VSCo… | 93 | 3595 | active |
| carthage-software/mago Mago is an extremely fast PHP toolchain written in Rust that provides linting, formatting, static analysis, and automated fixes through a u… | 86 | 3524 | active |
| EditorConfig EditorConfig is a file format and ecosystem for defining consistent coding styles (indentation, charset, line endings) via a .editorconfig … | 36 | 3454 | stable |
| haydenbleasel/ultracite Ultracite is a highly opinionated, zero-configuration preset for JavaScript/TypeScript linting and formatting that wraps Biome, ESLint + Pr… | 95 | 3329 | active |
| none-ls.nvim none-ls.nvim is the community-maintained fork of null-ls.nvim, a Neovim plugin that turns Neovim itself into a language server so non-LSP t… | 68 | 3262 | active |
| qltysh/qlty Qlty CLI is a multi-language code quality tool written in Rust that unifies linting, auto-formatting, maintainability analysis, and securit… | 95 | 3194 | active |
| laravel/pint Laravel Pint is an opinionated PHP code style fixer built on top of PHP-CS-Fixer. It provides a zero-configuration CLI for keeping PHP code… | 97 | 3169 | active |
| uncrustify/uncrustify Uncrustify is a highly configurable source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn, and Vala. It reformats code by adjus… | 81 | 3070 | stable |
| swiftlang/swift-format swift-format is the official Swift source code formatter, providing formatting technology used by SourceKit-LSP. It can be used as a comman… | 88 | 2960 | active |
| azat-io/eslint-plugin-perfectionist An ESLint plugin that provides rules for sorting various code elements such as objects, imports, TypeScript types, enums, JSX props, and mo… | 96 | 2931 | active |
| Standard Ruby Standard Ruby is a linter and formatter for Ruby built on RuboCop, offering a deliberately unconfigurable, opinionated ruleset to eliminate… | 65 | 2926 | active |
| SQL Formatter A JavaScript/TypeScript library that pretty-prints SQL queries across many dialects including PostgreSQL, MySQL, BigQuery, Snowflake, and P… | 97 | 2897 | active |
| bash-lsp/bash-language-server A Language Server Protocol implementation for Bash that provides IDE-like features such as completion, jump to declaration, diagnostics, an… | 98 | 2795 | active |
| wesbos/eslint-config-wesbos A shareable ESLint and Prettier configuration package by Wes Bos that lints and auto-fixes JavaScript, TypeScript, and React code. It bundl… | 32 | 2700 | active |
| ray-x/go.nvim A feature-rich Neovim plugin for Go development, written in Lua, integrating gopls LSP, treesitter, DAP debugging, and AI assistance. It co… | 76 | 2661 | active |
| godlygeek/tabular A Vim plugin for filtering and aligning text, letting users line up text based on patterns with a simple command interface. It aims to make… | 32 | 2656 | stable |
| AlloyTeam/eslint-config-alloy A progressive ESLint configuration package from AlloyTeam for JavaScript, TypeScript, React, and Vue projects. It delegates style rules to … | 23 | 2627 | active |
| oxsecurity/megalinter MegaLinter is an open-source code quality tool that runs over 50 linters and formatters covering 50 languages, 22 formats, and 21 tooling f… | 93 | 2615 | active |
| Python LSP Server A Python 3.9+ implementation of the Language Server Protocol, maintained by the Spyder IDE team as a community fork of python-language-serv… | 73 | 2599 | active |
| Reason Reason is an alternative syntax and toolchain for the OCaml programming language, offering simple, fast, type-safe code with a JavaScript-f… | 88 | 10324 | maintenance |
| lydell/eslint-plugin-simple-import-sort An ESLint plugin that sorts JavaScript and TypeScript imports (and exports) via eslint --fix. It requires no extra tooling and handles comm… | 74 | 2463 | active |
| tamasfe/taplo Taplo is a versatile TOML v1.0.0 toolkit written in Rust, providing a parser, analyzer, and formatter usable as a library, CLI, VS Code ext… | 73 | 2403 | active |
| belav/csharpier CSharpier is an opinionated code formatter for C# and XML, ported from Prettier's printing approach. It is distributed as a dotnet tool wit… | 92 | 2345 | active |
| JohnnyMorganz/StyLua StyLua is a deterministic, opinionated code formatter for Lua and its dialects (Lua 5.1-5.4, LuaJIT, Luau, CfxLua), written in Rust and bui… | 95 | 2318 | active |
| beautifier/js-beautify js-beautify is a widely used beautifier that reformats and re-indents JavaScript, JSON, HTML, and CSS, with a Node library, Python package,… | 82 | 8998 | maintenance |
| vim-autoformat/vim-autoformat A Vim plugin that formats code with one keypress or automatically on save by integrating external code formatters. It supports many languag… | 69 | 2270 | active |
| PowerShell/PSScriptAnalyzer PSScriptAnalyzer is a static code checker (linter and formatter) for PowerShell scripts and modules, maintained by the PowerShell team. It … | 76 | 2159 | active |
| godotengine/godot-vscode-plugin An official VS Code extension providing Godot Engine development tools, including GDScript language features, a debugger, and support for G… | 91 | 2134 | active |
| platers/obsidian-linter An Obsidian.md plugin that formats and styles Markdown notes with a focus on configurability and extensibility. It provides toggleable rule… | 96 | 2097 | active |
| sbdchd/neoformat Neoformat is a Vim/Neovim plugin that formats code buffers using a variety of external formatters per filetype. It reads from the current b… | 54 | 2047 | active |
| dzhibas/SublimePrettyJson A Sublime Text 3 & 4 plugin for prettifying, minifying, validating, linting, and querying JSON directly in the editor. It also supports jq-… | 23 | 2041 | active |
| eslint-stylistic/eslint-stylistic ESLint Stylistic is a community-maintained collection of stylistic and formatting ESLint rules for JavaScript, TypeScript, and JSX, ported … | 84 | 2001 | active |
| codecadwallader/codemaid CodeMaid is an open source Visual Studio extension that cleans up, formats, and reorganizes code across many languages including C#, C++, F… | 40 | 1988 | active |
| darold/pgFormatter pgFormatter is a PostgreSQL SQL syntax beautifier that reformats SQL and PL/pgSQL code according to SQL standards and PostgreSQL-specific k… | 87 | 1958 | active |
| Caliptra Verible is a suite of SystemVerilog (IEEE 1800-2017) developer tools built in C++, including a parser, style linter, formatter, and Languag… | 93 | 1956 | active |
| Rhymond/go-money A Go library implementing Fowler's Money pattern for precise monetary value handling using currency smallest units (integer cents). It prov… | 55 | 1912 | stable |
| doctrine/sql-formatter A lightweight PHP library for formatting SQL statements with automatic indentation, line breaks, and syntax highlighting. It is a maintaine… | 69 | 1863 | stable |
| google/yamlfmt yamlfmt is an extensible command line tool and Go library for formatting YAML files, distributed as a single self-sufficient binary. It sup… | 84 | 1838 | active |
| Joker Joker is a small Clojure dialect interpreter written in Go that also serves as a Clojure/ClojureScript linter and formatter. It offers fast… | 96 | 1774 | active |
| JLLeitschuh/ktlint-gradle A Gradle plugin that wraps the ktlint Kotlin linter, adding tasks to run style checks and auto-format Kotlin code. It activates automatical… | 84 | 1722 | active |
| brazilian-utils/javascript A TypeScript/JavaScript utility library for validating, formatting, and generating Brazilian business identifiers such as CPF, CNPJ, CEP, b… | 98 | 1676 | active |
| AutoCorrect AutoCorrect is a Rust-based linter and formatter that improves copywriting by correcting spacing, punctuation, and word usage between CJK (… | 84 | 1654 | active |
| ecsphp/ecs Easy Coding Standard (ECS) is a zero-dependency PHP CLI tool that runs PHP-CS-Fixer and PHP_CodeSniffer rules together in a single parallel… | 99 | 1625 | active |
| Scony/godot-gdscript-toolkit A set of independent GDScript tools written in Python, including a parser (gdparse), linter (gdlint), formatter (gdformat), and a code metr… | 44 | 1614 | active |
| NixOS/nixfmt Nixfmt is the official formatter for the Nix language, implementing the standard Nix format. It is a command-line tool written in Haskell, … | 92 | 1611 | stable |
| vuejs/vetur Vetur is a VS Code extension providing Vue.js tooling, including syntax highlighting, IntelliSense, formatting, linting, debugging support,… | 23 | 5743 | maintenance |
| PHP_CodeSniffer PHP_CodeSniffer is a set of two PHP scripts: phpcs tokenizes PHP files to detect violations of a defined coding standard, and phpcbf automa… | 89 | 1557 | active |
| mattn/efm-langserver efm-langserver is a general-purpose Language Server Protocol server written in Go that acts as a bridge between editors and external linter… | 78 | 1557 | active |
| cpisciotta/xcbeautify xcbeautify is a fast, Swift-based formatter that beautifies xcodebuild and Swift Package Manager output with human-friendly colored logs. I… | 85 | 1548 | active |
| rvben/rumdl rumdl is a fast Markdown linter and formatter written in Rust, inspired by ruff's approach to Python linting. It provides 82 lint rules, au… | 81 | 1528 | active |
page 1 / 3 next →