What are you looking to beautify? If it's C++ code, then most IDEs (e.g. eclipse, Visual Studio) have a "Format" feature that formats the code according to conventions that you can (usually) customize.