Online PHP Code Obfuscator

Firstly: Like all other code obfuscators out there (that don't require you to install server-side extensions), this method of obfuscation is not 100% foolproof. Any code that can be eval'd can be read. But although possible, being able to read the original code would be hard and take a lot of effort. Unlike other PHP code obfuscators, this can not be decoded/decrypted by the obfuscation decrypters you can find online.

Protip: The "Encode variable names" and "Encode user-defined function names" obfuscation options might not be compatible with your code, so if your obfuscated code doesn't work then try disabling these options.

And finally... I provide this as a free service and would like feedback on this, so if you have any suggestions, bugs or just want to say thanks, let me know in the comments form.

php code

obfuscation options

Strip whitespace and comments
Encode variable names
Encode user-defined function names
Scramble slice
preg_match Stub
Encryption -- Encryption depth:
Encryption Depth: The amount of times the obfuscator will encrypt and pack the code. More depth means bigger filesize and more work for the CPU to run the encrypted code. The benefit of this though is that it would take someone much more effort to decrypt it and read the original code.
I am only allowing a maximum encryption depth of 3. If you want even better security with up to 50x encryption depth then please contact me.
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.