๐Ÿ“Š

HTML Table Generator

Create structured tables for feature comparisons, pricing and documentation. Start with an empty grid, one of seven styling presets, or the editable sample. Six outputs serve different destinations: inline HTML, HTML + CSS, Bootstrap, Tailwind, Markdown and CSV. A preview here does not establish email or CMS compatibility.

Build a comparison, price list or documentation table, then choose markup or data for its destination.

Edit cells, add or remove rows and columns, or import CSV, TSV or pipe-separated records. Header Row uses the first row as column headings; the rest are data.

Imports preserve whitespace and quoted line breaks, padding uneven rows with empty cells. The editor neither merges cells nor infers numeric types.

HTML escapes cell markup. Markdown escapes pipes and uses <br> for line breaks; with no header it adds an empty heading. CSV preserves text, not styles. Inline HTML cannot encode hover; framework outputs need their framework.

This generator uses edits and imported text in page memory. This source description does not cover requests or storage by other page services; check the site policy before entering sensitive data.

Quick Presets

Edit Table

Import Data

Choose the matching separator. Double quotes protect separators and line breaks; write a literal quote as two quotes. Shorter rows receive empty cells.

Live Preview

This preview uses the tableโ€™s own styles. Check narrow screens, keyboard use and readable colors in the destination separately.

Generated Code

Inline HTML has static styles; hover needs HTML + CSS or the matching framework. Bootstrap and Tailwind need their styles at the destination. Markdown/CSV preserve data rather than visual options.

Helps support this free tool with a small HTML comment

Copied

Copy failed. Select the result and copy it manually.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

ร— px (1โ€“4096)

                        

๐Ÿ’ก Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

1 rating
โœ“

Popular Tools

No more tools to show
Explore All Tools

About HTML Table Generator

Create structured tables for feature comparisons, pricing and documentation. Start with an empty grid, one of seven styling presets, or the editable sample. Six outputs serve different destinations: inline HTML, HTML + CSS, Bootstrap, Tailwind, Markdown and CSV. A preview here does not establish email or CMS compatibility.

Import A,B followed by 1,2 on the next line: two columns and two rows. With Header Row enabled, A/B are headings and 1/2 remain data in every output.

Import A,B then a row containing quoted a""b and quoted x, a line break, then y: the single data row contains a"b and a multiline second cell. CSV re-quotes them; HTML escapes literal markup.

This rectangular text-table editor has no merging, sorting or spreadsheet formulas. Formatting and accessibility still need checking in the destination.

Use Cases

A SaaS marketer building a pricing page: Load Sample already produces a Feature / Free / Pro / Enterprise grid, so you swap in your own tiers, click the Pricing preset and paste the Tailwind output into an existing component.
A technical writer turning a CSV export into documentation: paste the export into Import Data, press Import CSV, then switch the output format to Markdown and drop the aligned table straight into a README or a docs pull request.
A support analyst reading a pipe-delimited console dump: Import Pipe splits it into cells, Bordered and Compact make the result readable at a glance, and the CSV output hands the cleaned rows back for a spreadsheet.

How to use

1

Set Rows and Columns with plus/minus, then type in the cells. The cross beside a row deletes that row.

2

Or paste CSV, TSV or pipe-separated text and choose its import button. Double quotes inside a quoted cell must be doubled; Load Sample supplies an editable comparison.

3

Choose Header Row, stripes, borders, hover, responsive wrapping and compact spacing. Adjust the three colors or apply a preset.

4

Read the preview and check the data. Choose inline HTML, HTML + CSS, Bootstrap, Tailwind, Markdown or CSV; set attribution for markup output.

5

Inspect and copy the selectable output. If copy is refused, copy the selected text manually, then test the result in its destination.

Pro Tips

  • Keep Header Row enabled when the first row names columns. Headerless Markdown adds an empty heading to preserve every data row.
  • Use HTML + CSS for custom colors and hover without a framework; use CSV to transfer editable text instead of presentation.
  • Load Sample replaces the whole grid rather than adding to it, so copy anything you have already typed out of the Generated Code panel before you press it.
  • Excel, Google Sheets and Numbers put tab-separated text on the clipboard, so paste a copied range into Import Data and press Import TSV โ€” not Import CSV, which would leave each row in a single cell.
  • Turning off attribution removes both generated markup and stylesheet comments.

Troubleshooting

Problem:

Pressing Import CSV does nothing and the grid stays empty.

Solution:

Import not applied: check quotes and the separator, then import again. The previous table stays editable; preview and copy are paused. Load Sample or Clear All also clears this error.

Problem:

The Copy button never changes to Copied.

Solution:

Copy refused. The output is selected for manual copying.

Problem:

The Bootstrap or Tailwind output looks completely unstyled on my site.

Solution:

Inline HTML has static styles; hover needs HTML + CSS or the matching framework. Bootstrap and Tailwind need their styles at the destination. Markdown/CSV preserve data rather than visual options.

Problem:

Hover Effect is ticked but nothing happens with the plain HTML code.

Solution:

The plain HTML format has nowhere to put a :hover rule because it writes styles as inline attributes, so the checkbox is ignored there. Switch to HTML + CSS, which adds a .fwt-table tbody tr:hover rule, or to Bootstrap or Tailwind, which add a hover class.

Problem:

The minus button beside Rows or Columns stops responding.

Solution:

The grid will not go below one row and one column, so those buttons do nothing once you reach the minimum. To empty the cells without shrinking the grid press Clear All; to remove one specific row use the red cross at the start of it.

Frequently Asked Questions

Paste tab-separated cells and choose Import TSV, or paste CSV and choose Import CSV. Quoted separators, doubled quotes and quoted line breaks are supported. The importer does not open Excel workbooks or merge cells.

Inline HTML is a starting point where tables are accepted; sanitizers and email clients can change it. HTML + CSS contains table rules, while Bootstrap/Tailwind need their frameworks. Markdown uses escaped pipes and <br> line breaks. Test the target renderer.

An HTML table is a grid of data written with the table element. Rows are tr elements, header cells are th, data cells are td, and thead and tbody group the header row and the body. This generator writes exactly that structure, and thead and th appear only while the Header Row checkbox is ticked.

th marks a header cell and td marks a data cell. Browsers render th bold and centred by default, and assistive technology announces it as the label for the cells beneath it. Here the first row becomes th cells inside a thead when Header Row is ticked; untick it and every cell, row one included, is written as td.

No. The grid is always rectangular, so each row gets the same number of cells and no colspan or rowspan attribute is written. If you need merged cells, build the table here first, copy the HTML, then add colspan="2" or rowspan="2" to the cell in your editor and delete the cells it now covers.

Switch the output format from HTML to HTML + CSS. That version prints a style block with .fwt-table, .fwt-table th and .fwt-table td rules, plus an nth-child(even) stripe rule and a tbody tr:hover rule when those boxes are ticked, followed by clean markup that carries no style attributes at all, only class="fwt-table".

Two settings control this. With Bordered unticked, cells get a border-bottom only, so you see horizontal rules and no vertical ones. With it ticked, the lines are drawn in whatever the Border Color picker holds, and the default #e5e7eb is a very light grey that almost vanishes on a white page. Pick a darker colour and the grid appears.

Yes, both are output formats. Markdown pads each column with spaces so the raw source stays aligned and adds the separator row under the header, which turns the six-row sample into seven lines. CSV writes one line per row and wraps a field in quotes only when it contains a comma, a quote or a line break, doubling any quote inside it.

Responsive adds horizontal overflow wrapping to all four markup outputs. Bootstrap and Tailwind still need their destination styles; Markdown and CSV retain data.

FreeWebTools AI