Code Formatters for Linux

View 1220 business solutions

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

  • Gen AI apps are built with MongoDB Atlas Icon
    Gen AI apps are built with MongoDB Atlas

    The database for AI-powered applications.

    MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
    Start Free
  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • 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,272 This Week
    Last Update:
    See Project
  • 2
    Black

    Black

    The uncompromising Python code formatter

    Black is the uncompromising Python code formatter that takes total control over your Python code formatting in the best way. Black delivers speed and certainty, while freeing you from constant pycodestyle nagging. Your code review becomes a lot faster and easier, so you can spend more time and mental energy on more important things. Blackened code makes the smallest diffs possible and looks the same no matter the project. Its formatting eventually becomes transparent, so you can simply forget about it and focus on your task at hand. Black has been successfully used in many projects, and has gained stellar user reviews as an exceptional, uncompromising PEP 8 compliant opinionated formatter.
    Downloads: 35 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: 28 This Week
    Last Update:
    See Project
  • 4
    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: 14 This Week
    Last Update:
    See Project
  • No-Nonsense Code-to-Cloud Security for Devs | Aikido Icon
    No-Nonsense Code-to-Cloud Security for Devs | Aikido

    Connect your GitHub, GitLab, Bitbucket, or Azure DevOps account to start scanning your repos for free.

    Aikido provides a unified security platform for developers, combining 12 powerful scans like SAST, DAST, and CSPM. AI-driven AutoFix and AutoTriage streamline vulnerability management, while runtime protection blocks attacks.
    Start for Free
  • 5
    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: 12 This Week
    Last Update:
    See Project
  • 6
    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: 11 This Week
    Last Update:
    See Project
  • 7
    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: 9 This Week
    Last Update:
    See Project
  • 8
    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: 8 This Week
    Last Update:
    See Project
  • 9
    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: 8 This Week
    Last Update:
    See Project
  • Build Securely on AWS with Proven Frameworks Icon
    Build Securely on AWS with Proven Frameworks

    Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

    Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
    Download Now
  • 10
    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: 7 This Week
    Last Update:
    See Project
  • 11
    Bootstrap 5 UI KIT

    Bootstrap 5 UI KIT

    Bootstrap 5 & Material Design 2.0 UI KIT

    Trusted by 2 000 000+ developers & designers. Used by companies & institutions. Super simple, 1 minute installation. Detailed docs & practical examples. Lots of tutorials. Plain JavaScript (but works also with jQuery). Huge and active community. MIT license, free for personal & commercial use. Simplicity and ease of use are key features of MDB 5 UI Kit. You need only one minute to install and run it. A slideshow component for cycling through elements, images or slides of text, like a carousel. Use MDB custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more. Indicate the loading state of a component or page with MDB spinners, built entirely with HTML, CSS, and no JavaScript. A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options.
    Downloads: 6 This Week
    Last Update:
    See Project
  • 12
    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: 5 This Week
    Last Update:
    See Project
  • 13
    Ruff Python

    Ruff Python

    An extremely fast Python linter and code formatter, written in Rust

    Ruff is a fast Python linter focused on code quality, catching syntax errors and enforcing style guidelines.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 14
    Solidity plugin for IntelliJ

    Solidity plugin for IntelliJ

    Solidity plugin for IntelliJ

    Solidity plugin for IntelliJ. You can support the development by sponsoring the plugin on Github. Supporting the plugin with crypto through the Gitcoin grant. Please attach the screenshot for every issue if possible. It will make the issue much clearer and easier to understand.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 15
    StyLua

    StyLua

    An opinionated Lua code formatter

    An opinionated code formatter for Lua 5.1, 5.2, 5.3, 5.4 and Luau, built using full-moon. StyLua is inspired by the likes of prettier, it parses your Lua codebase, and prints it back out from scratch, enforcing a consistent code style. By default, these are built with all syntax variants enabled (Lua 5.2, 5.3, 5.4 and Luau), to cover all possible codebases. If you would like to format a specific Lua version only, see installing from crates.io. You can use the stylua-action GitHub Action in your CI to install and run StyLua. This action uses the prebuilt GitHub release binaries, instead of running cargo install, for faster CI times. This command will format the foo.lua and bar.lua file, and search down the src directory to format any files within it. StyLua can also read from stdin, by using - as the file name.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 16
    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
  • 17
    CSharpier

    CSharpier

    CSharpier is an opinionated code formatter for c#

    CSharpier is an opinionated code formatter for c#. It uses Roslyn to parse your code and re-prints it using its own rules. The printing process was ported from prettier but has evolved over time. CSharpier can also format on save in your editor or as a pre-commit hook. Then you can ensure code was formatted with a CI/CD tool.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 18
    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: 4 This Week
    Last Update:
    See Project
  • 19
    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: 4 This Week
    Last Update:
    See Project
  • 20
    SQL Formatter

    SQL Formatter

    A whitespace formatter for different query languages

    SQL Formatter is a JavaScript library for pretty-printing SQL queries. It started as a port of a PHP Library, but has since considerably diverged. It supports various SQL dialects: GCP BigQuery, IBM DB2, Apache Hive, MariaDB, MySQL, Couchbase N1QL, Oracle PL/SQL, PostgreSQL, Amazon Redshift, SingleStoreDB, Snowflake, Spark, SQL Server Transact-SQL, Trino/Presto. See language option docs for more details. The CLI tool will be installed under sql-formatter and may be invoked via npx sql-formatter. If you don't use a module bundler, clone the repository, run npm install and grab a file from /dist directory to use inside a script tag. This makes SQL Formatter available as a global variable window.sqlFormatter.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 21
    prettierd

    prettierd

    Prettier, as a daemon, for improved formatting speed.

    Prettier, as a daemon, for improved formatting speed. Many parsers ship with prettierd, including JavaScript, TypeScript, GraphQL, CSS, HTML and YAML. Please notice that starting with version 0.12.0, prettierd now supports invoking the local version of prettier, so instead of adding new languages to prettierd, you should rely on that feature to use it locally with your custom version of prettier and enabled plugins.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 22
    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
  • 23
    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
  • 24
    SwagGen

    SwagGen

    OpenAPI/Swagger 3.0 Parser and Swift code generator

    SwagGen is a library and command line tool for parsing and generating code for OpenAPI/Swagger 3.0 specs, completely written in Swift. It contains a Swagger library that can be used in Swift to load and parse Swagger specs. SwagGen is a command line tool that generates code from a OpenAPI/Swagger 3.0 spec. Templates for any language can be written that leverage this generator. SwagGen includes a bundled template for generating a client-side Swift library for interfacing with the Swagger spec. It includes support for model inheritance, shared enums, discrete and mutable request objects, inline schemas, Codable and Equatable models, configurable options, generic networking stack, and many other niceties.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 25
    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: 3 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • Next
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.