Converting Word Tables to HTML
Key points
- Choose
- Check
You want to put a table made in Word on a web page. HTML for tables has many tags and is laborious to write by hand. Convert Word to HTML converts Word tables into HTML tables.
Steps
- With "Choose a Word file", choose a .docx containing the table.
- Check in the "HTML" field that the table has been converted.
- Copy with "Copy HTML" and paste it into the web page.
The text is converted, but cell colours and the look of borders are not included.
Tables that convert
- Row and column structure
- Text in each cell
- Header rows (if set in Word)
What isn't converted
- Cell background colours
- Border design
- Column widths
- Fine appearance of merged cells
Tips for clean conversion
- Make tables with Word's "Insert Table" (don't line things up with tabs or spaces)
- Make the first row a header row
- Avoid merging cells where possible
- Keep text within the cells
Appearance after pasting
A site's table design is decided by the site's styles. If you need borders or colours after pasting, set them on the site side.
Good for
- Putting price lists or schedules on a web page
- Including comparison tables in blog posts
- Putting a specification list on a site
Example
Made a price plan comparison table in Word. Converted it to HTML with this tool and pasted it into the site's HTML editor; rows and columns became a table as they were.
Common stumbling blocks
- The table breaks: a table made with tab separation in Word isn't converted as a table.
- The width doesn't fit: adjust on the site side to fit the site's width.
Frequently asked questions
Do table colours remain?
No. Colours aren't included. Set them on the site side.
Summary
Make tables with Word's table feature before converting. Tidy the look on the site side.
Use "Convert Word to HTML" (free)Tools that go well with this
- Extract Text from a Word File: Extract the plain text from a Word file.
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.