Excel to HTML

Convert HTML, Pug, Jade, JSX, BBCode, and structured data locally in your browser.

How Excel to HTML works

When you copy a range from Excel, Google Sheets or Numbers, the clipboard holds tab-separated rows of plain text. Paste that here and the converter escapes the characters that have meaning in HTML (&, <, >, ") and wraps the whole block in a <pre> element. The row and column layout is preserved as monospaced text that renders exactly as pasted and cannot break the surrounding page. The Operation menu switches the same input to HTML → CSV, TSV, JSON or YAML, JSON → HTML, and BBCode conversions.

When to use it

Drop a small data extract into documentation or a blog post, quote spreadsheet output in a GitHub issue, or embed a fixed-width block without hand-escaping every angle bracket. For a bordered, styled <table> instead of a preformatted block, use the HTML Table Generator or CSV to HTML.

Worked example

Input (tab-separated, as pasted from a sheet):

Region	Q1	Q2
North	120	145
South	98	110

Output:

<pre>Region	Q1	Q2
North	120	145
South	98	110</pre>

Does this create an HTML table with rows and cells?

No. It produces a <pre> block that preserves the pasted layout as text. For <table> markup, use the HTML Table Generator or CSV to HTML.

Can it read an .xlsx file directly?

No. Copy the cells from your spreadsheet and paste them as text; the tool works on the tab-separated clipboard content, not the binary workbook file.

Why is my < showing as &lt;?

That is intentional. Characters that have meaning in HTML are escaped so the block displays literally and cannot inject markup into your page.

Is my data uploaded?

No. The conversion happens entirely in your browser and nothing is sent to a server.

HTML Table Generator CSV to HTML TSV to HTML Excel to JSON Excel Viewer