HTML Table Generator

Build an HTML table without writing the markup. Type into an editable grid, or paste rows straight from Excel, Google Sheets or a CSV file, then choose the styling — inline CSS that works in email, Bootstrap, Tailwind or your own class — with a header row, caption, striping, borders and per-column alignment. Copy clean, accessible HTML or the same table as Markdown. It's free, runs in your browser, and your data stays on your device.

Styling options

OptionBest for
Inline CSSEmail and CMSs that strip styles
Plain HTMLSites with their own table CSS
Bootstrap 5Bootstrap projects
TailwindTailwind projects
Custom classYour own stylesheet

When to use it

  1. Turn a spreadsheet range into a table for a blog post or CMS.
  2. Make a pricing or comparison table for an HTML email.
  3. Convert a CSV into a Bootstrap or Tailwind table.
  4. Produce a Markdown table for a README from spreadsheet data.

How to Use

  1. Type into the grid, paste from a spreadsheet, or drop a CSV.
  2. Set column alignment and whether the first row is a header.
  3. Choose the styling, caption, stripes and borders.
  4. Copy the HTML or Markdown.

Features

  1. Editable grid
  2. Paste from Excel, Sheets or CSV
  3. Inline CSS, Bootstrap, Tailwind or custom class
  4. Accessible thead/th/caption
  5. HTML escaping
  6. Markdown output
  7. 100% client-side

FAQs

How do I convert Excel to an HTML table?

Copy the cells in Excel or Google Sheets and paste them into the paste box — the grid fills in and the HTML updates.

Is the HTML accessible?

Yes. The header row uses <th scope="col"> inside <thead>, and you can add a <caption>.

Which styling works in email?

Inline CSS. Many email clients strip <style> blocks and classes, but keep inline styles.

What if my data contains < or &?

It's escaped, so it displays as text and can't break or inject into your page.

Is my data uploaded?

No. The table is built in your browser.

Technical Details

Data comes from an editable grid — add or remove rows and columns and type into the cells — or from text pasted out of a spreadsheet or dropped as a CSV, which is parsed with delimiter detection so tab, comma and semicolon-separated data all work, with quoted fields respected. The output is semantic HTML: an optional caption, the header row inside thead as th elements with scope="col" so screen readers announce column names, and the rest inside tbody. Every cell is HTML-escaped, so text such as <script> or an ampersand in the data appears as text rather than becoming markup — the safe default when the data came from somewhere else. Short rows are padded so every row has the same number of cells. Styling can be plain, inline CSS (which survives in email clients that strip stylesheets), a class of your choice, Bootstrap 5's table classes or Tailwind utilities, with striping, borders and per-column alignment. A Markdown version of the same table is produced too, with alignment markers and pipes escaped.

Developer Tools

Developer Tools

  • Regex Cheatsheet
  • JSON to GraphQL
  • Regex Escape & Extract
  • AI Prompt Generator
  • Combine Files for AI
  • Freelance Rate Calculator
  • H-1B Wage Level Worksheet
  • Keyboard Tester