Encrypt PHP code | PHP Encryption


This tool will encrypt your PHP script using Base 64 encoding. A maximum limit of 10,000 character in your entire PHP code is allowed.
Copy and paste your script in the text area below (It is suggested to start with "<?php" and end your script with "?>", to avoid any encoding errors)

Take note that not all PHP scripts can be successfully encoded using this tool. It is recommended that you will test the script first in the development server before deploying it on the production server. This will avoid any possibility of having some encoding bugs undetected after encoding.

Note: The results will be shown at the bottom of this page after form submission (in blue font).



Type the captcha below (sorry but this application takes a lot of CPU resource usage so we need to make sure the user is a human and not a bot, thanks for understanding):





Click here to reset or clear this form

Related documentation about the development of this PHP encryption tool: http://www.devshed.com/c/a/PHP/PHP-Encryption-and-Decryption-Methods/

Download source code









Link To This Tool
1. Click inside the codebox
2. Right-Click then Copy
3. Paste the HTML code into your webpage
codebox