What happens when you convert HTM to DOC
- The page is read by pandoc, the open-source document converter, on our conversion server: headings, paragraphs, lists, tables, links, bold and italic, and written as a DOCX with Word's own styles, which LibreOffice then saves as a Word 97 to 2003 document.
- The converter reads nothing but the file itself, so images linked from it are left out; only images embedded in the file as data URIs are kept. CSS styling, scripts and forms are ignored.
- This conversion runs on our server: the file is uploaded, converted, and deleted together with the result as soon as the result has been sent back to you. Nothing is kept. Files up to 25 MB are accepted.
How to convert HTM to DOC online
- Press "Choose HTM files" and select one or more files, or drag them onto the box. Files up to 25 MB each can be converted.
- There are no settings to choose: the converter keeps everything the target format can hold.
- Press "Convert to DOC". The file is uploaded to our conversion server, converted in a few seconds, and deleted together with the result as soon as the result is sent back.
- Save each DOC with its download button. Our server has already deleted both your HTM and the DOC by then.
Why convert HTM to DOC?
HTM files usually come from web pages saved from Word, Outlook and older Windows programs. People convert them to DOC because some older Word versions, forms and upload portals still ask for the DOC format from Word 97 to 2003.
In short, HTM is good at what it was made for, and DOC is the more practical choice when the file has to open, upload or print somewhere else. HTM opens in every web browser, while DOC opens in Word, Google Docs, Pages and LibreOffice Writer.
How to convert HTM to DOC on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your HTM files in from File Explorer, and press Convert. Each DOC is saved to your Downloads folder.
On a Mac
Safari, Chrome and Firefox all work. Drag the HTM files from Finder onto the drop zone and the DOC files land in Downloads.
On iPhone and iPad
Open the page in Safari and tap Choose HTM files. You can pick from Photos or from the Files app. The converted DOC appears in Files, in the Downloads folder.
On Android
Open the page in Chrome, tap Choose HTM files and pick them from Files or your gallery. The DOC is saved to the Download folder, where any file manager can find it.
Best settings for HTM to DOC
There are no settings: pandoc's defaults give a clean, standard result that is easy to restyle.
To change the look, restyle the headings and body text in your word processor; because the DOC uses real styles, one change updates the whole document.
HTM vs DOC: the differences
| HTM | DOC | |
|---|---|---|
| Full name | HyperText Markup Language | Word 97 to 2003 document |
| Type | document | word-processing document |
| Created by | Tim Berners-Lee | Microsoft |
| First released | 1993 | 1997 |
| Compression | Lossless | Lossless |
| What it holds | text with tags for headings, lists, links, tables and images | formatted text, images and tables in a binary file |
| In a browser | opens in every web browser | opens in Word, Google Docs, Pages and LibreOffice Writer |
| Common uses | web pages saved from Word, Outlook and older Windows programs | older Word files, templates and documents from legacy systems |
| MIME type | text/html | application/msword |
About HTM and DOC files
What is an HTM file?
HTM and HTML are the same format. The three-letter extension dates from old Windows systems that only allowed three characters after the dot, and Word and Outlook still save web pages as .htm.
What is a DOC file?
DOC is the binary Word format used before 2007. Unlike DOCX it is not a ZIP of XML files, so its contents cannot be read without a program that understands the binary layout.
HTM to DOC not working? Common problems
- "Files up to 25 MB can be converted." Server conversions have a size limit. Compress the images inside the file, or split it, and try again.
- "The conversion took too long and was stopped." Very long or complex files can pass the 90 second limit. Split the file and convert the parts.
- "This file is not really in HTM format." The converter checks every file before it runs anything, so a file of another format renamed to .htm is refused. Choose the page for its real format.
Convert HTM to DOC from the command line
pandoc does the same on your own computer, with LibreOffice for the last step:
pandoc input.htm -o output.docx
soffice --headless --convert-to doc output.docxConverting on your own computer keeps the file entirely local, which is worth it for very large or very sensitive documents. For everything else, the converter on this page does it without installing anything.
HTM to DOC converter FAQ
Will I lose quality converting HTM to DOC?
The text and its structure are kept exactly. Layout and styling from the HTM are not, because pandoc converts the document's structure rather than its look.
Why is the DOC a different size from the HTM?
Larger than the HTM, because DOC wraps the text in styles and settings, even when the text is short.
Are my HTM files uploaded?
Yes, for this conversion. A faithful HTM to DOC conversion needs pandoc and LibreOffice, two open-source tools, which cannot run in a browser. The file travels over an encrypted connection, is converted in a private temporary folder, and is deleted together with the DOC as soon as the result has been sent back to you. We do not keep, read or share it.
Can I convert several HTM files to DOC at once?
Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.
How do I open a DOC file?
DOC opens in Word, Google Docs, Pages and LibreOffice Writer. DOC is common for older Word files, templates and documents from legacy systems.
Is this HTM to DOC converter free?
Yes. There is no sign-up and no watermark. Because this conversion uses our server, there is a fair-use limit of 25 MB per file and a number of files per hour, which stops the service being overloaded.
Can I convert HTM to DOC on my phone?
Yes. It works in Safari on iPhone and iPad and in Chrome on Android. The conversion happens on our server, so it is as fast on a phone as on a computer; the DOC is saved to your Downloads folder.