PHP Code Obfuscator
Protect your PHP source code with encoding, encryption, and obfuscation techniques.
Input — PHP Source
Output — Obfuscated
🔐
Base64
Encodes PHP code in Base64 and wraps it with eval(). Fast and simple, readable to experienced PHP developers.
Strength: █░░░
📦
Gzip + Base64
Compresses with gzip then encodes in Base64. Produces smaller output than plain Base64.
Strength: ██░░
🔒
XOR Cipher
Applies XOR encryption with a random key embedded in the output. Harder to reverse than plain encoding.
Strength: ███░
🛡️
Multi-layer
Combines gzip compression with XOR encryption. The strongest protection available in this tool.
Strength: ████
⚠ Disclaimer:
Obfuscation is not encryption. A determined developer can reverse most obfuscation techniques.
This tool is intended to deter casual copying, not to provide cryptographic security.
Always keep your original source code backed up. The obfuscated code requires
eval(), which some server configurations may restrict.