Back to home

CSV Editor

Open a CSV or Excel file and edit it like a small spreadsheet. Sort a column, add or delete rows and columns, then save it again as CSV or XLSX.

  1. Open a CSV or Excel file
  2. Edit cells, sort and add or delete rows and columns
  3. Save as CSV or XLSX
Loading the tool...

Your files never leave your device

Editing a table in the browser

Open a CSV or Excel file and it appears as a small spreadsheet that you can change cell by cell. Select a column from the menu to sort it, add a column after it or delete it, and add rows at the bottom. When you are done, save the table again as CSV or XLSX.

A worked example

Say a customer export has 1,250 rows and 8 columns. The status line shows 1,250 rows, 8 columns and page 1 of 13, because 100 rows are displayed at a time and 1,250 divided by 100 is 12.5, rounded up to 13. Choose the City column and press Sort A to Z, and all rows are reordered, not only the ones on the page.

Then add a column after it, type a heading and fill the cells, delete an unneeded column and save as XLSX. Numbers sort by value and text in natural order, so 9 comes before 10.

What is not kept

The editor works on cell values only. Colors, fonts, merged cells and formulas are not saved; a formula is stored as the result it shows. Keep your original file if the formatting matters, and use this tool for data cleaning rather than layout.

CSV files are saved as UTF-8 with a byte order mark, so Excel shows accents, Arabic and Chinese correctly. Very large files depend on your browser's memory and may be slow to edit.

Frequently asked questions

Which files can I open?

CSV, TSV, TXT, XLSX, XLS, XLSM, XLSB and ODS files.

How are numbers sorted?

Numbers are sorted by value and text in natural order, so 9 comes before 10.

Does saving keep my formatting?

No. The editor works on the cell values, so colors, formulas and merged cells are not kept.

Which encoding is used for CSV?

UTF-8 with a byte order mark, so Excel shows Arabic, Chinese and accents correctly.

Is there a size limit?

It depends on your browser memory. Very large files may be slow to edit.

Is my file uploaded?

No. The file never leaves your device.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D