Excel to HTML Table Converter
Copy cells from your spreadsheet, paste them here and get the HTML table code.
Your text and files never leave your browser — nothing is sent to a server.
How to use
- Select cells in Excel or Google Sheets, copy them (Ctrl+C) and paste them into the input box.
- Keep “First row as header” on if the first row holds column titles — it becomes a <thead> with <th> cells.
- “Escape HTML” makes characters like < and & show up as text. Turn it off only if your cells already contain HTML you want to keep.
- Turn on “Inline border styles” for tables that need to look right without a stylesheet, such as in emails, and “Minify” to get a single line.
- Copy the code or download it as table.html.
FAQ
What happens to line breaks inside a cell?
Spreadsheets wrap such cells in quotes when you copy them. The converter reads them as one cell and turns the line breaks into <br>.
What if rows have different numbers of cells?
Shorter rows are padded with empty cells so every row has the same number of columns.
Can I convert a CSV file?
Yes. Open the CSV in a text editor, paste its contents and set “Columns separated by” to Comma. Quoted values with commas or line breaks are handled.
Related tools
All tools
Unit Converters
- Unit Converter
- Temperature Converter
- Weight Converter
- Area Converter
- Length Converter
- Angle Converter
- Calorie Converter
- Data Size Converter
- Dry Volume Converter
- Electric Charge Converter
- Energy Converter
- Flow Rate Converter
- Force Converter
- Fuel Economy Converter
- Luminous Intensity Converter
- Magnetomotive Force Converter
- Power Converter
- Pressure Converter
- Radiation Dose Converter
- Speed Converter
- Time Unit Converter
- Volume Converter