Word to HTML
Convert a Word document into clean HTML for a website, blog or email. Headings, lists, tables, links and pictures are kept, without Word's messy styling.
Your files stay on your device. Nothing is uploaded.
Step 1: Add a Word file
Drag and drop a Word file here
or
A .docx file from Word, Google Docs or LibreOffice. Up to 50 MB.
Step 2: HTML options
Step 3: Convert
Starting…
Preview
How to convert Word to HTML
-
Add your Word file
Click Choose Word file or drag a .docx file into the box. Files from Word, Google Docs (Download as .docx) and LibreOffice work.
-
Choose the options
Pick body-only HTML to paste into a page, or a full page that opens on its own, and whether to keep pictures.
-
Convert and use it
Click Convert to HTML, check the preview, then copy the HTML or download the .html file.
About this tool
Clean HTML, not Word's HTML
Word's own "Save as web page" adds pages of fonts, sizes and special tags. This converter writes simple, meaningful HTML instead: Heading 1 becomes <h1>, a bullet list becomes <ul>, and a table becomes <table>. It pastes cleanly into WordPress, website builders and email tools.
What is kept and what is not
Kept: headings, paragraphs, bold, italic, underline, lists, tables, links, footnotes and pictures. Not kept: fonts, colours, text sizes and page layout, since your website's own styling should decide those. The page tells you if some formatting was simplified.
Pictures
Pictures are written into the HTML as data, so the file works on its own without a separate images folder. Choose Leave out for a smaller file when you add pictures yourself.
Privacy
This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.
Frequently asked questions
Does it work with .doc files?
No, only .docx. Open an old .doc file in Word or LibreOffice and save it as .docx first.
Will Word headings become HTML headings?
Yes, when the document uses Word's built-in Heading styles. Text that is only made big and bold stays a normal paragraph.
Are my files uploaded?
No. Everything happens in your browser, so your document never leaves your device.
Can I get plain text instead?
Yes, with Word to text.
Related tools
- DOCX › TXT Word to text Get the plain text out of a Word document.
- HTML › MD HTML to Markdown Turn HTML into clean Markdown as you type.
- MD › HTML Markdown to HTML Convert Markdown to HTML as you type, with a preview.
- PDF › TXT PDF to text Copy all the text out of a PDF.
- Words Word counter Count words, characters and sentences as you type.
- TXT › PDF Text to PDF Turn plain text into a neat PDF.
- Image › text Image to Base64 Turn an image into a Base64 data URI for code.
- XLSX › JSON Excel to JSON Turn an Excel sheet into a JSON list of objects.