CSV to HTML Table Converter – with Preview
NOUVEAUCSV to HTML table converter: turn CSV or TSV into clean, escaped <table> code with thead, class names or inline styles, plus a live preview. Free, in-browser.
Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.
Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.
Preview (3 rows)
| City | Country | Population | Note |
|---|---|---|---|
| Tokyo | Japan | 37400068 | Largest metro area |
| Delhi | India | 28514000 | Includes "NCR" suburbs |
| São Paulo | Brazil | 21650000 | <b>escaped</b> |
Exemples rapides
Des entrées typiques et les résultats produits par cet outil.
Présentation
This CSV to HTML table converter turns comma-, semicolon-, tab- or pipe-separated data into ready-to-paste <table> markup. The first row can become a <thead> with <th scope="col"> cells, you can add class names such as a Bootstrap or Tailwind table class, or switch on minimal inline styles so the table has borders and padding in an email or a CMS that strips CSS.
It follows RFC 4180, so quoted fields with commas, doubled quotes and line breaks are read correctly, and the delimiter is detected for you. Every cell is HTML-escaped, which means a value like <script> shows as text instead of running, both in the code and in the live preview.
Bloggers, support teams and developers use it to publish spreadsheet exports on a web page. Conversion happens in your browser; the data is not uploaded.
Pourquoi utiliser cet outil ?
- Paste CSV, get valid HTML instantly
- Handles quotes, commas and multi-line cells
- Escapes every cell to prevent broken markup
- Optional thead, classes and inline styles
- Private: no upload
Fonctionnalités
Delimiter detection
Recognises comma, semicolon, tab and pipe, or let you pick one manually.
RFC 4180 parsing
Quoted fields, "" escapes and line breaks inside quotes are handled; short rows are padded.
Header and classes
Optional <thead> with scoped <th> cells and any class names on the <table>.
Inline styles
One click adds border and padding styles that work in emails and locked-down editors.
Safe live preview
See the table rendered as you type, with every cell escaped.
Copy or download
Copy the code or download it as table.html, indented or on one line.
Mode d'emploi
Paste CSV or TSV
Paste your data into the CSV or TSV data box, or press Sample.
Check the delimiter
Auto-detect shows what it found; pick another one if needed.
Set the options
Toggle the header row, add a class, inline styles or indentation.
Copy the HTML
Check the preview, then press Copy or Download.