BatchObfuscator is an old experimental project created years ago to explore how Windows batch scripts can be transformed, parsed, and rewritten.
The project is no longer maintained, no longer updated, and does not reflect modern scripting or security practices. It remains online for historical and educational purposes only, and is not intended for operational use, security evasion, or any real‑world deployment.
BatchObfuscator was originally designed to help developers understand how obfuscation techniques affect Windows batch scripts. It provides several transformation methods that can be applied individually or combined to experiment with code rewriting and parser behavior.
- Paste your batch code into the input box.
- Select the part of the code (or all the code).
- Right-click to access the obfuscation features.
- You can obfuscate all or parts of the code, using different obfuscation methods if desired.
- Randomize variables and subroutines names
- Custom substrings encoding
- Obfuscate Flow
- Encapsulate In Temp File
- Remove comments
For readers interested in the academic and defensive research surrounding script obfuscation, the following presentation provides useful background on how batch and PowerShell scripts can be transformed and analyzed: Daniel Bohannon — Invoke-DOSfuscation: Techniques for Exploring Obfuscation of Batch and PowerShell Scripts