How to Easily Convert A Spreadsheet to HTML [Quick Tips]

You probably have done a lot of work on Excel or other spreadsheet application and you want to convert all of them into HTML document so you can place it on the Web. What should you do? This may seems like a simple question with obvious answers, but plenty of people are still having difficulty getting it done. There are several ways that you can convert your spreadsheet to HTML document, and luckily, you don’t need to be a HTML coder to do so.

Also read: How to Find and Remove Duplicates in Excel

1. Use the “Save-as” tool in your office suite

I am not sure about all the office suite, but for Microsoft Excel, OpenOffice and LibreOffice, they allow you to save your document as a HTML file. And yes, all your data will be converted to HTML format too.

To do this, you just have to go to “File -> Save as” and select HTML web document from the list. The naming convention might vary for different office suite.

spreadsheet2html-save-as-html

Once you have exported it, you can edit the HTML document or open with a browser to view it.

Also read: How to Link Data Between Spreadsheets in Google Sheets

2. Google Docs

What if you don’t have office suite on your PC and you don’t have permission to install software on your system? Here’s a simple walk-around: use Google Docs (or Google Drive)

1. Upload your spreadsheet document to Google Docs.

2. Go to “File -> Download As” and select “HTML”. It will probably open your current spreadsheet in a new tab, in webpage format. All you have to do is to right click your mouse and select “View Source”. Copy all the source code.

spreadsheet2html-google-docs

3. Paste the HTML source code to a text editor and save it with a .html extension.

3. Using a web service – Tableizer

If you prefer a more manual method, you can make use of a web service to convert your spreadsheet to HTML document.

1. Go to Tableizer.

2. Copy the data in your spreadsheet document and paste it in the input field. Click “Tableize it”.

That’s it. It will generate the HTML table code as well as a preview of how it looks like on the Web. You can simply copy and paste the HTML code to your Web document.

spreadsheet2html-tableizer

I have tested Tableizer with several documents and it works well with most of them. For some instances, it has difficulties interpreting a carriage return within cells. Your result may vary.

Note: If you have used Macros or formula in your spreadsheet, they might not translate well in the HTML format.

What other ways do you use to convert your spreadsheet to HTML?

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Damien Oh Avatar

Read next

Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark
Almost all of the world’s internet traffic does not travel by satellite but through fibre-optic cables lying on the ocean floor, a hidden web of wires crossing the deepest parts of the sea to connect the continents.
People who flip their phone face down on every table aren’t being secretive. They figured out that staying interruptible meant handing their time to whoever rang first
Twitch vs. Facebook Gaming vs. YouTube Gaming: What’s the Best Live Game Streaming Platform?
Chrome Extensions Ownership Transfer is a Direct Threat to You: How to Stay Safe