Alternatives to google-java-format
Other tools in this directory that do similar work, with a verified install command for each. google-java-format itself: install google-java-format.
elm-format
elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
procyon-decompiler
Procyon is a suite of Java metaprogramming tools, including a rich reflection API, a LINQ-inspired expression tree API for runtime code generation, an
scc
Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
credo
A static code analysis tool for the Elixir language with a focus on code consistency and teaching
autorest
OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
autopep8
A tool that automatically formats Python code to conform to the PEP 8 style guide
fernflower
Decompiler from Java bytecode to Java, used in IntelliJ IDEA
lizard-analyzer
A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages
dep-tree
Tool for helping developers keep their code bases clean and decoupled. It allows visualising a code base complexity using a 3d force-directed graph of
cityhash
Automatically exported from code.google.com/p/cityhash
git
Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://
prettier
Prettier is an opinionated code formatter
jadx
Dex to Java decompiler
ruff
An extremely fast Python linter and code formatter, written in Rust
black
The uncompromising Python code formatter
trivy
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
VSCodium
binary releases of VS Code without MS branding/telemetry/licensing
eslint
Find and fix problems in your JavaScript code
cloc
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages
swiftlint
A tool to enforce Swift style and conventions
diff-so-fancy
Make your diffs human readable for improved code quality and faster defect detection. :tada:
Orca Slicer Nightly
G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
dex2jar
Tools to work with android .dex and java .class files
swiftgen
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!
How we picked these
We match on what the tool does and how it installs, then order by how widely each project is used. We're not saying these are better or worse than google-java-format — that depends on what you're building. We're saying they're the projects people reach for in the same situations, and each one has an install command we checked against its documentation.
google-java-format is developed by its own authors and this page is an independent reference; we are not affiliated with or sponsored by any project listed, and nothing here is a paid placement.