Skip to main content

A curated list of awesome code formatting tools and libraries

292
GitHub Stars
34
Curated Resources
2
Categories
3 hours ago
Last Refreshed
General PurposeLanguage Specific

Use this list with your AI agent

Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:

"Show me general purpose resources from awesome-code-formatters"

Installation instructions →

What's inside

General Purpose

  • Artistic Styler

    Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.

  • Atom-Beautify

    Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom editor.

  • clang-format

    Automatic formatting for C, C++, Java, JavaScript, ObjectiveC and Protobuf.

  • 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.

Language Specific

  • BCPP

    indents C/C++ source programs, replacing tabs with spaces or the reverse.

  • beautifier.io

    Online JavaScript Beautifier

  • black

    The uncompromising Python code formatter

  • 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.

  • Fortran 90 PPR

    Fortran 90 preprocessor and formatter written in Fortran 90.

Showing a sample of 34 resources. View the full list on GitHub →