Convert Google Docs to HTML
Copy your Google Doc, paste it below, and get clean semantic HTML: headings, lists, links and tables stay, the inline styles and nested spans go. Runs entirely in your browser.
Click here, then press Ctrl+V
Select all in your Google Doc (Ctrl/⌘+A), copy, and paste into this box. Formatting is read from the clipboard.
Drop your file here or click to browse
Maximum file size: 10MB
How to convert a Google Doc to HTML
- Open the document in Google Docs and press Ctrl+A (or ⌘+A) to select all, then copy.
- Click the dashed paste box above and paste with Ctrl+V (or ⌘+V).
- Check the preview, flip the switches if you want to drop links or images, then copy the HTML or download it as a file.
Prefer a file? Use File → Download → Microsoft Word (.docx) in Google Docs and drop the .docx in the upload box. The result is the same clean markup.
What Google Docs puts on the clipboard, and what you get back
When you copy from Google Docs, every run of text is wrapped in a <span> carrying the full font, size, colour, weight and spacing as inline CSS, and the whole selection sits inside a <b id="docs-internal-guid-…"> element. List items contain a paragraph each, and every link goes through a google.com/url?q= redirect. Pasting that into WordPress, Ghost, Webflow, HubSpot or an email builder brings all of it along.
Pasted from Docs
<b style="font-weight:normal;" id="docs-internal-guid-…"> <p dir="ltr" style="line-height:1.38;margin-top:0pt;…"> <span style="font-size:11pt;font-family:Arial;color:#000000; background-color:transparent;font-weight:700;…">Never</span> <span style="font-size:11pt;…;font-weight:400;…"> paste straight into the CMS</span></p></b>
After conversion
<p><strong>Never</strong> paste straight into the CMS</p>
Where this is useful
- Publishing a draft written in Docs to WordPress, Ghost, Webflow or Squarespace without inheriting Arial 11pt everywhere.
- Dropping a formatted section into an HTML email in Mailchimp, HubSpot or Klaviyo.
- Moving documentation from Docs into a static site or a Markdown-based knowledge base (convert to HTML first, then to Markdown if needed).
- Handing developers markup that only contains tags they asked for.
Frequently asked questions
- How do I convert a Google Doc to HTML?
- Open the document, press Ctrl+A (⌘+A on Mac) to select everything, copy, then click the paste box on this page and paste. The clipboard carries the formatting, and the converter rewrites it as clean HTML you can copy or download. No sign-in and no upload.
- Why not just use File → Download → Web page (.html, zipped)?
- That export works, but it produces a full page with a <style> block, generated class names like c1 and c2, and inline styles on most elements. It is meant to reproduce the look of the document, not to be pasted into a CMS. This tool keeps the structure and drops the presentation.
- What formatting is kept?
- Headings (H1–H6), paragraphs, bold, italic, strikethrough, subscript and superscript, bulleted and numbered lists, links, images and tables. Underline is off by default because it is usually leftover from links; turn it on with the switch if you need it.
- What gets removed?
- Every inline style, font and colour, the span wrapper Google Docs puts around each run of text, the docs-internal-guid wrapper, empty paragraphs, and the google.com/url redirect that Docs adds in front of every link.
- Do images come through?
- Images pasted from Google Docs point at googleusercontent.com URLs that stop working after a while; the converter keeps those img tags so you can see where they were. Images inside an uploaded .docx are embedded as base64. Either way, re-upload the pictures to your own site or CMS before publishing.
- Is my document sent anywhere?
- No. The page has no server-side conversion; everything happens in your browser with JavaScript. The only network traffic is an anonymous Google Analytics event that records that a paste or copy happened, never the content. You can confirm this in the browser network tab.
More free HTML converters
- Word (.docx) to HTML
Upload a .docx and convert it in the browser.
- Markdown to HTML
Turn Markdown (or AI output) into HTML.
- CSV to HTML table
Upload a CSV and get a searchable table.
- JSON to HTML table
Arrays of objects become a table.
- Excel to HTML table
Paste cells from Excel or Sheets.
- HTML table generator
Type into a grid, copy the markup.