Skip to content
OnlineToolStudio

HTML Table Generator

runs in your browserno sign-upfree

Create an HTML table online: type or paste from Excel or Google Sheets, choose borders, stripes and alignment, and copy clean HTML with CSS or Bootstrap.

4 × 4

Tip: copy cells in Excel or Google Sheets and paste them into any cell — the table grows to fit.

HTML code

Preview

About this tool

Build an HTML table without writing code: type into the grid or paste cells from Excel or Google Sheets, add or remove rows and columns, then choose a style — a ready-to-use stylesheet, inline styles for emails, Bootstrap classes or plain HTML. Borders, striped rows, alignment and a caption are one click away, and a live preview shows the result. The same table can be copied as Markdown too.

How to use

  1. Type into the cells, or paste from a spreadsheet, CSV, Markdown or HTML.
  2. Add or delete rows and columns, and mark the first row as the header.
  3. Pick the style, borders, stripes, alignment and an optional caption.
  4. Copy or download the HTML — the preview shows how it looks.

FAQ

Can I paste a table from Excel or Google Sheets?

Yes. Copy the cells and paste them into any cell of the grid — the table grows to fit. "Import data" also reads CSV (commas, semicolons or tabs, with quotes), a Markdown table or the first <table> in some HTML.

Which style should I choose?

"HTML + CSS" adds a small <style> block with a class — best for web pages. "Inline styles" puts the styling on every cell, which is what email newsletters need. "Bootstrap classes" uses table, table-striped and table-bordered for sites that already load Bootstrap. "Plain HTML" has no styling at all.

Can I put links or bold text inside cells?

Untick "Escape HTML in cells" and type HTML such as <a href="…">link</a> or <b>bold</b> into a cell. Leave it ticked to show characters like < and & as text.

Is my data uploaded?

No. The table is built in your browser and saved only in this browser, so you can come back to it.

Related tools

All tools