Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo
Instead of LuaFormatter

Best LuaFormatter Alternatives in 2026

Taken from Code formatters, where LuaFormatter is listed too, in the same order.

  1. 1

    Prettier

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

    • Free plan
    • Open source
    • Windows · macOS · Linux · Web
    8.3 Club score
  2. 2

    Ruff

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

    • Free plan
    • Windows · macOS · Linux · Web
    8.0 Club score
  3. 3

    rustfmt

    rustfmt is a free, open-source formatter for Rust code that applies style guidelines to files or code supplied through standard input.

    • Free plan
    • Windows · macOS · Linux
    7.9 Club score
  4. 4

    Uncrustify

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

    • Free plan
    • Windows · macOS · Linux · Self-hosted
    7.9 Club score
  5. 5

    Black

    Black is a free Python formatter that follows PEP 8 and applies a consistent style across code.

    • Free plan
    • Windows · macOS · Linux · Self-hosted
    7.7 Club score
  6. 6

    clang-format

    • Free plan
    • Windows · macOS · Linux · Browser extension
    7.6 Club score
  7. 7

    gofmt

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

    • Free plan
    • Windows · macOS · Linux
    7.4 Club score
  8. 8

    Spotless

    Spotless checks source files for formatting violations and can apply fixes.

    • Free plan
    • Windows · macOS · Linux
    7.4 Club score
  9. 9

    autopep8

    • Free plan
    • Windows · macOS · Linux · API
    7.2 Club score
  10. 10

    elm-format

    elm-format is a free, open-source command-line formatter for Elm.

    • Free plan
    • Windows · macOS · Linux
    7.2 Club score
  11. 11

    CSharpier

    CSharpier formats C# and XML by parsing code and reprinting it according to its own rules.

    • Free plan
    • Windows · macOS · Linux · API
    7.2 Club score
  12. 12

    swift-format

    swift-format is a free, open-source tool for formatting and linting Swift source code, with components for code-formatting transformations.

    • Free plan
    • macOS · Linux · iPhone and iPad
    7.1 Club score
  13. 13

    RuboCop

    • Free plan
    • Linux · Self-hosted
    6.9 Club score
  14. 14

    PHP CS Fixer

    • Free plan
    • Linux · Self-hosted
    6.8 Club score
  15. 15

    OCamlFormat

    • Free plan
    • Linux
    6.7 Club score
  16. 16

    Dart formatter

    • Free plan
    • Windows · macOS · Linux
    6.2 Club score
  17. 17

    EditorConfig

    • Free plan
    5.5 Club score
  18. 18

    StyLua

    • Free plan
    5.5 Club score
  19. 19

    YAPF

    • Windows · macOS · Linux
    5.3 Club score
  20. 20 5.1 Club score

The whole list: Code formatters