All tools
Doc to HTML Converter
Turn a Word file, a shared Google Doc or pasted content into clean, CMS-ready HTML — headings remapped, styles stripped and links tidied.
No document loaded
Choose a Word file, paste a shared Google Doc link or paste the content itself. The preview and its HTML appear here.
No HTML yet — convert a document first.
Learn more about converting a document to HTML
How to do it
- Choose Google Doc link and paste the Doc's share link, choose Word file and pick a .docx, or choose Paste content and paste what you copied from Google Docs, Word or a web page.
- Open Settings to pick a Preset, or to set how headings map, their alignment, the clean-up, whether images are exported as files and whether every image gets the same alt text.
- Press Convert for a Google Doc; a Word file converts as soon as you choose it, and pasted content as soon as you paste it (press Convert again after editing it).
- Check the result in Preview, or see the code in Raw HTML. Changing a rule updates it straight away.
- Press Copy HTML to paste the code into your CMS, or Copy for editor to paste it into a visual editor. If you exported images, press Download images to get the files.
Questions
- Why can't my Google Doc be downloaded?
- The Doc must be shared so that anyone with the link can view it. In Google Docs, set Share → General access to "Anyone with the link", then try again. A published-to-web link won't work — use the Doc's share link.
- Is my document uploaded?
- A Word file isn't: it's read and converted in your browser, and so is pasted content. For a Google Doc, OpsDrawer's server downloads it from Google and passes it straight to your browser without keeping a copy. The HTML and image files are always made in your browser.
- What does the converter clean up?
- With the Standard preset, H1 becomes H2 and H2 becomes H3, headings are aligned left, inline styles are stripped and links open in a new tab. Empty paragraphs are removed. Every rule can be changed in Settings.
- What happens to images?
- By default they're embedded in the HTML. Turn on Export images as files to save them as WebP, PNG, JPEG or the original format, with the file names and image path your CMS needs, then press Download images. Each image keeps the alt text it had in the document; turn on Same alt text for every image to give them all one alt text you type instead.
- Which files can I convert?
- Word .docx files up to 50 MB, and Google Docs. An old .doc, .odt, .rtf or PDF isn't read — save it as .docx in Word first. A password-protected Word file can't be read either.
- Can I paste text instead of using a file or a link?
- Yes. Choose Paste content and paste what you copied from Google Docs, Word or a web page (up to 10 MB): headings, bold and italic, lists, links and tables are kept, the styles and clutter are cleaned away, and the same Preset applies. Plain text works too, a blank line starting a new paragraph. Pictures come only when the copy holds them itself — Google Docs and Word copy just a link to each picture, which is left out — so for a document with pictures use its link or Word file.
- Can I save my own rules as a preset?
- Admins can save the current rules as a preset for everyone. Anyone can change the rules for one conversion in Settings.