Upload and convert Word, PDF and other documents to HTML

Word to HTML lets you upload or drag and drop your documents to convert them to HTML instantly. All you have to do is click the blue upload button to select your file or drag and drop a document into the white section.

After your document is converted you can either Edit it in the Visual Editor, you can Preview, Download, or Delete it if you want to remove it permanently from our servers right away after you have downloaded or copied converted HTML.

Batch convert documents to HTML

Our Business Plan users can upload and convert more than one document at once. Just select and upload more than one document or drag and drop more than one document into this section.

The file formats we support are:

  • MS Word DOC and DOCX format
  • PDF format
  • RTF Rich text format
  • ODT Open doc format
  • HTML and text files

Embed images

Selecting the embed images option converts your images to code. This means you do not need to have separate image files, everything is in one document. This option is used when pasting images into Visual Editor as well. This option is useful for small images like graphics but if you have a lot of images in the file it may increase the size and complexity of the code a lot. Be aware when you embed images the code can look strange, you will see lots of random-looking code as shown in the screenshot below. But don’t worry when you put the HTML live the images will show ok.

Full page mode

Are you creating standalone HTML files? No problem, this option adds the <head> and <body> to HTML, you need this so the page displays correctly. If you are pasting into a web-based system like WordPress, Amazon, eBay, etc. you will not need this option.

Fixed HTML

If you need your HTML to look exactly like your input document then tick this fixed HTML option, but please be aware that the fixed layout may not look great on mobile devices. It’s useful when used as a standalone HTML page or when shown in an <iframe>. This option enables the Full page mode option which is required to display fixed HTML pages correctly.

Auto Cleanup

If you enable this option Word to HTML will automatically run a cleanup options or template you have selected. No need to click the Cleanup HTML button if this option is enabled.

You can also Auto Save updated and cleaned-up HTML. Just enable the last option on the right (save icon).

Converting images to text with OCR

If your PDF file has scanned text content in an image format Word to HTML will attempt to OCR it and convert it to text.

Resizing editors

The interface can be changed to suit your needs. By clicking the arrows between the two editors you can choose to make one larger or smaller:

 

You can change both Visual and Code editor height by dragging up or down the bottom bar in the Visual Editor:

 

In order to set the default editor height you can set it in the Preferences:

When using TinyMCE editor you can change both Visual and Code editor height by dragging the corner of TinyMCE editor:

Full-screen mode

In the Visual editor and the code editor, you can choose to go full screen.

Quick start guide

Word to HTML is super simple to use. All you have to do is paste your text into the Visual Editor box on the left side or you can create your content directly in the editor.

We will automatically convert your text to HTML code as you type, you don’t need to do anything. Your code will appear on the HTML Code Editor on the right.

When you have finished you can just copy the code from the code editor to the clipboard or you can save it online on WordToHTM and edit it later or download it.

Watch our quick less than 2 minutes feature overview video:

Cleaning up your HTML code

With our powerful cleanup options and find and replace processing, you can improve your code with a few simple clicks. You can even use more advanced features like Manage Tags & Attributes or even add your own custom Javascript code in order to change HTML in any way.  Just turn on the options you want to remove then click the green ‘Clean HTML’ button. You need to click the green button every time you change any option in the cleanup section.

Saving HTML online

You can save your documents so you can work on them later. Just click the blue Save button. WordToHTML has an Autosave feature (enabled by default, but you can disable it in the Preferences) which means we save your work for you automatically every 5 minutes. If you turn this off you need to remember to hit the Save button to save your work.

Exporting files

You can export your files in HTML, Word DOCX, PDF, or EPUB format. All you have to do is click the drop-down icon next to the Save button, then select the export format you want:

Use google fonts or other web fonts

Google fonts are a great way to make your web pages more visually appealing. Hundreds of great-looking fonts are available, and best of all they are free.

One way to use custom fonts is to add custom CSS to your HTML page as shown in the screenshot below. Also, you can view this sample code here: custom Font Example HTML

Please note that the best place to add your custom fonts CSS is either <head> tag or add this CSS in your web page style file. The example below has CSS that adds google web Lato font as ‘CustomFont’ in <head> tag, but it may even work if you CSS <style> tag in your HTML page body.

Another way is to define your fonts in Settings:

  1. Go to the Google Fonts website to get your font links.
  2. Select the font you want to use, optionally customize it and copy it’s link as shown on the screenshot below.

  1. Enter the font name (or names) into the custom fonts section on the Settings page
  2. Paste the font link (or links) into the font URL box

If you want to use more fonts just enter the font links and names separated by the # char.

Once your fonts are defined you can then select them in the visual editor: