Esta página aún no está traducida al español, así que la mostramos en inglés.

HTML Table Generator — Build Tables Visually

Type your data into a spreadsheet-like editor — or paste from Excel or Google Sheets — and copy clean, semantic HTML table code with <thead>, <tbody> and alignment, ready for a website, CMS or email.

Actualizado el
Tip: paste a range copied from Excel or Google Sheets into any cell.

Import

Tus datos nunca salen de tu ordenador. Todo se procesa localmente en tu navegador.

Cómo usar: HTML Table Generator

  1. Type into the cells — the first row becomes the table header (<th>).
  2. Paste a range from Excel or Google Sheets into a cell to fill many cells at once.
  3. Set column alignment with the buttons above each column.
  4. Copy the HTML — switch to Markdown if you need it for a README.

Anatomy of an HTML table

<table>
  <thead>
    <tr><th scope="col">Plan</th><th scope="col" style="text-align: right">Price</th></tr>
  </thead>
  <tbody>
    <tr><td>Pro</td><td style="text-align: right">$12</td></tr>
  </tbody>
</table>
  • <thead> and <th scope="col"> mark the header row, so screen readers announce the column name for each cell.
  • <tbody> holds the data rows; browsers add it anyway, but writing it keeps your CSS selectors predictable.
  • Only use tables for tabular data — for page layout, use CSS Grid instead.

Tables in emails

Email clients ignore most CSS, so keep the table simple and use the alignment attributes the generator adds. Test in the clients you care about.

Have the data as a CSV file? CSV to HTML Table converts it directly.

También se busca como: create html table, html table code, table generator html, excel to html table, html table maker, table html online, html table builder.

Herramientas que combinan con: HTML Table Generator

  • Select Menu Generator — Stop typing out option lists by hand.
  • Markdown Table Generator — Build a table in a spreadsheet-like editor — or paste cells from Excel, Google Sheets or CSV — set column alignment and get a neatly aligned Markdown table (GitHub-flavored) or clean HTML.
  • HTML Formatter — Paste minified or messy markup and get clean, consistently indented HTML — including embedded <style> and <script> blocks.
  • HTML Minifier — Shrink HTML pages and templates by removing comments and redundant whitespace, minifying inline <style> and <script>, and cleaning up attributes — while keeping the layout identical.

Preguntas frecuentes

How do I make an HTML table?
Fill in the editor here and copy the generated code — or write
, for each row, with
for header cells and for data cells.
How do I convert an Excel sheet to an HTML table?
Copy the cells in Excel and paste them into the first cell of the editor. The HTML updates instantly.
Is the HTML accessible?
Yes — the header row is in
cells, which screen readers use to announce columns.
Can I style the table?
Add a class to the and style it in your CSS; the generated code has no inline styles except text-align for aligned columns.
¿Puedo instalar HTML Table Generator como aplicación web y utilizarla sin conexión?
Sí. HTML Table Generator es una aplicación web instalable (PWA): se instala desde el navegador, no se descarga desde una tienda de aplicaciones. Haz clic en «Instalar aplicación» en la parte superior de esta página en Chrome o Edge (Windows, macOS, Linux, ChromeOS) o, en Android, utiliza «Compartir» → «Añadir a la pantalla de inicio» en iPhone y iPad, o «Archivo» → «Añadir al Dock» en Safari 17+ en un Mac. A continuación, se abrirá en su propia ventana con su propio icono y, como se ejecuta íntegramente en tu navegador, seguirá funcionando sin conexión. Firefox en el ordenador de sobremesa no permite instalar aplicaciones web. Cómo funciona la instalación.

Herramientas relacionadas