Instantly and automatically clean up your code with HTML Formatter
Description: HTML Formatter can instantly format unstructured, messy code into an indented, cleaned-up logical structure. It can process a wide range of code types including HTML, ASP, PHP, Smarty templates, XML, and Coldfusion.
If you write code you already know how important it is to have a clean, organized layout. This can not only make your code more intuitively readable (by you or someone else), but can also have an esthetic, pleasing angle as well. The problem, of course, is that formatting and cleaning up code can consume a lot of time; wouldn’t be simply perfect if there was a tool that could simply read your code, figure out its logical structure, and format and clean it up for you? HTML Formatter is precisely such a tool.
![]()
I’d previously written about GUI Tidy, a frontend for the very well known HTML Tidy. A quick comparison between the results obtained after running a snippet of messy code through that tool and through HTML Formatter showed the latter clearly superior. While GUI Tidy’s output had broken links and the occasional unformatted clutter strewn about, “HTML Formatter” re-structured the code almost perfectly. And although I only occasionally write code you do not have to be a programmer to see, at a glance, the improvement that this program can lend to messy code.
Here are more notes on this program:
- How it works: you can drag and drop a single file, multiple files, or entire folders on the program icon for processing. HTML formatter will then save re-structured versions of your files with “_Indented” added to the file name. This program has no GUI (or user interface of any kind, for that matter).
- Customizable: you can edit a config file in the HTML Formatter folder in order to manipulate some of the program settings (e.g. what part of the code and which tags gets processed).
- Structure: indents code, supports nested divs/nested tables, adds missing tags, formats your code and gives it a logical structure.
- Support: supports any file where HTML/XML type tags need formatting such as HTML, ASP, PHP, Smarty templates, XML. Also supports Coldfusion.
Tags: will let you know about tags closed out of order and their position. If the number of closing and opening tags don’t match it will still guess where to indent so the formatting looks good.- Portable: Nothing to install; just unzip and run whenever needed.
- Free: recently became freeware, although you will need a serial number (found on the site).
The verdict: at what it does, HTML Formatter is one of the best out there, if not the best. A very useful tool which can save you a lot of time and which delivers great results. Spread the word!
[Update Apr 10th, 2008: this program has now become shareware; however, you can still download and use the last available freeware version at the bottom of this review]
Version Tested: 2.11
Compatibility: WinAll..
Go to the HTML Formatter page. To download the last freeware version (2.11) go here (approx 616K).
Related Posts |
|
|
|
|
|
|
|
E-MAIL this |
|
Subscribe |

E-MAIL this
Loading ...
Very Nice, but oddly, it seems to add ‘Line Breaks’ into =”‘< a href='...' rel="nofollow" >“, between the ‘a’ and ‘href’!?
Still, a whole lot ‘Cleaner’, and if I wanted to, correcting the Line Breaks can be fixed with ‘Search-and-Replace’ - still, a lot easier than cleaning HTML by Hand (been there, done that - Ugh), plus catches errors!
One suggestion: after installing, I added “HTML_Formatter.exe” to my ‘Send To’ Menu - Works PERFECTLY!
=)
YMMV
Oops! the ‘Comment Auto-Poster’ ate my example; Enough to say that it seems to add a ‘CR’ between the ‘A’ and ‘HREF’ when cleaning up Hyperlinked Item References.
(less-than A HREF equal-sign [whatever] greater-than)
Perhaps an easy bug to fix?
Wow- exactly what I needed thank you.
Hell yes! This markup formatter cleaned up my code in seconds and I used someone’s “send-to” idea and that makes things work awesome!
Thanks for this post!
Thanks for this, I am starting to learn HTML and it will definately come in handy.
Regards.
Five people before me have managed to find the download clicker. Maybe I need more than 120% magnification,because I’m definitely missing it. Would someone please enable me to be the 6th person to get this file?
I do not link to programs that are still in development directly on Freewaregenius, but the link to the developer’s website is always the last line in the review under the “Compatibility” section (where it says go to the HTML Formatter page to download the latest version).
[...] Instantly and automatically clean up your code with HTML Formatter Review & Download Link | fre… HTML Formatter can instantly format unstructured, messy code into an indented, cleaned-up logical structure. It can process a wide range of code types including HTML, ASP, PHP, Smarty templates, XML, and Coldfusion. [...]
does it preserve asp.net taggery?
what no vhdl or c support, i guess i won’t be using it.
Noticed the excelent review and believed it.
For me it wasn’t true - the only offer is to by this program for 4.99. Am I missing something or the meaning of freeware had changed?
@Kurmucis:
This program recently became shareware. However, I am updating the review above with a link to the last freeware version that I used at the bottom of the review.
Unfortunatley, there is little that freeware reviewers such as myself can do when programs cease to be free, other than offer the last freeware version.
The “free” version is now gone. Oh, well.
They did use your accolades, though…
Samer,
the downloadlink for the last freeware-version is broken