MQL4 / MQL5 Beautifier

Beautify and indent MQL4 / MQL5 code.

100% Private — Nothing is Uploaded

All processing happens locally in your browser. Your files never leave your device and are never sent to any server.

MQL4 / MQL5 Change language

Other languages

About the MQL4 / MQL5 Beautifier

This tool reformats MQL4 and MQL5 code with proper indentation. Strings, comments and preprocessor directives are preserved.

What it does

  • Indents functions, conditionals and loops.
  • Preserves strings and comments.
  • Keeps #property and #import directives on their own lines.