Skip to content

Text to Table Converter

Paste delimited text (CSV, TSV, pipe) and convert it to an HTML or Markdown table

0 characters

Turn Raw Delimited Text into Formatted Tables

Tabular data often starts as raw text — a CSV export from a database, a TSV paste from a spreadsheet, log output with pipe separators, or semicolon-delimited data from a European locale. Turning that text into a proper table for a web page, README, or documentation means wrapping every cell in the right tags or pipe syntax. This tool does that conversion instantly and lets you choose between HTML and Markdown output.

Smart Delimiter Detection

The auto-detect mode examines the first few lines and counts how consistently each common delimiter (tab, comma, semicolon, pipe) produces the same number of columns. The delimiter with the highest consistency wins. You can also select one manually if auto-detection picks the wrong one — common when data contains commas inside fields.

CSV Quoting Rules

The parser follows RFC 4180 conventions: fields enclosed in double quotes can contain the delimiter character, newlines, and literal double-quote characters (escaped as two consecutive quotes). This means you can paste real-world CSV files with addresses, descriptions, or JSON snippets inside fields and get correct results.

Visual Preview

After conversion, a rendered preview of the table appears below the code output. This lets you visually verify that columns aligned correctly, no fields were split incorrectly, and the header row was detected as expected — before copying the code into your project.

Multiple Output Formats

Choose between an HTML table with semantic thead/tbody structure, a Markdown table for GitHub and documentation tools, or cleaned CSV output. The format selector lets you convert between these representations without re-entering data.

Privacy

All processing runs in your browser. No data is sent to any server, making this safe for database exports, financial data, and any other sensitive tabular information.

$ faq

What delimiters are supported?
The tool auto-detects tabs, commas, semicolons, and pipes. You can also select a specific delimiter manually or enter a custom character. Tab-separated is the default format when copying from spreadsheets.
Can it handle CSV with quoted fields?
Yes. Fields wrapped in double quotes are treated as a single value, even if they contain commas or newlines. Escaped quotes ("") inside quoted fields are handled correctly.
What output formats are available?
You can output as an HTML table (with thead/tbody/th/td), a Markdown table (with alignment), or cleaned CSV. The HTML and Markdown formats include a header row if the"first row is header" option is enabled.
How does auto-detection work?
The tool counts occurrences of common delimiters (tab, comma, semicolon, pipe) across the first few lines and picks the one that produces the most consistent column count. If no clear winner, it defaults to comma.
Can I preview the table before copying?
Yes. After conversion, a visual table preview appears below the output code so you can verify the data looks correct before copying.
What if my rows have different numbers of columns?
The tool pads short rows with empty cells and preserves long rows. This makes the output consistent even if the source data is slightly irregular.
Is my data sent to a server?
No. All processing runs in client-side JavaScript. Nothing is uploaded or stored.