Publish Helper logo

Clean HTML for Medium

Medium is a popular publishing platform with a clean, distraction-free editor. Medium's paste handler strips most HTML formatting but can produce inconsistent results with complex Google Docs content. Pre-cleaning with Publish Helper ensures reliable paste results.

IHTML Issues with Medium

Medium's editor aggressively normalizes pasted HTML but doesn't always get it right. Complex formatting, nested lists, and table content from Google Docs may paste as plain text or lose structure. Medium supports a limited set of HTML elements: paragraphs, headings (H1, H2), bold, italic, links, blockquotes, lists, images, and code blocks.

IIHow to Paste Clean HTML into Medium
  1. 1.

    Copy your content from Google Docs, Word, or any editor

  2. 2.

    Paste into Publish Helper and click 'Clean HTML'

  3. 3.

    Copy the clean HTML from Publish Helper

  4. 4.

    Paste directly into Medium's editor — it will parse the clean HTML correctly

  5. 5.

    Review the post in Medium's preview for any formatting adjustments

IIIMedium Tips
IVFrequently Asked Questions

Does Medium strip my formatting anyway?

+

Medium normalizes HTML to its supported elements, but it does this more reliably with clean input. Messy Google Docs HTML often produces unpredictable results — clean HTML gives Medium consistent input to work with.

Why did my headings disappear on Medium?

+

Medium only supports H1 (as the post title) and H2 (as section headings). H3-H6 headings from Google Docs are converted to bold text. Use Publish Helper's heading conversion to restructure your content for Medium's heading model.

Can I paste tables into Medium?

+

Medium doesn't support HTML tables. Tables pasted from Google Docs will likely break. Consider converting table content to a list or using a screenshot for data-heavy tables on Medium.

Related Tools & Guides

Ready to clean your HTML?

Open Publish Helper

Last updated: March 2026

Changelog

v2.2.02026-03-18
  • NewAI-Powered Title to SEO Slug — Convert blog titles in any language to SEO-friendly English slugs in under 10 seconds
  • NewSlug generator toggle on the main page — generate slugs right after editing, above the fold
  • NewTable support — pasted tables from Google Docs now render correctly
  • NewRemove <br> after headings cleanup option (on by default)
  • NewPartial text selection copy in the HTML code view
  • NewSticky Clean HTML button at the bottom of the page
  • ImprovedHeading conversion now strips prefixes from existing heading tags and supports Chinese full-width colon (:)
  • ImprovedShared footer across all pages
v2.1.22026-03-17
  • FixBug fixes and improvements
v2.1.12026-03-16
  • FixBug fixes and improvements
v2.1.02026-03-16
  • NewFormatted/Raw toggle for the HTML code view
  • ImprovedCopying from the code panel now always gives clean, unformatted HTML
v2.0.02026-03-16
  • NewWelcome to Publish Helper — free online tools for content editors
  • ImprovedImproved search engine visibility
v1.1.02026-03-16
  • ImprovedClipboard copy — clean HTML output matches the code view
v1.0.02026-03-16
  • NewRich text editor with Google Docs paste support
  • NewHTML cleanup: strip styles, classes, empty tags, and Google Docs artifacts
  • NewHeading conversion from text prefixes to proper HTML tags
  • NewFind & replace with regex support and saveable presets
  • NewSyntax-highlighted HTML preview with one-click copy