The Prettifier

Code Formatting and Syntax Highlighting

Before Formatting
Arrow
After Formatting

The Prettifier provides code formatting and syntax highlighting for common programming languages and file formats including JSON, CSS, HTML, XML, SQL, PHP, Perl, Apache Config, and JavaScript, where editing often takes place outside of an IDE.

Many stand-alone text editors do not offer automatic text formatting or highlighting. This can lead to inconsistencies in coding style and difficulty debugging. This is especially true when you are not the author of the source code being reviewed.