CSV to HTML Table Converter – with Preview
NOVOCSV 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.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
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> |
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
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.
Por que usar esta ferramenta?
- 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
Recursos
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.
Como usar
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.