How to use the HTML to Webflow Rich Text
- Paste HTML source — or copy formatted text from Google Docs, Word or a web page and paste it straight into the box (the formatting is captured as HTML).
- The tool removes classes, IDs, inline styles, data attributes and layout wrappers, and turns bold/italic styling into
<strong>/<em>. - Click Copy rich text and paste into a Webflow Rich Text element or CMS field — or copy the clean HTML for a CSV import.
Why clean HTML before importing into Webflow?
Webflow’s Rich Text element supports a focused set of tags: headings, paragraphs, links, bold, italic, lists, quotes, images, figures and line breaks. Content migrated from WordPress or another CMS — or copied from Google Docs and Word — arrives wrapped in <div>s and <span>s with classes, inline styles (font-family, color, font-size), data-* attributes and empty paragraphs. Imported as-is, that junk overrides your Webflow typography, creates inconsistent spacing and bloats the CMS.
What the cleaner does
- Removes every class, id, style and data attribute (keeps
href/target/relon links andsrc/alton images). - Unwraps
div,span,section,fontand similar wrappers; turns text-only divs into paragraphs. - Converts Google Docs/Word styling (
font-weight:700,font-style:italic) into semantic<strong>and<em>. - Strips scripts, iframes, forms and SVGs; optionally converts H1 to H2 (the page title is usually the H1) and removes empty paragraphs and
.
Bulk migrations
For a whole blog, clean each post’s body and import it through Webflow’s CMS CSV import or API — both accept HTML for Rich Text fields. Writing new content in Markdown? Use Markdown to Webflow Rich Text instead.
Tools that pair well with the HTML to Webflow Rich Text
- HTML to Markdown — Paste HTML — or copy rich text straight from a web page, Google Doc or email — and get tidy Markdown you can drop into a README, wiki or static site.
- HTML Formatter — Paste minified or messy markup and get clean, consistently indented HTML — including embedded <style> and <script> blocks.
- Smart Quotes to Straight Quotes — Code copied from Slack, Notion, Word or a blog won’t run?
- HTML & CSS to Webflow — Paste HTML and its CSS, click Copy to Webflow and paste into the Designer — you get real Div Blocks, Headings, Links, Images and Lists with classes, combo classes, tablet/mobile breakpoints and hover states instead of one big Code Embed.