Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert an MS Word table to HTML

Tags:

html

web

My emlpoyer has given me a heavily formatted table in an MS Word file with all kinds of colors, shapes and tons of content that I have to plug into a webpage.

I tried saving the Word file as HTML and then copying the code, but it is too bulky. Word to HTML tools didn't work neither. Any ideas what I can do?

like image 403
Newyork111 Avatar asked Dec 29 '25 21:12

Newyork111


1 Answers

This tool cleans up extra junk from Word generated html files, I've been using it for a while.

http://www.wordhtmlcleaner.co.uk/

Then you can use this tool to reformat you code so you can find the table your looking for easier:

http://www.dirtymarkup.com/

Hope this helps!

Edit:

Try This tool. With these options:

Doctype : auto

Drop empty paras

Logical emphasis

Output XHTML

Word 2000

That appears to keep the color and styling while cleaning it up.

like image 193
0xSingularity Avatar answered Jan 01 '26 13:01

0xSingularity



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!