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

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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