Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


Beautifier provides several options to clean up WP's messy (X)HTML source code output, such as code indentation.

Excuse me, what exactly is this plugin doing?

This plugin provides a bunch of options to change what WordPress is sending to the browser. The text sent to the browser is called HTML/XHTML and you can usually see it by doing a right-click on the page and select something like "View Page Source" or "Show Sourcecode". This plugin provides the ability to indent all lines correctly for easier reading, the removal of unnecessary whitespace characters, the ability to remove anything you want from the output using regular expressions and a few other options.

This plugin leaves my (X)HTML untouched!

The reason for that is most likely a invalid or missing Doctype declarations (DTD). This plugin only takes action, if a valid (X)HTML DTD is found in the first 200 characters of the page. If you don't know what a Doctype declarations is, read this article about Doctypes or see this list of valid doctypes for (X)HTML documents.

My HTML source code isn't indented correct!

Most likly the reason for that is the actual source code output of your WordPress theme is using HTML syntax. This plugin only supports valid XHTML syntax, which can also be used in HTML5 documents.

When I activate the plugin, my theme breaks!

To narrow down the cause, start disabling every single option (under Settings->Beautification) one by one and see if the problem persists. If it persists, deactivate the plugin and copy-paste the working generated (X)HTML source code into a txt-file; afterwards activate the plugin again and copy-paste the broken (X)HTML output into another txt-file. Send these two files to the author with a short description of your problem.

I see a white/blank page where my website used to be!

Try the Reset Options button in the Settings menu under Beautification. If that doesn't help, deactivate the plugin and contact the author. To resolve your problem faster, attach your server's PHP error-log-file to the email.

Requires: 3.0 or higher
Compatible up to: 3.1.0
Last Updated: 6 years ago
Active Installs: 1,000+


4 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 67,3,2 100,1,1 100,1,1 100,1,1 100,2,2