Code Formatters for Linux

View 1327 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.

  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Start Free
  • $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
  • 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,398 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: 112 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: 64 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: 12 This Week
    Last Update:
    See Project
  • Train ML Models With SQL You Already Know Icon
    Train ML Models With SQL You Already Know

    BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

    Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
    Start Free
  • 5
    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: 11 This Week
    Last Update:
    See Project
  • 6
    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: 6 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: 6 This Week
    Last Update:
    See Project
  • 8
    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: 4 This Week
    Last Update:
    See Project
  • 9
    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: 4 This Week
    Last Update:
    See Project
  • Demo Series - Small Business Backup By Veeam Icon
    Demo Series - Small Business Backup By Veeam

    Learn how to protect your Microsoft 365 data, with simple, actionable tips today.

    Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
    Watch Demo Series
  • 10
    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: 4 This Week
    Last Update:
    See Project
  • 11
    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
  • 12
    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
  • 13
    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: 2 This Week
    Last Update:
    See Project
  • 14
    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: 2 This Week
    Last Update:
    See Project
  • 15
    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: 15 This Week
    Last Update:
    See Project
  • 16
    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: 9 This Week
    Last Update:
    See Project
  • 17
    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: 1 This Week
    Last Update:
    See Project
  • 18
    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: 1 This Week
    Last Update:
    See Project
  • 19
    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: 1 This Week
    Last Update:
    See Project
  • 20
    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
  • 21
    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: 1 This Week
    Last Update:
    See Project
  • 22
    Input mask for iOS

    Input mask for iOS

    User input masking library repo

    Input masks restrict data input and allow you to guide users to enter correct values. Interface Builder struggles to support modules imported in a form of a dynamic framework. For instance, custom views annotated as IBDesignable, containing IBInspectable and IBOutlet fields aren't recognized properly from the drag'n'dropped framework. When you cut text, characters get deleted yet you won't be able to paste them somewhere as they aren't actually in your pasteboard. Shortly after new text is being pasted from the clipboard, every UITextInput receives a new value for its selectedTextRange property from the system. This new range is not consistent with the formatted text and calculated caret position most of the time, yet it's being assigned just after set caretPosition call.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 23
    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
  • 24
    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
  • 25
    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: 1 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • Next