Convert Windows Docs to
Clean, Semantic HTML
Drag and drop or
click to select a
Microsoft Word Doc
Max size 4 MB
Done
- headings 1-6
- title
- subtitle
- bold
- italic
- underline
- strikethrough
- justification
- lists
- superscript
- subscript
- links
Not Yet Done
- funky list styles
- custom styles
- tables
- images
Not Doing
- page headers
- page footers
- spacing
- math
How to Export HTML from Word
Using Save As
- Open the Word Document: Open your Word document in Microsoft Word.
- Save as Web Page:
- Go to
File > Save As
(orSave a Copy
if you're working on OneDrive). - Choose a location for the file.
- Under the "Save as type" dropdown, select Web Page (*.htm; *.html) or Web Page, Filtered.
- Click Save.
- Go to
Key Differences:
- Web Page (*.htm; *.html): Includes extra Word-specific markup for formatting fidelity.
- Web Page, Filtered: Strips out most of the Word-specific tags, resulting in cleaner HTML, but may lose some advanced formatting.
Using Export Option
- Go to
File > Export
. - Select Change File Type.
- Choose Web Page (*.htm; *.html).
- Click Save As and provide a filename.
Cleaning Up the HTML
Microsoft Word tends to add unnecessary styles and tags. To clean up the HTML:
- Open the exported file in a code editor (like VS Code or Notepad++).
- Manually remove unnecessary styles, comments, and tags.
- Use an online HTML cleaner or a tool like HTML Tidy for automated cleaning.
If you need a highly polished and minimal HTML export, third-party tools or manual conversion methods might be better suited.