PHP Formatter

This PHP formatter allows you to make your code readable so you can edit it in a more simple fashion.

Autodetect HTML XML CSS JavaScript PHP JSON
Paste your code or drag a file here
xxxxxxxxxx
 
1
                                                
                                                    ​
                                                
                                            
Tab size
Download
Load URL
Browse
Copy
Clear
The formatter works locally in your browser, no data is uploaded to the server.
Wrong URL or the server does not allow cross-origin requests.