Browse free open source Code Formatters and projects for Mac below. Use the toggles on the left to filter open source Code Formatters by OS, license, language, programming language, and project status.

  • Forever Free Full-Stack Observability | Grafana Cloud Icon
    Forever Free Full-Stack Observability | Grafana Cloud

    Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

    Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
    Create free account
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 1
    Artistic Style
    A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, Objective-C, C#, and Java Source Code. Website: http://astyle.sourceforge.net/ Git Repository: https://gitlab.com/saalen/astyle/
    Leader badge
    Downloads: 1,760 This Week
    Last Update:
    See Project
  • 2
    Deno

    Deno

    A secure runtime for JavaScript and TypeScript

    Deno is a secure by default, open source runtime for JavaScript and TypeScript, providing a productive and secure scripting environment for the modern programmer. It is distributed as a single executable with no dependencies, and takes on the role of both runtime and package manager. It uses a standard browser-compatible protocol for loading modules, which are URLs. Built on top of V8, Rust and TypeScript, Deno has support for TypeScript right out of the box. It has a set of built-in utilities as well as reviewed (audited) standard modules.
    Downloads: 39 This Week
    Last Update:
    See Project
  • 3
    xq

    xq

    Command-line XML and HTML beautifier and content extractor

    Command-line XML and HTML beautifier and content extractor. Syntax highlighting, automatic indentation, and formatting. Automatic pagination and node content extraction.
    Downloads: 19 This Week
    Last Update:
    See Project
  • 4
    google-java-format

    google-java-format

    Reformats Java source code to comply with Google Java Style

    google-java-format is a program that reformats Java source code to comply with Google Java Style. The formatter can act on whole files, on limited lines, on specific offsets, passing through to standard-out (default) or altered in-place. There is no configurability as to the formatter's algorithm for formatting. This is a deliberate design decision to unify our code formatting on a single format. The formatter can be used in software that generates java to output more legible java code. Just include the library in your maven/gradle/etc. configuration. A google-java-format IntelliJ plugin is available from the plugin repository. To install it, go to your IDE's settings and select the Plugins category. Click the Marketplace tab, search for the google-java-format plugin, and click the Install button.
    Downloads: 13 This Week
    Last Update:
    See Project
  • Gemini 3 and 200+ AI Models on One Platform Icon
    Gemini 3 and 200+ AI Models on One Platform

    Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

    Build generative AI apps with Vertex AI. Switch between models without switching platforms.
    Start Free
  • 5
    AutoCorrect

    AutoCorrect

    A linter and formatter to help you to improve copywriting, etc.

    AutoCorrect is a linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean). Like Eslint, Rubocop and Gofmt, AutoCorrect allows us to check source code, and output as colorized diff with corrected suggestions. You can integrate to CI (GitLab CI, GitHub Action, Travis CI....) for use to check the contents in source code. Recognize the file name, and find out the strings and the comment part. Add spacing between CJK (Chinese, Japanese, Korean) and English words. Correct punctuations into full-width near the CJK. Correct punctuations into half-width in English content. (Experimental) Spellcheck and correct words with your dictionary. Lint checking and output diff or JSON result, so you can integrate everywhere (GitLab CI, GitHub Action, VS Code, Vim, Emacs...)
    Downloads: 12 This Week
    Last Update:
    See Project
  • 6
    Prettier

    Prettier

    Opinionated Code Formatter

    Prettier is an open source, opinionated code formatter that basically takes all the original styling of your code and enforces a consistent code style through parsing and reprinting following its own rules. It takes the maximum line length into account, wrapping code if needed. Prettier makes writing code in one consistent style automatic, painless and so much easier. No need to spend so much time, effort and mental energy discussing styles or formatting your code. Simply press save and your code is formatted. Prettier supports several languages including JavaScript, TypeScript, JSON, CSS, HTML and more. It also integrates with most editors (Atom, Visual Studio, Vim, Espresso and more).
    Downloads: 9 This Week
    Last Update:
    See Project
  • 7
    Livebook

    Livebook

    Interactive and collaborative code notebooks for Elixir

    Livebook is a web application for writing interactive and collaborative code notebooks. Write notebooks in Livebook then securely deploy and share them with your team and company with Livebook Hub/Enterprise. Code notebooks with Markdown support and Code cells where Elixir code is evaluated on demand. Rich code editor through Monaco: with support for autocompletion, inline documentation, code formatting, etc. Interactive results via Kino: display Vega-Lite charts, tables, maps, and more. Automation: use Smart cells to perform high-level tasks and write notebooks faster than ever. Query databases, plot charts, build maps, and more directly from Livebook's UI. Reproducible: Livebook ensures your code runs in a predictable order, all the way down to package management. It also tracks your notebook state, annotating which parts are stale. Collaboration: multiple users can work on the same notebook at once, no additional setup is required.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 8
    Buildtools for bazel

    Buildtools for bazel

    A bazel BUILD file formatter and editor

    This repository contains developer tools for working with Google's bazel buildtool. buildifier For formatting BUILD, BUILD.bazel and BUCK files in a standard way. buildozer For doing command-line operations on these files. unused_deps For finding unneeded dependencies in java_library rules. See instructions in each tool's directory. Buildifier supports the following file types: BUILD, WORKSPACE, .bzl, and default, the latter is reserved for Starlark files buildifier doesn't know about (e.g. configuration files for third-party projects that use Starlark). The formatting rules for WORKSPACE files are the same as for BUILD files (both are declarative and have stricter formatting rules), and default files are formatted similarly to .bzl files, allowing more flexibility. Different linter warnings may be limited to any subset of these file types.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    LuaFormatter

    LuaFormatter

    Code formatter for Lua

    Reformats your Lua source code. The program will attempt to automatically use the current directory's .lua-format file if no config file is passed in the command line. If none is found, it will try to locate a .lua-format file in a parent directory recursively. On Linux, it will use $XDG_CONFIG_HOME/luaformatter/config.yaml if .lua-format does not exist. In case there's no file, it will fall back to the default configuration. The program will give the top priority to the configuration values given in the command line, then to the configuration files, and finally to the hard-coded default values.
    Downloads: 3 This Week
    Last Update:
    See Project
  • $300 in Free Credit Towards Top Cloud Services Icon
    $300 in Free Credit Towards Top Cloud Services

    Build VMs, containers, AI, databases, storage—all in one place.

    Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
    Get Started
  • 10
    Spotless

    Spotless

    Keep your code spotless

    Spotless is a tool for formatting and enforcing consistent code style in various languages, streamlining code quality across teams.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 11
    UniversalIndentGUI
    A cross platform GUI for several code formatter, beautifier and indenter like AStyle, GNU Indent, GreatCode, HTML Tidy, Uncrustify and many more. Main feature is a live preview to directly see how the selected formatting option affects the source code.
    Downloads: 20 This Week
    Last Update:
    See Project
  • 12
    GDScript Toolkit

    GDScript Toolkit

    Independent set of GDScript tools - parser, linter and formatter

    Independent set of GDScript tools, parser, linter and formatter. This project provides a set of tools for daily work with GDScript. At the moment it provides a parser that produces a parse tree for debugging and educational purposes. A linter that performs a static analysis according to some predefined configuration. A formatter that formats the code according to some predefined rules. A code metrics calculator which calculates the cyclomatic complexity of functions and classes. To install this project you need python3 and pip. Regardless of the target version, installation is done by pip3 command and for stable releases, it downloads the package from PyPI.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    Laravel Pint

    Laravel Pint

    Laravel Pint is an opinionated PHP code style fixer for minimalists.

    Laravel Pint is an opinionated PHP code-style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is automatically installed with all new Laravel applications so you may start using it immediately. By default, Pint does not require any configuration and will fix code style issues in your code by following the opinionated coding style of Laravel. Pint is included in recent releases of the Laravel framework, so installation is typically unnecessary. However, for older applications, you may install Laravel Pint via Composer. You can instruct Pint to fix code style issues by invoking the pint binary that is available in your project's vendor/bin directory. Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation, freeing you to create without sweating the small things.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    SwiftFormat

    SwiftFormat

    A command-line tool and Xcode Extension for formatting Swift code

    SwiftFormat is a code library and command-line tool for reformatting Swift code on macOS or Linux. SwiftFormat goes above and beyond what you might expect from a code formatter. In addition to adjusting white space, it can insert or remove implicit self, remove redundant parentheses, and correct many other deviations from the standard Swift idioms. Many programmers have a preferred style for formatting their code, and others seem entirely blind to the existing formatting conventions of a project. When collaborating on a project, it can be helpful to agree on a common coding style, but enforcing that manually is tedious and error-prone, and can lead to arguments if some participants take it more seriously than others. Having a tool to automatically enforce a common style eliminates those issues, and lets you focus on the behavior of the code, not its presentation.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 15
    vim-autoformat

    vim-autoformat

    Provide code formatting in Vim by integrating existing code formatters

    vim-autoformat is a universal “format this buffer” interface for Vim and Neovim that routes your file through the right external formatter with a single command. Instead of remembering dozens of tool names and CLI flags, you call one mapping and the plugin picks an appropriate backend based on filetype and configuration. It supports a wide range of formatters—such as Black, isort, yapf, Prettier, clang-format, gofmt, rustfmt, shfmt, and many more—while letting you override arguments per project or per filetype. Results flow back into the buffer, replacing content or selected regions, and can integrate with quickfix for error reporting when a tool fails. You can wire formatting to save events, cursor holds, or run it manually, keeping it as strict or as gentle as your workflow needs. For teams, a shared config ensures consistent code style across contributors regardless of their local editor knowledge.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 16
    CoolFormat

    CoolFormat

    CoolFormat Source Code Formatter

    CoolFormat Source Code Formatter is a code formatter for C\C++\C#\CSS\HTML\Java\JavaScript\JSON\Objective-C\PHP\SQL\Verilog\XML. It supports code highlighting for web publishment which is truly convenient for writing and reading a blog post, etc. CoolFormat source code formatting is a C\C++\C#\CSS\HTML\Java\JavaScript\JSON\PHP\SQL\XML code formatting tool. The software can quickly format in multiple styles and colorize the language. The interface adopts the style of Office 2010, and there are many styles that can be replaced. And it supports code highlighting to be displayed on the web page, which is convenient for writing and reading blog articles. Divided into "Quick Format", "Selected Format" and "Batch Format", the formatting style parameters of various languages ​​can be set in detail.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    Firebase Apple Open Source Development

    Firebase Apple Open Source Development

    Firebase SDK for Apple App Development

    This repository contains all Apple platform Firebase SDK source except FirebaseAnalytics. Firebase is an app development platform with tools to help you build, grow and monetize your app. More information about Firebase can be found on the official Firebase website. See the subsections below for details about the different installation methods. Where available, it's recommended to install any libraries with a Swift suffix to get the best experience when writing your app in Swift. Instructions for Swift Package Manager support can be found at SwiftPackageManager Markdown file. All of the official releases are tagged in this repo and available via CocoaPods. To access a local source snapshot or unreleased branch, use Podfile directives. CocoaPods is still the canonical way to develop, but much of the repo now supports development with Swift Package Manager.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    Money

    Money

    Go implementation of Fowler's Money pattern

    GoMoney provides ability to work with monetary value using a currency's smallest unit. This package provides basic and precise Money operations such as rounding, splitting and allocating. Monetary values should not be stored as floats due to small rounding differences.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19
    Neoformat

    Neoformat

    A (Neo)vim plugin for formatting code

    Neoformat uses a variety of formatters for many filetypes. Currently, Neoformat will run a formatter using the current buffer data, and on success, it will update the current buffer with the formatted text. On a formatter failure, Neoformat will try the next formatter defined for the filetype. By using getbufline() to read from the current buffer instead of file, Neoformat is able to format your buffer without you having to :w your file first. Also, by using setline(), marks, jumps, etc. are all maintained after formatting. Neoformat supports both sending buffer data to formatters via stdin, and also writing buffer data to /tmp/ for formatters to read that do not support input via stdin. If a formatter is either not configured to use stdin, or is not able to read from stdin, then buffer data will be written to a file in /tmp/neoformat/, where the formatter will then read from.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 20
    RuboCop

    RuboCop

    A Ruby static code analyzer and formatter, based on the community Ruby

    RuboCop is a Ruby static code analyzer (a.k.a. linter) and code formatter. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide. RuboCop packs a lot of features on top of what you’d normally expect from a linter. Works with every major Ruby implementation. Autocorrection of many of the code offenses it detects. Robust code formatting capabilities. Multiple result for matters for both interactive use and for feeding data into other tools. Ability to have different configurations for different parts of your codebase. Ability to disable certain cops only for specific files or parts of files. Extremely flexible configuration that allows you to adapt RuboCop to pretty much every style and preference. It’s easy to extend RuboCop with custom cops and formatters. Many online services use RuboCop internally (e.g. HoundCI, Sider and CodeClimate).
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21
    Vim Codefmt

    Vim Codefmt

    Vim plugin for syntax-aware code formatting

    vim-codefmt is a syntax-aware code formatting plugin for Vim that provides a unified interface to many best-in-class formatters across languages. It exposes simple commands to format either a selected range or an entire buffer, and integrates cleanly into everyday editing workflows. The plugin ships with a registry of built-in formatters and a pluggable architecture, allowing other plugins to register additional formatters without friction. Configuration is handled through maktaba and Glaive flags, so you can choose per-filetype tools, pass custom options, or point to specific formatter executables. Autoformat can be enabled via standard Vim autocommands, making it easy to format on filetype or on write while still allowing opt-out on a per-buffer basis. With broad language coverage—from C, C++, Java, Python, and Go to Kotlin, Rust, Swift, Bazel, Markdown, and more—vim-codefmt helps teams maintain consistent style across heterogeneous codebases.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    dprint

    dprint

    Pluggable and configurable code formatting platform written in Rust

    A pluggable and configurable code formatting platform written in Rust. This project is under active early development. I recommend you check its output to ensure it's doing its job correctly and only run this on code that has been checked into source control. Monorepo for dprint—a pluggable and configurable code formatting platform. The plugins property specifies which plugins to use for formatting. These may be URLs or file paths to a WebAssembly file of the plugin. By default, plugins will pull in files based on their extension. Sometimes a file may have a different extension or no extension at all, but you still want to format it with a certain plugin. The plugin "associations" config allows you to do that by associating a certain file pattern to one or multiple plugins.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 23
    fmt

    fmt

    Formatting library as an alternative to C stdio and C++ iostreams

    {fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams. The format API is similar in spirit to the C printf family of function but is safer, simpler and several times faster than common standard library implementations. The format string syntax is similar to the one used by str.format in Python. The library is fully type safe, automatic memory management prevents buffer overflow, errors in format strings are reported using exceptions or at compile time. The library produces compact per-call compiled code. The library is highly portable and relies only on a small set of C++11 features, like variadic templates, type traits, rvalue references, decltype, trailing return, types, deleted functions, alias templates. These are available in GCC 4.8, Clang 3.0, MSVC 19.0 (2015) and more recent compiler version. For older compilers use {fmt} version 4.x which is maintained and only requires C++98.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Free SQL Formatter

    Free SQL Formatter

    SQL code formatter / beautifier

    FSQLF - Free SQL Formatter is open source SQL code formatter and beautifier, built to make life easier for people dealing with long SQL queries.
    Downloads: 6 This Week
    Last Update:
    See Project
  • 25
    PHPeclipse - PHP Eclipse-Plugin
    PHP - Support for the Eclipse IDE Framework ( www.eclipse.org ). Some Features are PHP parser, debugger, code formatter, outline view, templates...(Programming Language: Java)
    Downloads: 4 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • Next
MongoDB Logo MongoDB