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/

Features

  • It's free and open source!
  • Cross-platform application works on Windows, Linux, Mac OS X, and others.
  • Supports 15 popular bracket styles.
  • Over 90 formatting options.
  • Detailed documentation for use and options.
  • Available in over 20 languages with easy additions.
  • Supports UTF8, UTF16, and most other character encodings.
  • Can process entire projects recursively.
  • Will not update unchanged files.
  • Checksum prevents dropped or duplicated data.
  • Seamless integration with many development environments and editors.
  • Can be included in C/C++ and Objective-C projects as a shared (DLL) or static library.
  • Can be included in Java projects as a Java Native Interface (JNI).
  • Can be included in C#, Python, Pascal, and other projects as a shared library (DLL).

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Artistic Style

Artistic Style Web Site

You Might Also Like
One Platform. Total IT Insight. Start with PRTG Now Icon
One Platform. Total IT Insight. Start with PRTG Now

Rely on a single source of truth. PRTG unifies monitoring for all your systems, apps, and services.

Why settle for fragmented monitoring? PRTG consolidates everything - servers, VMs, network devices, cloud services, and more, into one powerful platform. Get real-time status, customizable alerts, and deep analytics to drive smarter decisions. Designed for complex environments, PRTG scales with your needs, supports team collaboration, and helps you prevent outages before they impact users. Take control of your IT landscape and deliver the uptime your business requires.
Start Your Free PRTG Trial
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
43
3
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • cool , thanks
  • Excellent code formatter, best I have used. I use it just fine for very large JavaScript codes. Only one issue, I just had to add a tiny extension to recognise eee. (e is equals sign, SourceForge is complaining about my text). Without that it turned eee into ee e which you could easily fix up with a quick sed pass, but nicer to have it a native token. gedwards2 aattxyz gmail.kom ##### UPDATE 07apr23: astyle now has '--mode js' which understands the JavaScript exact comparisons and leaves them alone. Thanks Andre Simon.
  • like it
  • This is an essential tool for C/C++ coders if you are not using an automatically formatting editor or IDE.
  • Very good tool for styling the whole code folder. Easy to use. Exactly what I have searched for
Read more reviews >

Additional Project Details

Languages

Bulgarian, Chinese (Simplified), Chinese (Traditional), Dutch, English, Estonian, Finnish, French, German, Greek, Hindi, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian, Spanish, Swedish, Ukrainian

Intended Audience

Developers

User Interface

Command-line

Programming Language

C++

Related Categories

C++ Software Development Software, C++ Code Formatters

Registered

2000-02-07