FormatterHQ

CSV Editor Online

Open a CSV or TSV file, or paste one, and edit it in a table: change cells, add, move or delete rows and columns, sort, filter and replace, then save it with the delimiter you need.

Loading tool…
Ready.

How to use the CSV Editor Online

  1. Drop a .csv or .tsv file on the box, paste CSV and click Load pasted CSV, or start with New table.
  2. Click a cell and start typing, or press Enter to edit it. Use the toolbar to add, move or delete rows and columns, and the arrows in the header to sort.
  3. Narrow the rows with Filter rows, or use Find and Replace all to change many cells at once. Undo reverses any step.
  4. Choose the delimiter, quoting and BOM, then click Download CSV, TSV or Copy.

Edit CSV files in a table, not a text editor

A CSV file is easy to break in a plain text editor: one missing quote around “Rossi, Mia” and every column after it shifts. This online CSV editor reads the file properly, shows it as a grid, and writes valid CSV back out, quoting fields only where needed. It runs in your browser, so the file is not uploaded, and there is nothing to install.

Opening CSV and TSV files

  • Delimiter: comma, semicolon, tab and pipe are detected automatically. If a file is read the wrong way, pick the delimiter under Read as and it is read again.
  • Encoding: UTF-8 with or without a BOM and UTF-16 with a BOM are recognised; a file that is not valid UTF-8 is read as Windows-1252, which is what older Excel exports use.
  • Quoted fields with commas, double quotes ("") and line breaks inside a cell are kept as one cell.
  • Rows shorter than the widest row are padded with empty cells, and the editor tells you if quotes are unbalanced.

Keyboard editing

The table works like a spreadsheet:

KeyAction
Arrow keys, Home, EndMove between cells (Ctrl+Home / Ctrl+End jump to the first or last row)
Enter or F2, or just typeEdit the cell; typing replaces its content
Enter / TabSave and move down / right
Shift+EnterNew line inside the cell
EscCancel the edit
DeleteClear the cell
Ctrl+Z, Ctrl+YUndo and redo

Tick or untick First row is a header to decide whether the first row holds column names. Header cells are edited the same way as other cells.

Rows, columns, sorting and filtering

The toolbar inserts a row above or below the selected one, moves it up or down, and deletes it; columns can be inserted left or right, moved and deleted the same way. Sorting looks at the whole column: if every non-empty value is a number (including 1,234.50, $12 or 15%), it sorts by value, so 9 comes before 10. Otherwise it sorts text in natural order, ignoring case, so “file2” comes before “file10”. Empty cells always go last, and a second click on the header arrow reverses the order.

The filter box shows only rows that contain your text, in any column or in one you choose. Edits, find and replace, and exports can then work on just those rows.

Find and replace

Find next walks through matching cells, Replace changes the current one, and Replace all changes every match in the visible rows in one step that a single Undo reverses. Options: Match case, Whole cell (the cell must equal the search text) and Regex, where $1 in the replacement inserts a captured group. For example, find ^(\d{4})-(\d{2})-(\d{2})$ and replace with $3/$2/$1 to turn 2026-03-14 into 14/03/2026.

Large files and undo

Big files are shown one page at a time (50 to 500 rows per page), so tens of thousands of rows stay responsive; arrow keys move across page boundaries. Every change, including a sort or a replace all, can be undone, up to the last 300 steps. If you try to load another file while you have unsaved edits, the editor asks first, and even after you confirm, Undo brings the edited table back. It also warns before you leave the page with unsaved edits.

Saving your CSV

Choose comma, semicolon, tab or pipe as the delimiter and how fields are quoted: only when needed, every field, or everything except numbers. Tick UTF-8 BOM if Excel shows accented letters incorrectly. Rows end with CRLF line breaks, the CSV standard. Values are written exactly as they appear, so leading zeros, dates and long numbers are not changed. Download as CSV or TSV, or copy the text.

To just look at a file, the CSV viewer is lighter. Related tools: merge CSV files, split a large CSV and convert CSV to JSON.

Frequently asked questions

Can I edit TSV or semicolon-separated files?
Yes. The delimiter is detected automatically for comma, semicolon, tab and pipe files, and you can force one under Read as. You can also save with a different delimiter than the file had.
Does the editor change values like leading zeros or dates?
No. Every cell is kept as text, so 00123, 2026-03-14 and long ID numbers are written back exactly as they are. Only the quoting follows the option you choose.
How large a CSV file can I edit?
Files up to 100 MB can be opened. The table shows one page of rows at a time, so files with tens of thousands of rows stay fast; very large files depend on your device memory.
Can I undo a sort or a Replace all?
Yes. Each sort, replace all, row or column change and cell edit is one undo step. Ctrl+Z and Ctrl+Y (or the toolbar buttons) move back and forward through the last 300 steps.
Why do accented letters look wrong when I open the file in Excel?
Excel often assumes a legacy encoding for CSV files. Tick UTF-8 BOM before downloading; the byte order mark tells Excel the file is UTF-8.
Is my CSV file uploaded?
No. The file is read and edited in your browser and the result is saved straight to your device. Save & Share stores pasted tables only, never the contents of an opened file.

Last updated October 17, 2026

Related tools

Online HTML Editor Write and edit HTML with autocompletion and a sandboxed live preview, then copy or download the finished document. JSON Editor Edit JSON online with a live tree preview, instant validation and one-click formatting, repair and minification. Online Markdown Editor Write Markdown with a live side-by-side preview and the generated HTML source. Free online Markdown editor, no sign-up. Mermaid Live Editor Write Mermaid flowcharts, sequence, class, ER, Gantt and state diagrams with a live preview, then export SVG or PNG. Online Code Editor Multi-language online code editor with syntax highlighting for 30+ languages. Open, edit, save and download code files. Real-Time HTML Editor A real-time HTML playground for learning: edit HTML, CSS and JavaScript and watch the result update as you type. CSV to PDF Converter Convert CSV to a printable PDF table: header row on every page, fitted and wrapped columns, A4, Letter or Legal, page numbers. Made in your browser. CSV Viewer View CSV files as a clean, sortable-looking table in your browser. Auto-detects commas, semicolons, pipes and tabs. LaTeX Table Generator Convert CSV, spreadsheet cells or JSON into LaTeX tabular code with captions, labels, borders or booktabs styling. Markdown Table Generator Generate GitHub-flavoured Markdown tables from CSV, TSV, Excel cells or JSON, with column alignment and neat padding. Merge CSV Files Merge several CSV files into one: match columns by header name or position, add the source file name, remove duplicate rows. Runs in your browser. CSV Splitter Split a CSV file every N rows, into equal parts or by the values of a column. The header is kept in every file; download parts or one ZIP.