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.

  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 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,367 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: 138 This Week
    Last Update:
    See Project
  • 3
    Taplo

    Taplo

    A TOML toolkit written in Rust

    A versatile, feature-rich TOML toolkit. This is the repository for Taplo, a TOML v1.0.0 toolkit, more details are on the website. Validate TOML documents syntactically or against JSON schemas. Formatter with fine-grained options. Embeddable language server with features based on JSON schemas. Available wherever Rust compiles. Taplo CLI aims to be an one stop shop tool for working with TOML files via the command line. The features include validation, formatting, and querying TOML documents with a jq-like fashion.
    Downloads: 67 This Week
    Last Update:
    See Project
  • 4
    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: 13 This Week
    Last Update:
    See Project
  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    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: 11 This Week
    Last Update:
    See Project
  • 6
    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: 10 This Week
    Last Update:
    See Project
  • 7
    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: 10 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: 7 This Week
    Last Update:
    See Project
  • 9
    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: 7 This Week
    Last Update:
    See Project
  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Start Free
  • 10
    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: 7 This Week
    Last Update:
    See Project
  • 11
    nixfmt

    nixfmt

    The official formatter for Nix code

    nixfmt is a code formatter for the Nix expression language, aiming to provide consistent and idiomatic formatting for Nix files. It is written in Haskell and designed to be fast, predictable, and fully automatic with zero configuration. nixfmt helps Nix developers maintain readability and code consistency across large codebases, facilitating collaboration and version control workflows.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 12
    MegaLinter

    MegaLinter

    Mega-Linter analyzes 50 languages, 22 formats, 21 tooling formats etc.

    Verify your code consistency with an open-source tool. MegaLinter is an Open-Source tool for CI/CD workflows that analyzes the consistency of your code, IAC, configuration, and scripts in your repository sources, to ensure all your projects sources are clean and formatted whatever IDE/toolbox is used by their developers, powered by OX Security. Supporting 54 languages, 24 formats, 22 tooling formats and ready to use out of the box, as a GitHub action or any CI system highly configurable and free for all uses. Projects need to contain clean code, in order to avoid technical debt, which makes evolutive maintenance harder and time-consuming. By using code formatters and code linters, you ensure that your code base is easier to read and respects best practices, from the kick-off to each step of the project lifecycle. Not all developers have the good habit to use linters in their IDEs, making code reviews harder and longer to process.
    Downloads: 6 This Week
    Last Update:
    See Project
  • 13
    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: 6 This Week
    Last Update:
    See Project
  • 14
    MBeautifier

    MBeautifier

    MBeautifier is a MATLAB source code formatter, beautifier

    MBeautifier is a lightweight M-Script-based MATLAB source code formatter usable directly in the MATLAB Editor.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 15
    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: 5 This Week
    Last Update:
    See Project
  • 16
    npm-clang-format-node

    npm-clang-format-node

    Node repackaging(wrapping) of the LLVM Clang's clang-format

    A Node.js package that integrates the clang-format tool for formatting C, C++, and JavaScript code, enhancing code quality and consistency.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 17
    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: 4 This Week
    Last Update:
    See Project
  • 18
    SmartFormat

    SmartFormat

    A lightweight text templating library written in C#

    SmartFormat is a is a lightweight text templating library written in C# which can be a drop-in replacement for string.Format. More than that SmartFormat can format data with named placeholders, lists, localization, pluralization and other smart extensions. High performance with low memory footprint. Minimal, intuitive syntax. Formatting takes place exclusively at runtime. Exact control of whitespace text output. string.Format compatibility mode and SmartFormat enhanced mode. Most common data sources work out-of-the-box. Many built-in formatting extensions. Custom formatting and source extensions are easy to integrate.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 19
    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: 28 This Week
    Last Update:
    See Project
  • 20
    Prettier PHP Plugin

    Prettier PHP Plugin

    Prettier PHP Plugin

    Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. This plugin adds support for the PHP language to Prettier. We're considering the plugin to be stable when pure PHP files are formatted. Formatting of files that contain mixed PHP and HTML is still considered unstable. This package exposes a standalone.js that can be used alongside Prettier's own standalone.js to make the PHP plugin work in browsers without a compile step.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 21
    Pronto

    Pronto

    Quick automated code review of your changes

    Pronto runs analysis quickly by checking only the relevant changes. Created to be used on GitHub pull requests, but also works locally and integrates with GitLab and Bitbucket. Perfect if you want to find out quickly if a branch introduces changes that conform to your style guide, are DRY, don't introduce security holes, and more. Pronto runs the checks on a diff between the current HEAD and the provided commit-ish (default is master). You can run Pronto as a step of your CI builds and get the results as comments on GitLab commits using GitlabFormatter. You can run Pronto as a step of your CI builds and get the results as comments on Bitbucket commits using BitbucketFormatter or BitbucketPullRequestFormatter. The behavior of Pronto can be controlled via the .pronto.yml configuration file.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 22
    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
  • 23
    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: 3 This Week
    Last Update:
    See Project
  • 24
    moment.php

    moment.php

    Parse, validate, manipulate, and display dates in PHP

    Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js. PHP 5.3 or later since moment.php is based on php's DateTime Class. You can now inject different format handling by passing along a class that implements the FormatsInterface. You can find an example within the test folder for implementing all formats from moment.js. The immutable mode makes all modification methods call cloning() implicitly before applying their modifications.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 25
    vscode-blade-formatter

    vscode-blade-formatter

    An opinionated Blade file formatter for VSCode

    An opinionated Blade file formatter for VSCode. Marketplace page is here. You can also format programmatically with the same syntax using the blede-formatter that this extension relies on. Automatically indent markup inside directives. Automatically add spacing to blade template markers. PHP 8 support (null safe operator, named arguments) PSR-2 support (format inside directives) Automatically sort Tailwind CSS classes with respect of tailwind.config.js. To configure settings per project, put .bladeformatterrc.json or .bladeformatterrc to your project root will vscode-blade-formatter treat it as setting files.
    Downloads: 3 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • Next