Table Editor

CSV Table Generator

Create a table or paste data from a spreadsheet, edit it in the grid and copy it as CSV. You can also import a CSV file and edit it here.

How to create your table

  1. Type in the grid, paste cells from a spreadsheet, or open a file with File › Import.
  2. Choose the delimiter in the output panel menu (⋮): comma, semicolon, tab or pipe.
  3. Copy the CSV from the output panel, or download it with File › Export.

Example output

Item,Qty,Price
Widget,4,3.00
Gadget,12,5.50
"Cable, 2 m",1,9.99

Delimiters

CSV means comma-separated values, but many files use another character. A semicolon is common where the comma is the decimal separator, as in German or French versions of Excel. Tab-separated values (TSV) are what Excel and Google Sheets put on the clipboard when you copy cells.

Choose Delimiter in the output panel menu (⋮): comma, tab, semicolon or pipe. When you import a file, the editor reads its first rows to find out which of the four it uses.

Quoting and escaping (RFC 4180)

RFC 4180 describes the rules most CSV readers follow. A field that contains the delimiter, a double quote or a line break is wrapped in double quotes, and a double quote inside a field is written twice. The generator follows these rules, and also quotes a value that starts or ends with a space, because many readers drop those spaces.

Rows end with a line feed (\n) rather than the CR LF that RFC 4180 specifies. The importer reads either, along with quoted fields that hold delimiters, line breaks or doubled quotes; blank lines are skipped.

Item,Note
Cable,"2 m, black"
Sign,"Says ""Open"""

Numbers and currencies

CSV has no data types: every field is text. When you import a CSV file, each value is kept as it is written, so 1,234.50 or $9.99 stays that text.

When you export, each cell is written as the grid shows it. A cell with a number format, such as currency, is written with that format, for example $1,234.50, and is quoted when the comma delimiter is used. Number formats from an imported Excel file are kept, so the same applies to them. For plain numbers, set the cells to Format › Number format › Plain text before you copy.

Converting CSV to Markdown, LaTeX or HTML

Open the .csv or .tsv file with File › Import, or paste the CSV text there. If the first row holds the column names, use Row › Set first row as header. Then pick the format in the output panel and copy it: Markdown, LaTeX, HTML or one of the others. For a database, the SQL format writes one INSERT statement per row.

What the editor can do

  • Merge and split cells
  • Paste cells from Excel, Google Sheets or an HTML table
  • Import CSV, TSV, Excel (.xlsx), OpenDocument (.ods), Markdown, HTML, LaTeX, Typst, JSON, MediaWiki and plain text tables
  • Copy the table as one of 14 text formats, or download it as an Excel, OpenDocument or Word (.docx) file
  • Header rows and columns, borders, and bold, italic and alignment per cell
  • Number formats for numbers, percentages and currencies
  • Checkboxes, and one link per cell. Links stay links in Markdown, HTML, LaTeX, Typst, Excel, Word and the other formats that have them
  • Sort, transpose, fill down or right, and find and replace with regular expressions
  • Undo and redo, keyboard shortcuts and a command palette (Alt+Q)
  • Save tables in the browser, reopen recent tables and share a table as a link
  • Also available as a Windows app

Table Editor for Windows

The same editor as a Windows app, with what a browser tab can't do.

  • Tabs. Keep several tables open at once. Tabs with unsaved changes come back when you start the app again.
  • Your own files. Open Excel, CSV, Markdown, LaTeX and other files directly, also from Windows Explorer, and save back to the same file.
  • Offline, without ads. Works without an internet connection. No ads, no analytics, and nothing leaves your computer.

A one-time purchase in the Microsoft Store.

Get it from MicrosoftGet it from Microsoft

Frequently asked questions

Can I change the delimiter?
Yes. Choose comma, semicolon, tab (TSV) or pipe in the output panel menu. Spreadsheet programs set to a language that writes decimals with a comma usually expect semicolons.
When are values quoted?
A value is wrapped in double quotes when it contains the delimiter, a double quote or a line break, or when it starts or ends with a space. A double quote inside a value is written twice (""), as described in RFC 4180.
Are number formats kept?
CSV holds only text, so each cell is written as it is shown in the grid, for example $1,234.50. If you need the plain numbers, set the cells to Format › Number format › Plain text, or export to Excel to keep both the number and its format.
How are checkboxes and links written?
A checkbox (Format › Number format › Checkbox) is written as ✓ when it is checked and as an empty cell when it is not. The Checkboxes as setting in the output panel menu (⋮) changes that to Yes and No, or true and false. A link is written as its text, or as the web address when the cell has no text. Importing CSV reads every value as text, so TRUE or ✓ does not become a checkbox.
Can I import an existing CSV file?
Yes. Use File › Import to paste CSV or open a .csv or .tsv file. Comma, semicolon, tab and pipe delimiters are supported.

Sources and further reading

About Table Editor · Changelog

Loading the editor…