Why Use It

Formatting Show




FAQs & Tips

Update History

Award Gallery


License Policy



Delphi Source Code Formatter

The Delphi Code Formatter / Pascal Formatter tool reorganizes pascal source code files to neatly format and indent code blocks according to the (Object) Pascal programming language syntax and your preferred style options, such as including indentation, comment and directive style, line wrapping, etc. An example of Delphi Formatter's results can be seen from Delphi Source Code Formatting Show.

The Delphi Formatter, Pascal Formatter of SourceFormatX Source Code Formatter is based on a powerful Object Pascal compatible parser engine so you can exactly control the formatting details of code blocks, comments and directives whatever you want. SourceFormatX Delphi Formatter is ideal for making messy and obtuse code clear. It allows all of your source code to be presented in a consistent format of your choosing, it provides numerous source code format style and operations options as well as batch or individual file processing.

Try Delphi Formatter free trial now! It will format any Delphi and Pascal source code to your preferred style in a matter of seconds!

Delphi Source Code Formatter Features

  • Indent the Functions, Procedures, Comments, Directives and Other Elements with User-Defined Options.
  • Specification of Indentation Step Distance.
  • Begin..End Style Transformation.
  • Uniform the Capitalization of Keywords and Elements.
  • Intelligent Line Breaks and Wrapping.
  • Intelligent Line Combination.
  • Alignment and Sorting of Source Code Elements.
  • Intelligent Preprocessing Directive Style Transformation.
  • Fully support for Preprocessing Directives.
  • Intelligent Single Line Comments, Multi-Line Comments Indentation and Elimination.
  • Adding Header and Footer Templates.
  • Fully Support for DelphiDoc Documentation.
  • Uniform White Space Conventions.
  • Tab2Space and Space2Tab Conversion.
  • Batch Formatting Processing.
  • Integrations for IDEs: Delphi, C++Builder...
  • Integrations for Text Editors: UltraEdit, Textpad, Editplus...
  • Powerful GUI and Command Line Interface.
  • Conversion between Unicode, ASCII, Unix, Mac Character Encodings.
  • Intelligent Inserting Junk Code to Discourage Reverse Engineering and Pirate.
  • Obfuscate and Scramble Delphi/Pascal Source Code to make code difficult to Read and Comprehend.

Some conventional Delphi Formatter tools use special string processing methods to implement the formatting process. This can work pretty well for many sample files. But it often fails, even mess the original files when multi-level case statements and preprocessing directives are encountered, as they always are in large systems of software development.

The most reliable way to build a look-and-feel Delphi formatter which fully supports the most recent Pascal standard. The SourceFormatX Delphi Formatter works this way, because it is built around the powerful Object Pascal syntax Parser Engines of Draupnir Soft, to parse and restructure source files. That's why SourceFormatX Delphi Formatter both format and obfuscate pascal source code files.

SourceFormatX Delphi Formatter offers over 100 individual formatting options to control the appearance of your Delphi source code and Pascal source code. Collectively, these options allow precise control that will satisfy even the pickiest programmer.

  Don't waste time over formatting Delphi code by hand any more!  Download SourceFormatX Delphi Formatter to format Delphi and Pascal source code exactly the way you want it today!