{"id":13459995,"url":"https://github.com/rishirdua/awesome-code-formatters","last_synced_at":"2026-01-24T10:28:46.958Z","repository":{"id":21999604,"uuid":"25324692","full_name":"rishirdua/awesome-code-formatters","owner":"rishirdua","description":"A curated list of awesome code formatting tools and libraries","archived":false,"fork":false,"pushed_at":"2022-11-24T11:11:19.000Z","size":28,"stargazers_count":253,"open_issues_count":5,"forks_count":24,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-05-19T21:00:44.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishirdua.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-16T22:20:00.000Z","updated_at":"2024-04-22T19:40:24.000Z","dependencies_parsed_at":"2023-01-11T21:26:36.224Z","dependency_job_id":null,"html_url":"https://github.com/rishirdua/awesome-code-formatters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishirdua%2Fawesome-code-formatters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishirdua%2Fawesome-code-formatters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishirdua%2Fawesome-code-formatters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishirdua%2Fawesome-code-formatters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishirdua","download_url":"https://codeload.github.com/rishirdua/awesome-code-formatters/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245258167,"owners_count":20585977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T10:00:33.584Z","updated_at":"2026-01-24T10:28:46.887Z","avatar_url":"https://github.com/rishirdua.png","language":null,"readme":"A curated list of code formatters. Inspired by awesome-machine-learning.\nOther awesome lists can be found in the [awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) list.\n\nIf you want to contribute to this list (please do), send me a pull request or contact me [@rishirdua](https://www.twitter.com/rishirdua)\n\n\n## Table of Contents\n\n\u003c!-- MarkdownTOC depth=4 --\u003e\n- [General Purpose](#general-purpose)\n- [Language Specific](#language-specific)\n  - [C/C++](#cc)\n  - [Cobol](#cobol)\n  - [CSS](#css)\n  - [Fortran](#fortran)\n  - [Haskell](#haskell)\n  - [HTML](#html)\n  - [Java](#java)\n  - [JavaScript](#javascript)\n  - [JSP](#jsp)\n  - [.NET](#net)\n  - [Perl](#perl)\n  - [PHP](#php)\n  - [PL/SQL](#plsql)\n  - [Python](#python)\n  - [Ruby](#ruby)\n  - [Shell](#shell)\n  - [VBS](#vbs)\n  - [XML](#xml)\n\n\u003c!-- /MarkdownTOC --\u003e\n\n## General Purpose\n\n* [Artistic Styler](http://astyle.sourceforge.net/) - Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.\n* [Atom-Beautify](https://atom.io/packages/atom-beautify) - Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom editor.\n* [Prettier](https://prettier.io/) - An opinionated code formatter for JavaScript, Flow, TypeScript, Vue, JSON, CSS, Less, SCSS, GraphQL, and Markdown\n* [Uncrustify](http://uncrustify.sourceforge.net/) - Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA.\n* [Unibeautify](https://unibeautify.com/) - 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.\n* [clang-format](http://clang.llvm.org/docs/ClangFormat.html) - Automatic formatting for C, C++, Java, JavaScript, ObjectiveC and Protobuf.\n\n## Language Specific\n\n#### C/C++\n\n* [BCPP](http://invisible-island.net/bcpp/) - indents C/C++ source programs, replacing tabs with spaces or the reverse.\n* [GNU Indent](http://www.gnu.org/software/indent/) -  Unix utility that reformats C and C++ code in a user-defined indent style and coding style. GNU style is used by default.\n* [GreatCode](http://sourceforge.net/projects/gcgreatcode/) - C/C++ source code beautifier that is now fully open source.\n\n#### Cobol\n\n* [Cobol Beautifier](http://www.siber.com/sct/tools/cbl-beau.html) - Parses your program just like a real Cobol compiler and then it generates Cobol code from the resulting Cobol Program Tree.\n\n#### CSS\n\n* [CSSTidy](http://csstidy.sourceforge.net/) - Opensource CSS parser and optimiser available as executeable file which can be controlled by command line and as PHP script.\n\n#### Fortran\n\n* [Fortran 90 PPR](ftp://ftp.ifremer.fr/ifremer/fortran90/) - Fortran 90 preprocessor and formatter written in Fortran 90.\n\n#### Haskell\n\n* [hindent](https://github.com/chrisdone/hindent) - Extensible Haskell pretty printer available both as a library and an executable.\n\n#### HTML\n\n* [HTB](http://www.digital-mines.com/htb/) - Command-line utility to reformat HTML/XML/XSLT source code with an array of user specified options.\n* [Tidy](http://tidy.sourceforge.net/) - Free-standing C library\n\n#### Java\n\n* [Google Java Format](https://github.com/google/google-java-format) - google-java-format is a program that reformats Java source code to comply with Google Java Style.\n* [JALOPY](http://notzippy.github.io/JALOPY2-MAIN/) - Source code formatting tool for the Sun Java Programming Language.\n* [Jindent](http://www.jindent.com/) - Commercial source code formatter for the programming languages Java, C and C++\n\n#### JavaScript\n\n* [beautifier.io](https://beautifier.io/) -  Online JavaScript Beautifier\n\n#### JSP\n\n* [JSPPP](http://jsppp.sourceforge.net/) - Indentor for JSP files in various styles.\n\n#### .NET\n\n* [NArrange](http://www.narrange.net/) - Code beautifier that automatically organizes code members and elements within .NET classes.\n\n#### Perl\n\n* [PerlTidy](http://perltidy.sourceforge.net/) -  Perl script which indents and reformats Perl scripts.\n\n#### PHP\n\n* [PHP_Beautifier](http://pear.php.net/package/PHP_Beautifier) - Beautifier for PHP\n* [phpCB](http://www.waterproof.fr/products/phpCodeBeautifier/) - Tool available as a GUI, command line and an integrated tool of PHPEdit.\n* [phpStylist](http://sourceforge.net/projects/phpstylist/) - Formatter with customizable options.\n\n#### PL/SQL\n\n* [Pl/Sql tidy](http://psti.equinoxbase.com/) - Program to tidy, beautify or format Pl/Sql code in a batch file or Dos prompt.\n* [Poor Man's T-SQL Formatter](http://architectshack.com/PoorMansTSqlFormatter.ashx) - .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.\n\n#### Python\n\n* [black](https://github.com/ambv/black) - The uncompromising Python code formatter \n* [pindent](http://svn.python.org/projects/python/trunk/Tools/scripts/pindent.py) - Adds comments when blocks are closed, or can properly indent code if comments are put in.\n* [yapf](https://github.com/google/yapf) - A formatter for Python files.\n\n#### Ruby\n\n* [Ruby Script Beautifier](http://www.arachnoid.com/ruby/rubyBeautifier.html) - Beautifier written in Ruby.\n\n#### Shell\n\n* [ShellIndent](http://www.bolthole.com/AWK.html) - Indent formatting program for .sh scripts.\n\n#### VBS\n\n* [VBSBeautifier](http://www.daansystems.com/vbsbeaut/) - Beautifier for ASP and clientside VBScript files.\n\n#### XML\n\n* [XML Indent](http://xmlindent.sourceforge.net/) - XML stream reformatter written in ANSI C.\n","funding_links":[],"categories":["Uncategorized","Technical","Others","Meta","To Sort","Other Lists","Software Development"],"sub_categories":["Uncategorized","awesome-*","Debian","TeX Lists","Linters and Code Formatters"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishirdua%2Fawesome-code-formatters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishirdua%2Fawesome-code-formatters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishirdua%2Fawesome-code-formatters/lists"}