Free tool
Google Docs to clean HTML.
Paste from your doc and get plain <p>, headings, lists and links to drop into your site or CMS. No inline styles, no classes, no spans.
Runs in your browser. Your content never leaves this page.
Paste your Google Doc content
Paste from Google Docs
In your doc, press A then C. Click here and press V.
Clean HTML shows up here: paragraphs, headings, lists and links, with no styles or classes.
What it does
Copying from Google Docs puts a lot of styling on the clipboard that a website never needs. The converter reformats to the code that can be pasted safely to any CMS.
Removed
- Inline styles on every run of text (font, size, color, line height)
- The <span> around every word and the <b id="docs-internal-guid-…"> around everything
- Empty paragraphs and the <br>s Google uses for blank lines
- Google’s redirect on every link (google.com/url?q=…)
Kept
- Paragraphs, as plain <p>
- Headings h1 to h6
- Bold, italic, strikethrough, superscript
- Links, with the real URL
- Bulleted and numbered lists, nested lists included
- Tables, horizontal rules and images
Questions
- Why not use File, then Download, then Web page?
- Google’s HTML export ships a stylesheet of generated class names (c1, c2, c14…) and puts one on nearly every element, so you still end up deleting most of it by hand. This tool writes only the tags that carry meaning.
- Will it work in WordPress, Webflow or Ghost?
- Yes. Paste it into the HTML or code block of any editor, or straight into a template. Because there are no classes or inline styles, your site’s own stylesheet decides how it looks.
- Is my content uploaded anywhere?
- No. The conversion runs in your browser, on this page. Nothing you paste is sent to a server, and closing the tab discards it.
- What happens to my images?
- Each <img> keeps the address Google gave it, and those links stop working after a while. Download the images from your doc, upload them to your site, then swap the addresses in. If you publish with Contito, it copies the images from your doc and hosts them for you.
Building with Hugo, Jekyll or Astro? Google Docs to Markdown
Copying Google Docs content to a blog?
Let Contito do it for you.
Connect the doc once and it becomes a post on your own site. No copying, no reformatting, no pasting.
- 1
Connect your Google Doc
Sign in with Google and pick a doc or a Drive folder. Each doc becomes a post.
- 2
Pick a theme
Choose a designed blog theme, then set your colors, fonts and logo.
- 3
Publish
Go live on a free contito.org address or your own domain, with SSL included.
From then on
Edit the doc, the site follows
Change a post in the doc and the live page picks it up on the next sync. Nothing to paste again.
Images hosted for you
Every image in your doc is copied and served from your site, so nothing breaks when Google’s links expire.
Nothing to run
Search, sitemaps and fast hosting come with the site, so there is no server or plugin to look after.