This tool performs some basic formatting checks on Dreamweaver documents pasted from Word. Before using the tool, make sure that:

  1. you have accepted all tracked changes and removed all comments in the Word document.
  2. the pasted HTML document has proper indentation (in Dreamweaver, Edit -> Code -> Apply Source Formatting).
  3. the pasted HTML document uses double quotes (e.g. "x") instead of single quotes (e.g. 'x') for tag attributes.
  4. if required, superscripts/subscripts have been converted to fake tags (see the readme for details).
  5. if required, math equations have been converted to MathML.


File to format:





Format Dreamweaver footnotes (use the footnote formatter if the footnotes don't use Dreamweaver's formatting):


Remove Dreamweaver-generated links:






Clean up spacing for coding style:







Replace Word-formatted characters/html entities:






Join consecutive tags of the same type:





Replace/remove/format <br> tags:





Remove formatting around punctuation:



Replace em/strong with other tags for italics/bold:







Add/fix/remove tag attributes:






Translate structure for French documents:




Convert manually inserted fake tags to actual tags (see this readme section for details):







A few of these checks assume Dreamweaver formatting when searching for values, and may not be useful if the document has already been partially converted to WET formatting.

This tool removes indentation, so be sure to apply source formatting with Dreamweaver afterwards to fix it.

Check the console (ctrl+shift+i) for any errors if nothing is loading.

More in-depth information, including examples for individual checks, can be found in the readme.