Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 839 Bytes

readme.md

File metadata and controls

23 lines (17 loc) · 839 Bytes

Convert Word Documents to HTML

Cleans up the otherwise-ugly output generated by Microsoft Word when you use the File -> Save As HTML option.

  • Removes uneccessary tags and attributes, such as inline CSS and extraneous IDs
  • Cleans up encoding problems and HTML entities
  • Balances tags to ensure valid HTML
  • Typesets everything via the Texturize engine
  • Converts Word's footnotes into a format compatible with Bootstrap's tooltips

Usage

  1. Export your document from Word by using the File -> Save As option.
  2. Modify convert.php to point to the file (or name it index.html and place it in the same folder as this script)
  3. Visit convert.php in your browser
  4. Copy and paste the output from the text area

Licenese

Licensed under the GNU General Public License Version 3 or later.