An open API service indexing awesome lists of open source software.

awesome-code-formatters

A curated list of awesome code formatting tools and libraries
https://github.com/rishirdua/awesome-code-formatters

Last synced: 9 days ago
JSON representation

  • General Purpose

    • Prettier - An opinionated code formatter for JavaScript, Flow, TypeScript, Vue, JSON, CSS, Less, SCSS, GraphQL, and Markdown
    • Uncrustify - Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA.
    • Unibeautify - Universal code beautifier with a GitHub app. Supports HTML, CSS, JavaScript, TypeScript, JSX, Vue, C++, Go, Objective-C, Java, Python, PHP, GraphQL, Markdown, and more.
    • Uncrustify - Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA.
  • Language Specific

    • beautifier.io - Online JavaScript Beautifier
    • PerlTidy - Perl script which indents and reformats Perl scripts.
    • BCPP - indents C/C++ source programs, replacing tabs with spaces or the reverse.
    • GNU Indent - Unix utility that reformats C and C++ code in a user-defined indent style and coding style. GNU style is used by default.
    • GreatCode - C/C++ source code beautifier that is now fully open source.
    • Cobol Beautifier - Parses your program just like a real Cobol compiler and then it generates Cobol code from the resulting Cobol Program Tree.
    • CSSTidy - Opensource CSS parser and optimiser available as executeable file which can be controlled by command line and as PHP script.
    • HTB - Command-line utility to reformat HTML/XML/XSLT source code with an array of user specified options.
    • Jindent - Commercial source code formatter for the programming languages Java, C and C++
    • JSPPP - Indentor for JSP files in various styles.
    • NArrange - Code beautifier that automatically organizes code members and elements within .NET classes.
    • PHP_Beautifier - Beautifier for PHP
    • phpStylist - Formatter with customizable options.
    • Pl/Sql tidy - Program to tidy, beautify or format Pl/Sql code in a batch file or Dos prompt.
    • Poor Man's T-SQL Formatter - .Net 2.0 library with demo UI, command-line bulk formatter, SSMS/Visual Studio add-in, notepad++ plugin, winmerge plugin, and web service for reformatting and coloring T-SQL code to the user's preferences.
    • pindent - Adds comments when blocks are closed, or can properly indent code if comments are put in.
    • Ruby Script Beautifier - Beautifier written in Ruby.
    • ShellIndent - Indent formatting program for .sh scripts.
    • VBSBeautifier - Beautifier for ASP and clientside VBScript files.
    • XML Indent - XML stream reformatter written in ANSI C.
    • Tidy - Free-standing C library
    • HTB - Command-line utility to reformat HTML/XML/XSLT source code with an array of user specified options.
    • yapf - A formatter for Python files.
    • Google Java Format - google-java-format is a program that reformats Java source code to comply with Google Java Style.
    • BCPP - indents C/C++ source programs, replacing tabs with spaces or the reverse.
    • Cobol Beautifier - Parses your program just like a real Cobol compiler and then it generates Cobol code from the resulting Cobol Program Tree.
    • hindent - Extensible Haskell pretty printer available both as a library and an executable.
    • HTB - Command-line utility to reformat HTML/XML/XSLT source code with an array of user specified options.
    • JALOPY - Source code formatting tool for the Sun Java Programming Language.
    • NArrange - Code beautifier that automatically organizes code members and elements within .NET classes.
    • Pl/Sql tidy - Program to tidy, beautify or format Pl/Sql code in a batch file or Dos prompt.
    • Poor Man's T-SQL Formatter - .Net 2.0 library with demo UI, command-line bulk formatter, SSMS/Visual Studio add-in, notepad++ plugin, winmerge plugin, and web service for reformatting and coloring T-SQL code to the user's preferences.
    • ShellIndent - Indent formatting program for .sh scripts.
    • JALOPY - Source code formatting tool for the Sun Java Programming Language.
    • PHP_Beautifier - Beautifier for PHP
    • Tidy - Free-standing C library
    • phpCB - Tool available as a GUI, command line and an integrated tool of PHPEdit.