Logo

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

  1. Open the Word Document: Open your Word document in Microsoft Word.
  2. Save as Web Page:
    1. Go to File > Save As (or Save a Copy if you're working on OneDrive).
    2. Choose a location for the file.
    3. Under the "Save as type" dropdown, select Web Page (*.htm; *.html) or Web Page, Filtered.
    4. Click Save.

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

  1. Go to File > Export.
  2. Select Change File Type.
  3. Choose Web Page (*.htm; *.html).
  4. 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:

  1. Open the exported file in a code editor (like VS Code or Notepad++).
  2. Manually remove unnecessary styles, comments, and tags.
  3. 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.

We value your privacy

We use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic. By clicking "Accept All", you consent to our use of cookies.

Cookie Settings

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.