Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

HTML Table Generator

Paste rows from a spreadsheet or a CSV file and get the code of an HTML table. Header cells, a caption and simple styles can be added, and the text is escaped for you.

How to use HTML Table Generator online

  1. Paste the rows. From a sheet or CSV.
  2. Set header, caption and class. Optional.
  3. Pick a styling option. None or inline.
  4. Copy the HTML. Paste it into your page.

Why use this free HTML Table Generator

  • Sheet, CSV and bar separators
  • Header and row-header cells
  • Caption
  • Inline style option
  • Escaped text
  • Up to 5000 rows

From a sheet to HTML

Copy cells from a spreadsheet and paste them here, and the page reads the tabs between cells. It also reads comma, semicolon and bar separated text, and quoted cells that hold a comma or a line break. The separator is detected for you, or you can set it by hand.

Accessible markup

The first row can become a header row inside thead, with scope set to col on each header cell. The first column can become a row header with scope set to row. A caption gives the table a title that screen readers announce. These small details make a table much easier to use with assistive technology.

Styling

The default output has no styling, so your own style sheet controls the look. You can add a class name, or choose simple inline styles with borders and padding, which survive when the code is pasted into an email or a content editor that drops style sheets. Number columns can be right aligned, and rows can be striped.

Escaping and safety

Characters such as the less-than sign and the ampersand are turned into safe codes, so a cell can never break the table or add a tag. Ragged rows are padded with empty cells, so every row has the same number of columns. The result updates as you type.

Limits

The page handles up to five thousand rows. It makes the table markup and does not merge cells or build nested tables. The input is processed in your browser and is not uploaded.

Using the tool

The result shows under the boxes and refreshes as you edit. Press Try a sample to see how it behaves.

HTML Table Generator: frequently asked questions

How do I paste from a spreadsheet?
Select the cells, copy them and paste into the box. The tabs between cells are read automatically.
Why use a header row?
It tells assistive technology which cells describe the columns, and it helps search engines read the table.
Will the inline style match my site?
It is plain on purpose. Use a class and your own CSS for a matching look.
Can a cell break my table?
No. Special characters are escaped, so they show as text.
Can it merge cells?
No. Add rowspan or colspan by hand if you need them.
Is the text I paste into the HTML Table Generator uploaded?
No copy is made on a server; the HTML Table Generator runs in your browser.
Can I save what the HTML Table Generator gives me?
Yes. Copy the HTML Table Generator result, or press Use result as input and carry on with the new text.

Related searches for HTML Table Generator

  • HTML Table Generator online
  • free HTML Table Generator
  • HTML Table Generator online free
  • HTML Table Generator for mobile
  • HTML Table Generator without sign up
  • HTML Table Generator – Developer & Web Tools

HTML Table Generator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Developer & Web Tools →

Search tools