Simple online PHP obfuscator

 
 
This free online service encodes PHP code into random letters, numbers and/or characters (also known as obfuscation).
Developers encodes their PHP files to keep their code or intellectual property hidden to make it difficult to steel or difficult to modify the source.

This tool uses one or more nested functions combinations to obfuscate the PHP code:
  • base64_encode(gzdeflate('Code'))
  • base64_encode(str_rot13(gzdeflate('Code')))
  • str_rot13(base64_encode(gzdeflate('Code')))
  • str_rot13(base64_encode(base64_encode(gzdeflate('Code'))))
  • base64_encode(gzcompress('Code'))
  • base64_encode(str_rot13(gzcompress('Code')))
  • str_rot13(base64_encode(gzcompress('Code')))
  • base64_encode('Code')
  • base64_encode(gzdeflate(str_rot13('Code')))
  • str_rot13(strrev(base64_encode(gzdeflate('Code'))))
  • strrev(base64_encode(gzdeflate('Code')))
  • str_rot13(base64_encode(gzdeflate('Code')))
  • strrev(str_rot13(base64_encode(gzdeflate('Code'))))
  • base64_encode(gzcompress(base64_encode('Code')))
  • rawurlencode(base64_encode(gzdeflate('Code')))
  • base64_encode(str_rot13(gzdeflate(str_rot13('Code'))))
The Code represents the PHP code you wish to obfuscate.

For example:

The PHP code:

function showMessage() {
   echo "Welcome to Mobilefish.com";
}
showMessage();


The obfuscated PHP code looks like:

<?php
eval(gzinflate(base64_decode('SyvNSy7JzM9TKM7IL/dNLS5OTE/V0FSo5l
JQUEhNzshXUApPzUnOz01VKMlX8M1PysxJTcssztADCilZc9VyoWizBgA=')));
?>


Note: To decode the obfuscated PHP code use the Online eval gzinflate base64_decode decoder.

YOU USE THIS SERVICE AT YOUR OWN RISK. MOBILEFISH.COM WILL NOT BE LIABLE FOR ANY DATA LOSS, DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SERVICE.

Input code:


Enter PHP code *: Help
    Characters entered:   
Max 100000 characters.

Select nested functions combination to encode the PHP code *:
Help Select / deselect all

base64_encode(gzdeflate('Code'))
base64_encode(str_rot13(gzdeflate('Code')))
str_rot13(base64_encode(gzdeflate('Code')))
str_rot13(base64_encode(base64_encode(gzdeflate('Code'))))
base64_encode(gzcompress('Code'))
base64_encode(str_rot13(gzcompress('Code')))
str_rot13(base64_encode(gzcompress('Code')))
base64_encode('Code')
base64_encode(gzdeflate(str_rot13('Code')))
str_rot13(strrev(base64_encode(gzdeflate('Code'))))
strrev(base64_encode(gzdeflate('Code')))
str_rot13(base64_encode(gzdeflate('Code')))
strrev(str_rot13(base64_encode(gzdeflate('Code'))))
base64_encode(gzcompress(base64_encode('Code')))
rawurlencode(base64_encode(gzdeflate('Code')))
base64_encode(str_rot13(gzdeflate(str_rot13('Code'))))

Number of times to loop thru the nested functions combinations *: Help (Max. 200)
Apply each selected nested functions combination:
Help
To prevent automated submissions an Access Code has been implemented for this tool.   access code
Please enter the Access Code as displayed above*:  
 
* = required         
 


Output obfuscated code: