Skip to content

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

Notifications You must be signed in to change notification settings

nacin/Convert-Word-Documents-to-HTML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published