Our basic service is free to use. Need more? Check out our PRO version...

Batch convert your files locally...

Batch convert from any browser...

Visual Editor (paste text to convert to HTML)

| Old Editor | Amazon Editor
For the best experience use our site on a desktop

HTML Editor (paste HTML to convert to text)

Rate our site:
4 / 1394 votes

In order to process HTML with Javascript please use 'html' variable name. Code examples:
Replace first occurrence of 'xxx' word with 'yyy' word : html = html.replace("xxx","yyy");
Replace all p tags with span tags with regexp: html = html.replace(/<p([^<>]*)>(.*)<\/p>/g,"<span$1>$2</span>");
Remove all p tags with inner content with regexp: html = html.replace(/<p[^<>]*>(.*)<\/p>/g,"");
Advanaced example - match inner text of all tags and replace start " with <blockquote> and end " with </blockquote>:
html = html.replace(/>([^<>]+)</gi, function(m, p1) { return ">" + p1.replace(/([^<>"]*)"([^<>"]*)"/gi, '$1<blockquote>$2</blockquote>') + "<"; } );

Click here to see more info about Javascript string functions...

Select your options then click the green 'Cleanup my HTML' button

Go Pro from $5 per month

Cleanup or process your HTML without any restrictions. Upload your Word (DOCX), PDF and other documents and instantly convert them to clean HTML. Insert images with the file manager. Supercharge your workflow by saving your cleanup options to a template. Export your HTML to Word or PDF. Create email signatures and with logos.

Get extra options in the Visual Editor like more fonts and a spellchecker. Resize the windows to suit your needs. Save and open your files from any browser.

Go Pro Now

Word to HTML Pro features:

Unlimited HTML cleanups

Convert Word, PDF and other docs to HTML

OCR for PDFs containing scanned text

Store your HTML online

Save your cleanup templates

Cleanup all or selected content

Multiple find & replace

Keep or remove inline CSS styles

Resize editors or go fullscreen

Autosave edited HTML

Download edited content as HTML, DOCX or PDF

Design and test emails

Email signautre templates

Use google or other web fonts

Compress or indent HTML

Goto HTML element on click

Image file manager

Image editing tools


Generate table of contents

Dark or light HTML editor theme

Custom Javascript processing