Free tools / HTML Cleaner
HTML Cleaner
Clean, safe HTML from text pasted out of Word, Google Docs or an old website. Paste below; the clean version appears on the right.
Paste your content
Click here and paste (Ctrl+V or ⌘V) text copied from Word, Google Docs or a web page.
Cleaned in your browser. Scripts in what you paste never run, and nothing is sent anywhere.
Clean HTML
Preview
What gets cleaned
- Kept: paragraphs, headings, bold, italics, underline, lists, quotes, tables, pictures (https), links, and YouTube and Vimeo videos (YouTube in privacy-enhanced mode).
- Removed: scripts, styles, fonts and colours from Word, hidden Office tags, click handlers,
javascript:links, other embeds and empty paragraphs. - Tidied: a page title (h1) becomes a section heading (h2), since your page already has its own title. An opening "By …" line becomes the byline.
- Basic mode keeps only simple formatting and links, which is safest for comments and notes from visitors.