Remove Comments from MQL4 / MQL5

Strip comments from 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

Remove MQL4 / MQL5 Comments

MQL4 and MQL5 use C-style comments: // for lines and /* ... */ for blocks. This tool strips them all while preserving strings — important because EAs and indicators often contain URLs, symbol names, and messages with special characters.

Why remove MQL comments?

  • Protect your source — hide trade logic comments from clients.
  • Smaller .mq4/.mq5 files — cleaner to share or sell.
  • Cleaner code — no leftover strategy notes.