Skip to content
CornerTools

CSV Editor

Open, edit and clean CSV files in a spreadsheet grid: sort, filter, find and replace, add rows and columns, and save as CSV, Excel or JSON.

Drop a CSV file here, or

Your files never leave your device

Opens .csv, .tsv and .txt up to 50 MB · edited in this browser

Opens a CSV file as a grid you can edit like a spreadsheet: change any cell, paste a range copied from Excel or Google Sheets, add and delete rows and columns, sort, filter, find and replace, and clean up spaces, duplicate and empty rows. Every change can be undone. The file is read and edited in your browser and never uploaded, and values stay exactly as they are written: an ID like 007 keeps its zeros, which is what goes wrong when the same file is opened in Excel.

How to use it

  • Open a file (.csv, .tsv or .txt) of up to 50 MB (25 MB on a phone or tablet) and 2,000 columns: 50 MB is about half a million rows of a typical export. Or paste CSV text, start a New table, or open the Example.
  • Delimiter is found from the data, or from a sep= line Excel adds; choose another if the rows of a file or pasted text split wrongly. A file's Encoding is UTF-8, with a byte order mark honoured; a file that is not valid UTF-8 is read as Windows-1252 and the page says so, with other code pages to choose from. First row is headers names the columns from the first row; off, columns are lettered A, B, C, as is a column the header leaves without a name.
  • Row and Column insert and delete as many rows or columns as are selected; Column also renames, sorts and filters. The same items open with a right-click on the grid. A double-click on a column's name renames it too.
  • Numbers sit at the right of their cell, as in a spreadsheet, and text at the left. A number with leading zeros, such as 007, is kept as text and stays at the left.
  • Sort orders the rows by the selected column. A column whose values are all plain numbers sorts by value; any other sorts as text in your language, with runs of digits compared as numbers (item 2 before item 10). Empty cells go last.
  • Filter shows the rows whose value in the column contains the text you type, ignoring case. Find, Replace all and the column summary then work on the rows shown, and Save can write all rows or only those; sorting and the clean-ups still apply to every row.
  • Find tints every matching cell in view, and the match it has stepped to more strongly; Enter and Shift+Enter step to the next and previous.
  • Clean up trims spaces, tabs and line breaks from both ends of every value, removes rows equal to an earlier one, and removes rows that hold nothing but spaces. Each says how many it changed and is one undo step.
  • Undo keeps the last 100 changes. Each stores only what it changed, so undo works on large files too.
  • Under the grid, the column summary counts the selected column's values, empty cells and unique values, with the minimum, maximum, sum and mean when every value is a number.
  • Save downloads CSV (comma, semicolon or pipe, with a UTF-8 byte order mark and CRLF line ends, as RFC 4180 has them), TSV, an Excel workbook or JSON. CSV and TSV keep short rows short and write every value as it is, unless you turn on the formula guard. JSON takes its keys from the header, so values past its last name are left out, and the page says which rows held them.
  • While you edit, a table of up to 10 MB is kept in this browser's storage two seconds after you stop, and offered back if the page is closed before saving. A larger table is not kept, so leaving the page asks first.

Examples

A file saved by Excel on Windows

Excel's “CSV (Comma delimited)” saves in the Windows code page, not UTF-8, so an é is one byte (E9) that UTF-8 cannot read. Opened here:

Notice
This file is not valid UTF-8, so it was read as Windows-1252.
Second column
José

Saved again, the file is UTF-8 with a byte order mark, which Excel and every other program read correctly.

Formulas in a file to be opened in Excel

A cell starting with = (or +, - or @) runs as a formula when a spreadsheet opens the CSV. Saved as it is, and with Guard against formulas on:

Saved
name,note
Asha,=1+1
Ben,-5
Chen,@SUM(A1)
Guarded
name,note
Asha,'=1+1
Ben,-5
Chen,'@SUM(A1)

The guard puts an apostrophe before each formula, and leaves -5 alone: a spreadsheet reads a signed number as the number. The grid keeps the values as they were.

Keyboard shortcuts

Keys in the grid (⌘ for Ctrl on a Mac)
KeysDoes
Arrows, Page Up, Page DownMove; Shift with them selects a range
Ctrl+Home, Ctrl+EndThe first and last cell
Ctrl+ASelect every cell
Enter, F2 or typingEdit the cell; typing replaces its value
Enter, TabWhile editing: keep the value and move down, or right
Shift+Enter, Alt+EnterWhile editing: a line break in the cell
EscapeWhile editing: drop the change
Delete, BackspaceClear the selected cells
Ctrl+C, Ctrl+X, Ctrl+VCopy, cut and paste, as tab-separated cells
Ctrl+Z, Ctrl+YUndo and redo
Ctrl+FFind and replace
Shift+F10, menu keyThe menu for the selected cells

Frequently asked questions

Excel splits a CSV on the list separator of your system's region: a comma in English settings, a semicolon in most of Europe, where the comma marks decimals. A comma file opened with semicolon settings lands in one column, and the reverse. Save it here with the delimiter your Excel expects, or open it in Excel through Data → From Text/CSV, which asks.
The file was read in the wrong encoding. é is UTF-8 read as Windows-1252; � is a byte that is not valid in the encoding used. This editor reads UTF-8 and falls back to Windows-1252 by itself; for Cyrillic, Greek, Turkish, Arabic, Japanese, Chinese or Korean files from older programs, choose the code page under Encoding. Saving writes UTF-8 with a byte order mark.
Yes: every value is text as written, so 007, a 16-digit card number, 1E5 and 03/04/2026 stay exactly so, in the grid and in a saved CSV. Excel is what changes them when it opens the file. Saving as Excel here writes plain numbers, TRUE and FALSE, and 2026-02-28 dates as typed cells, and everything else, 007 included, as text.
When the file holds values from people you do not trust (form entries, sign-ups, comments) and will be opened in a spreadsheet. A value such as =HYPERLINK(…) runs there as a formula, the attack known as CSV injection. It is off by default because it changes values: a program reading the CSV, rather than a spreadsheet, would get the apostrophe too.
50 MB on a computer and 25 MB on a phone or tablet, where a page has far less memory. The table is held in a background worker, so the page stays responsive and only the rows on screen are drawn. Saving as Excel or JSON takes the most memory and time: JSON is about three times the size of the CSV.

See also