About Word Cleaner

Word Cleaner (now Doc Converter) is a shareware program that batch converts Microsoft Word files to HTML and during conversion, it cleans up the code. In previous versions, we relied on linking into Word to do the conversion, and then we used to execute a special clean up routines on the code. Then we started looking to use Aspose.Words for Java in a subsequent version of Word Cleaner, specifically to use the conversion from Word files to HTML format.


It is very common for users to write content for web pages in Microsoft Word, but the problems occur when users try to convert these files to HTML. We encountered follow two major issues:

  • Word has a “save as HTML” function, but the HTML produced contains a massive amount of unnecessary Word-specific code. This makes the code very messy, and dramatically increases the size of the HTML files.
  • Users try to copy and paste from Word into a CMS. The problem here is that very often the Word-specific HTML is also pasted. It causes unnecessary complex code and increased storage space in the CMS.

Another problem with Word Automation that we faced was that the users need to have Word installed on their machines. Even if they had MS Word, there were sometimes issues regarding its linking.

As an example, if you open up a new Word file and enter sample text like “This is a test”, then go to File and Save as HTML you will find that the HTML file contains 436 lines of code, and the file size is 21kb. However when the same file is converted using Aspose.Words for Java, the HTML file has only 14 lines of code and the file size is less than 1k. This is over a 95% reduction in size!

You may clearly notice that Aspose.Words for Java dramatically reduces the size of converted HTML and also the HTML is better formatted and structured.


We evaluated Aspose.Words for Java for several reasons:

  • It is a standalone product that does not require the user to have Microsoft Word installed.
  • It produces very clean HTML when converted from Word files. It also supports advanced features like tables of contents, footnotes, etc.
  • It works really well on servers
  • It can work on Mac OSX, and we are looking into using it with the Mono framework. A Mac version is one of our top user requests so we planned to use Aspose.Words for Java, so that we can create a Mac version.
Word Cleaner main screen preview

Image 1:- The word cleaner main screen

Word to HTML conversion preview

Image 2:- Built-in editors let you view the converted HTML.


We liked the fact that you could download a fully functional free trial of Aspose.Words for Java and it enabled us to create a demo app to test its capabilities.

We also liked the support forum and found a massive amount of information there. We posted a few requests in the forum and found that we got very prompt and helpful replies from the support staff.


Switching to Aspose.Words for Java took about a week to change over the code, and so far we have been very happy with the results and have had no real issues reported.


To date, we have been extremely satisfied with the results. We are due to go live with the new version of our software next month and anticipate that while using Aspose.Words for Java, our customers will clearly see the benefits of the new version.

Next Steps

We are interested in looking at other Aspose products like Aspose.Cells. We are very impressed with the flexibility of the Aspose range, particularly the ability to run them on server environments and the ability to run them with the mono framework.


Generally, we are very happy working with Aspose.Words for Java and were impressed by the way the product is continually updated with regular new releases. We found the documentation clear, the support very helpful and we have no hesitation at all in recommending Aspose.Words for Java to other developers.