EVERYTHING XIAOMI
Get listed
21 alternatives · from code formatters

Alternatives to google-java-format

17.6
Prettier logo

Prettier is a free, open-source code formatter that parses code and prints it in a consistent style, taking line length into account.

Free planOpen sourceWebAPIExtension
Free plan
26.7

rustfmt is a free, open-source formatter for Rust code.

Free planLinuxmacOSWindows
Free plan
36.6

Black is a Python code formatter that applies a consistent style while following PEP 8.

Free planLinuxmacOSSelf-hosted
Free plan
  1. 4Ruff logo

    Ruff

    Ruff is a free Python linter and code formatter written in Rust.

    Free planWebLinuxmacOSSelf-hosted
    6.6Free plan
  2. 5

    Uncrustify

    Uncrustify is a free, open-source source code formatter for C, C++, C#, Objective-C, D, Java, Pawn, and Vala.

    Free planLinuxmacOSSelf-hostedWindows
    6.4Free plan
  3. 6

    swift-format

    swift-format is a free, Apache-2.0 licensed tool for formatting and linting Swift source code.

    Free planiOSLinuxmacOS
    6.3Free plan
  4. 7

    Spotless

    Spotless formats source code and can check files for formatting violations or apply fixes.

    Free planLinuxmacOSWindows
    6.2Free plan
  5. 8CSharpier logo

    CSharpier

    CSharpier is a free, open-source formatter that parses C# and XML code and reprints it according to its own formatting rules.

    Free planAPILinuxmacOSWindows
    6.1Free plan
  6. 9

    elm-format

    elm-format is a free formatter for Elm source code, applying rules based on the official Elm Style Guide.

    Free planLinuxmacOSWindows
    6.1Free plan
  7. 10

    gofmt

    gofmt is the Go source formatter included with Go installations, available on Linux, macOS, and Windows.

    Free planLinuxmacOSWindows
    6.1Free plan
  8. 11RuboCop logo

    RuboCop

    Free planLinuxSelf-hosted
    6.0Free plan
  9. 12

    Deno

    Free plan
    5.9From $20 a month
  10. 13

    PHP CS Fixer

    PHP CS Fixer is a free Linux and self-hosted tool that detects PHP coding-standard problems and fixes them automatically.

    Free planLinuxSelf-hosted
    5.9Free plan
  11. 14

    OCamlFormat

    Free planLinux
    5.8Free plan
  12. 15

    clang-format

    clang-format is a free, open-source set of tools for formatting source code, available as a standalone command-line program and through editor integrations.

    ExtensionLinuxmacOSWindows
    5.6
  13. 16

    autopep8

    APILinuxmacOSWindows
    5.5
  14. 17

    Dart formatter

    LinuxmacOSWindows
    4.8
  15. 18

    YAPF

    LinuxmacOSWindows
    4.8
  16. 19

    EditorConfig

    EditorConfig

    4.3
  17. 20
    4.3
  18. 21

    StyLua

    JohnnyMorganz

    4.3

Back to google-java-format