PHP Minifier

PHP Minifier Form

This form allows you make minify PHP code:


Move to «Paste Code» for Save it

About PHP Minifier tool

What is PHP?

PHP(Hypertext Preprocessor) is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. PHP is probably the most popular scripting language on the web, PHP is a server side script that is interpreted on the server.

About PHP Minifier tool

The Minifier PHP online was created to help compress PHP code. This tool removing all whitespace, indentation, newlines and comments for decrease size and make it difficult to read.

How it Works?

Just paste your PHP code to the textarea above and click to the button "Minify" and you will get compressed PHP code in the same textarea.

Example of PHP Minify

Before:
<?php
echo "Free Web Tools Online: ";
$i = 0;
while ($i == 0) {
    echo "wtools.io";
    $i++;
}
After:
<?php
echo"Free Web Tools Online: ";$i=0;while($i==0){echo"wtools.io";$i++;}
Donate

Did you like this tool? You can donate to us. This will help us improve our free web tools.

Paypal