Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

CSV & Excel to HTML Table Generator

Paste spreadsheet cells, CSV or JSON and get semantic, escaped HTML table markup — with an optional ready-made style and a live preview.

Mis à jour le
Open file (.xlsx, .csv, .json)
Input

Rendered preview

Input preview

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : CSV & Excel to HTML Table

  1. Paste CSV or Excel cells, open a .csv, .xlsx or .json file, or load the sample.
  2. Pick a style: plain markup, built-in CSS, or Bootstrap classes, and add your own class names if needed.
  3. Toggle <thead>, HTML escaping, line-break handling and minification.
  4. Check the rendered preview, then copy the markup or download it.

What is an HTML table generator?

An HTML table generator converts rows of data into <table> markup you can paste into a web page, CMS, email or documentation. Writing that markup by hand is slow and error-prone — every cell needs its own tag and special characters must be escaped. This tool does it from CSV, Excel cells or JSON in one step.

Accessible, semantic markup

The header row becomes <thead> with <th scope="col"> cells, and the data goes in <tbody>. Screen readers use these elements to announce the column name for each cell, and browsers repeat <thead> on every printed page. An optional <caption> gives the table an accessible name.

<table class="data-table">
  <thead>
    <tr>
      <th scope="col">name</th>
      <th scope="col">plan</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Ada Lovelace</td>
      <td>pro</td>
    </tr>
  </tbody>
</table>

Escaping matters

With Escape HTML in cells on (the default), characters such as <, >, & and " are converted to entities, so a value like <b> shows as text instead of changing the page. Turn it off only when your cells deliberately contain trusted HTML such as links. The preview runs in a sandboxed frame with scripts disabled.

Style options

StyleWhat you get
Plain HTMLBare markup that inherits your site's CSS
Built-in CSSA small <style> block: borders, header background, zebra rows, right-aligned numbers
Bootstraptable table-striped table-bordered classes for Bootstrap 4/5 sites

For Webflow rich text and Markdown-based sites, a Markdown table may be simpler. To turn an existing HTML table into Markdown, use HTML to Markdown.

Aussi recherché comme : csv to html, excel to html table, html table generator, convert csv to html table, json to html table, spreadsheet to html.

Outils complémentaires : CSV & Excel to HTML Table

  • Select Menu Generator — Stop typing out option lists by hand.
  • HTML Formatter — Paste minified or messy markup and get clean, consistently indented HTML — including embedded <style> and <script> blocks.
  • Markdown to HTML — Write or paste Markdown and get clean HTML instantly — with a sanitized live preview, GitHub-flavored tables, task lists and fenced code blocks.
  • Excel to JSON — Open an .xlsx workbook or paste cells straight from Excel or Google Sheets and get clean JSON.

Questions fréquentes

How do I convert an Excel table to HTML?
Select the cells in Excel, copy, and paste them into the input pane — the tab-separated data is detected automatically. You can also open the .xlsx file directly.
Can cells contain links or other HTML?
Yes. Untick Escape HTML in cells and HTML in your data is kept as-is. Only do this with data you trust.
Will the table be responsive?
Wide tables need horizontal scrolling on phones. Wrap the table in a container with overflow-x:auto, which is what most responsive frameworks do.
Is my data uploaded?
No — conversion runs in your browser.
Puis-je installer CSV & Excel to HTML Table en tant qu’application web et l’utiliser hors ligne ?
Oui. CSV & Excel to HTML Table est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires