How to use
- Copy a table from Excel or Google Sheets.
- Paste it into the input box.
- Click "Convert" to generate the HTML TABLE code.
🎯 Use Cases
- Paste an Excel table into a blog or forum post
- Generate table HTML for an email newsletter
- Insert a data table into a static web page
Example
Input
Name Role Alice Engineer
Output
<table>
<tr>
<th>Name</th>
<th>Role</th>
</tr>
<tr>
<td>Alice</td>
<td>Engineer</td>
</tr>
</table>Pasting a two-row tab-separated table with "Treat first row as header (th)" enabled turns the first row into th cells and the rest into td cells. Any special characters in a cell (<, >, &) are automatically escaped to HTML entities.
FAQ
- Is cell formatting (color, bold) preserved?
- No. Only the text content is converted — cell formatting is not carried over.
- How do I stop the first row from becoming a header?
- Uncheck "Treat first row as header (th)" and every row will be converted as regular data (td).
- Is the pasted data sent to a server?
- No. It's converted entirely in your browser.
More Coding Tools
📘
JSON Formatter
Prettify, validate & minify JSON
🗓️
Timestamp Converter
Convert Unix timestamp ↔ date
🧩
JSON String Encoder
Convert text ↔ JSON string literal
✨
JS/CSS Formatter
Indent & tidy JS/CSS code
✂️
JS/CSS Minifier
Strip comments & whitespace
🧽
HTML Formatter
Indent HTML by tag structure
🧹
XML Formatter
Indent XML by tag structure
🗃️
SQL Formatter
Break SQL into clauses & indent
🔣
HTML Entity Encoder
Convert special chars ↔ HTML entities
⛓️
Link Extractor
Extract href/src links from HTML
🎨
Color Picker
Get HEX, RGB & HSL color codes
🐘
PHP Syntax Checker
Check bracket/string pairing (practical checker)
🗄️
MySQL Syntax Checker
Check bracket/quote pairing (practical checker)
🔍
HTML5 Validator
Check tag pairing, duplicate id, missing alt
✍️
Online HTML Editor
Write & edit HTML visually