PHP Beautifier
Beautify and indent PHP code.
100% Private — Nothing is Uploaded
All processing happens locally in your browser. Your files never leave your device and are never sent to any server.
Other languages
About the PHP Beautifier
This tool reformats PHP code with proper indentation and line breaks. It preserves strings, variables, comments and the PHP opening/closing tags.
What it does
- Preserves
<?phpand?>tags. - Indents functions, classes, conditionals and loops.
- Preserves strings, variables and comments.