Skip to content

CSV to Table Converter

Paste CSV, tab-separated or semicolon-separated data and see it as a table with a header row, a row count and a column count. Copy the table as HTML with inline borders and padding, ready to drop into a web page, email template or CMS. Free, no sign-up, and the data stays in your browser.

Delimiter

How to Use the CSV to Table Converter

  1. 1. Pick a delimiter. Auto-detect is the default; choose comma, tab or semicolon if the guess is wrong.
  2. 2. Paste your CSV. Include the header row — the first line is always treated as the table's header.
  3. 3. Press Convert to Table. The preview appears with the number of data rows (the header is not counted), the number of columns and the delimiter setting.
  4. 4. Copy what you need. Copy HTML copies the table markup; Copy CSV copies your input exactly as you typed it.

What You Get

The preview is a plain table with the first row as th cells. Copy HTML produces a complete table element with thead and tbody, and every cell carries its own inline style, so the table keeps its borders without a stylesheet. For the sample Name,Age,City with rows for Alice and Bob, the table opens with:

Table

<table style="border-collapse:collapse;width:100%;font-family:sans-serif;font-size:14px">

Header cell

<th style="border:1px solid #ccc;padding:8px 12px;background:#f5f5f5;font-weight:600;text-align:left">Name</th>

Body cell

<td style="border:1px solid #ccc;padding:8px 12px">Alice</td>

The counts for that sample are 2 data rows and 3 columns. Cell text is HTML-escaped (&, <, > and double quotes), so data containing angle brackets shows up as text instead of becoming markup. The copy is the HTML source as plain text: paste it into a CMS HTML block, an email template or a code editor. It will not turn into a table if you paste it into a word processor — for a table that pastes into Word or Google Docs, use the APA Table Generator.

How the Delimiter Is Chosen

In auto mode the converter tries a comma, a tab and a semicolon on the first few lines, ignoring any that sit inside quotes, and picks the one that splits those lines into the same number of columns most consistently; a comma wins ties and is the fallback for a single column. The delimiter it chose is shown in the Delimiter card after you convert. If your data is separated by something else, such as a pipe, replace the separators with commas first. Spreadsheet programs in many European locales export semicolon-separated files because the comma is their decimal mark; tab-separated data is what you get by copying cells from a spreadsheet.

Limits to Know About

SituationWhat happensWhat to do
Quoted field containing the delimiterKept in one cell; doubled quotes become oneNothing — this works
Quoted field containing a line breakKept in one cell, line break included (Windows CRLF line endings are handled too)Nothing — this works
A stray quote inside an unquoted field, such as 12" rulerKept as ordinary text, because the field did not start with a quoteNothing — this works
Rows with different numbers of cellsShown as they are, not paddedAdd the missing delimiters to the short rows
Blank linesSkippedNothing
No header rowThe first data row is still shown as the headerAdd a header line

To turn the same data into JSON, or to convert JSON back to CSV, use CSV to JSON.

Which Tool Do You Need?

You wantUse
To see CSV as a table, or copy HTMLThis page
JSON from CSV, or CSV from JSONCSV to JSON
A Markdown table for GitHub or a READMEMarkdown Table Generator
LaTeX tabular codeLaTeX Table Generator
An APA 7 table for a paperAPA Table Generator
Only some of the columnsColumn Extractor

Frequently Asked Questions

What delimiters does the CSV converter support?
Comma, tab and semicolon, either auto-detected from the first lines or set by hand. Other separators, such as pipes, are not recognised; replace them with commas first.
Does the CSV converter handle quoted fields?
Yes. A field in double quotes can contain the delimiter or a line break, and two double quotes in a row become one. A quote in the middle of an unquoted field, as in 12" ruler, is kept as text.
How do I copy the table into a web page?
Press Copy HTML and paste into an HTML field or the code view of your page editor. Every cell has an inline style, so the borders and padding survive in editors and email templates that strip stylesheets. Edit the colours in the pasted code if you want a different look.
Can I paste the table into Word or Google Docs?
Copy HTML gives you markup as text, which a word processor will show as code. For a formatted table that pastes into those programs, use the APA Table Generator.
Can I paste cells straight from Excel or Google Sheets?
Yes. Cells copied from a spreadsheet arrive tab-separated, which auto-detect recognises. A cell that contains a line break arrives wrapped in quotes, and the converter keeps it in one cell.
Is my CSV uploaded anywhere?
No. The parsing and the preview happen in your browser, and copying uses your clipboard. Nothing you paste is sent to CitationEasy.
Is there a size limit?
There is no fixed limit, but the preview renders every row on the page, so tens of thousands of rows will slow your browser. For large files, convert a slice or use a spreadsheet program.

Related Tools

More in Data, Markup & Code

See all Data, Markup & Code