google-java-format
Reformats Java source code to comply with Google Java Style.
By google. Free and open source for Windows. Latest version v2.0.0, released 2026-10-30.
Is google-java-format safe?
Trust score 77/100: High trust. Strong evidence across the board. Download it from the official release as you normally would.
- Established community: 6,228 GitHub stars
- 97 people have contributed code
- Actively developed: code changed in the last 30 days
- Strong security practices (OpenSSF Scorecard 7/10)
- Downloads come straight from the project's own GitHub releases
- Around since 2015
Things to watch:
- No checksums or signatures published: you can't verify the download
- Custom or unusual license: read it before relying on the app
6,228 GitHub stars · 4.7M downloads · 97 contributors · OpenSSF Scorecard 7/10.
Download google-java-format
- google-java-format_windows-x86-64.exe (Windows, 31.4 MB)
scoop bucket add extras; scoop install extras/google-java-format
Downloads come straight from github.com/google/google-java-format.
About google-java-format
google-java-format is a program that reformats Java source code to comply with [Google Java Style][].
[Google Java Style]: https://google.github.io/styleguide/javaguide.html
Note that it uses the jdk.compiler module to parse the Java source code. The java binary version used must therefore be from a JDK (not JRE) with a version equal to or newer than the Java language version of the files being formatted. The minimum Java version can be found in pom.xml (currently Java 21). An alternative is to use the available GraalVM based native binaries instead.
The formatter can act on whole files, on limited lines (--lines), on specific offsets (--offset), passing through to standard-out (default) or altered in-place (--replace).
Similar apps
- Jadx: Dex to Java decompiler (High trust, 75/100)
- Sourcetrail: Sourcetrail - free and open-source interactive source explorer (Low trust, 37/100)
- Jmeter: Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services (Use caution, 50/100)
- Android Classyshark: Android and Java bytecode viewer (Low trust, 40/100)
- Recaf: The modern Java bytecode editor (Use caution, 51/100)
- Gephi: Gephi - The Open Graph Viz Platform (High trust, 78/100)
Questions
Is google-java-format safe to download?
google-java-format has an OpenShelf trust score of 77/100 (High trust). Strong evidence across the board. Download it from the official release as you normally would. Main thing to watch: No checksums or signatures published: you can't verify the download.
Is google-java-format free?
Yes. google-java-format is free and open source under a custom open-source license. The source code is public at github.com/google/google-java-format.
Does google-java-format work on Windows?
google-java-format is available for Windows. Ready-made downloads exist for Windows.
How do I install google-java-format?
Download the official file from the project's GitHub releases (for example google-java-format_windows-x86-64.exe) and run it. Or install it with: scoop bucket add extras; scoop install extras/google-java-format.
What are alternatives to google-java-format?
Similar open-source apps: Jadx (trust 75/100), Sourcetrail (trust 37/100), Jmeter (trust 50/100), Android Classyshark (trust 40/100).