CSV Editor Online
View, Edit And Fix A CSV File
This CSV editor online shows your file as a table you can change. Fix cells, sort rows, clean duplicates and copy the result. We upload nothing.
- FreePrice
- 300+Rows shown
- NoneSign-up
- NoneUploads
CSV Viewer and Editor
Read CSV in a table, fix it by hand and copy it back
- Rows
- 0
- Columns
- 0
- Size
- 0 B
Click a cell, then use a button. Sort, add and delete act on the cell you picked. Press Enter inside a cell for a line break.
Ready. Paste CSV or open a file.
What A CSV Editor Online Does For You
CSV files are simply plain text, making them very difficult to read. There are no spaces between the comma, quote and line break characters. Spreadsheets solve this problem, but they alter your data. Many people would like to have a easier method of looking at a file and correcting it.
This tool does just what you need, within your browser. You can either paste a CSV or load one from your computer. Once the table displays, you will be able to edit the contents of each cell by clicking it. The CSV on the right updates as you make your changes.
It opens files separated by commas, semicolons, tabs and pipes. It finds the right one for you, and you can pick it by hand. It also keeps line breaks inside a cell, which many simple viewers lose.
Every portion of the viewer is run in a separate tab within the browser. The CSV file will not leave the computer/device that you used to open the file. This is important since exports typically contain names, e-mails, and prices.
See A CSV File As A Table
First, import your text, or select a file to open. It will create rows and columns from your text. The first row of your imported data will become the column headers. If you don’t have headers in your file, you can turn them off.
Long files show in pages of three hundred rows. Then a button loads more. So a big export still opens fast, even on a phone.
Also, if a row has fewer fields than the rest, the tool adds empty cells and tells you. That keeps every row at the same number of columns.
For more detail, see: Wikipedia article on CSV files.
Edit, Sort And Clean
You will see your changes instantly when you click into a cell in the grid and begin typing. For larger tasks, such as adding or deleting rows or columns, and sorting the data based on the column you have selected, use the available buttons.

Three "clean-up" buttons will save you lots of time. One of these buttons removes any extra spaces in your data. The second button will delete all blank lines. The last button deletes all but one of the identical lines in your data.
The top row of your table will remain stationary while you organize. So, the names of your columns will never move down into the data.
Escape And Unescape A Field
Some jobs need only one field. Maybe you must put a sentence with commas and quotes into a CSV. The escape box does that. It wraps the text in quotes and doubles every quote inside.

In contrast, the unescape command will remove the outermost set of quotes and turn each doubled quote into a single quote. This allows you to view a field that was written to a file.
Line Breaks Inside Cells
A CSV cell may contain multiple rows, given they are surrounded by quotes. Such cells are often found within notes and addresses. While many applications will separate the cell into two, this application maintains the integrity of the cell.
To create a new line within a cell of the table, use the enter key. The system will then place your entry into quotation marks.
So a file with multi line text opens, edits and saves without damage.
Delimiters And Quotes
CSV means comma separated values, but real files vary. Some files are separated by semicolons, since many countries write decimals with a comma. Others use tabs or pipes. The reader checks the first lines and picks the right one.
You may select an alternative delimiter for copying. So, you may use a semicolon delimited file and save it using comma delimiters, or vice versa.
The writer uses the same standard rules. It will quote a field that contains either the delimiter, a quote, a line break, or a space at the end of the field. In addition, you may use quotes on all of your fields if the import process needs it.
A Guard For Spreadsheet Formulas
When you open a file using Microsoft Excel, if the first character of any cell is an "=", it may be treated as a formula. This type of attack is referred to as "CSV Injection". To prevent this from happening, the Guard prepends an apostrophe to the beginning of those types of cells.
The software will leave normal numbers (positive and negative) as they are. The user may disable the guard on the software when they know the data being processed is safe.
Reasons To Use An Online CSV Viewer
A spreadsheet app is heavy for a quick look. It also guesses types, so it can turn a ZIP code into a number and drop the zero. A plain viewer shows your text as it is.
Besides, the tool works on any device and needs no install. So you can check a file on a laptop at work or on a phone on the train.
Finally, the result is in simple CSV format. This can be used to populate a database, create a script, or send through email.
Safe By Design
The tool draws cells as text and never as markup, so a hostile file cannot run code in your page. Also, it never runs a formula from your data.
Watch the CSV Viewer and Editor in Use
This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.
Using The CSV Editor, Step By Step
Four steps take you from a raw file to a clean one.
Paste your CSV
Paste it, open a file, or load the sample.
Read the table
Check the columns. Switch the header option if the first row is data.
Edit and clean
Type in cells. Sort, add, delete or remove duplicates with a button.
Copy or save
Copy the CSV, or save it as a file with the delimiter you want.
What This CSV Editor Does Differently
It is light, it is private, and it keeps your data as you wrote it.
Real editing
You can click any cell on the grid and then type. No other windows, no exporting required.
Multi line cells
Line breaks inside a field stay in that field.
Any delimiter
Reads and writes commas, semicolons, tabs and pipes files.
Formula guard
Cells that look like formulas get a safe prefix.
No type guessing
Leading zeros in ZIP codes are kept. Long ids stay exact.
Nothing leaves your tab
The work takes place on your side in your browser. We will not be able to view your file at any time.
Habits For Editing CSV Files Safely
A few simple habits keep your data tidy.
- Keep a copy. Keep a copy of the original document before you edit it. It won’t cost anything to make a copy.
- Check the delimiter. If everything lands in one column, pick the right delimiter by hand.
- Keep the header row. Column names make the file readable and keep imports working.
- Use UTF-8. The script is downloaded with a mark to make sure that when Excel opens the file, it reads correctly. It also preserves all of your accents and other scripts.
- Quote text with commas. The tool does it for you, but check addresses and notes.
- Trim before you compare. Extra spaces make two equal values look different.
- Remove duplicates last. First, drop any extra spaces in your data. Next, remove any duplicate rows. If you do this in reverse, rows with extra spaces will remain.
- Make sure you sort by the correct column. Click a cell in that column before you press a sort button.
- Keep zeros as text. Do not open a ZIP code column in a spreadsheet and save it back.
- Try it on a handful of rows. Try ten rows in your import first. After that, load the full file.
- Mind private data. Delete personal columns before you share a file.
Common CSV Mistakes This Tool Prevents
Each of these quietly damages a file. The editor guards against them.
Lost leading zeros
ZIP codes and phone numbers keep their zeros as text.
Formula injection
A cell that starts with = gets a safe prefix.
Broken quotes
An unclosed quote shows a clear message instead of a messy table.
Split multi line rows
A cell with a line break stays in one row.
Wrong delimiter
The reader checks the first lines and picks the delimiter.
Uploading private files
Many viewers send your file to a server. This one never does.
CSV Editor Online Questions People Ask
Is this CSV editor online free?
Yes. This service is free, needs no login or registration and allows unlimited use. Since your computer processes all data, we do not need a payment for the costs of running our servers.
Is the CSV file I open sent to a server?
The browser reads the file and displays the table. There are no files that reach the server and we don’t save any files.
How do I open a CSV file in this viewer tool?
Click "Open" to load a file, or enter your text in the left-hand column. As soon as you do this, your table will appear.
How large a CSV file can the viewer handle?
A few megabytes. The table shows three hundred rows at a time, and a button adds more.
Can I change the value in a cell directly?
Yes. Click on one of the cells in the grid, then begin to type into that cell. After you have clicked on a cell and begun to type, the CSV on the right will update.
How can I start a new line inside one cell?
While you are editing the cell, press the "Enter" key to create a new line. After you create a new line, the output will wrap that cell with quotation marks.
What delimiters work?
The software finds comma’s, semi-colon’s, tab’s, and pipe’s in the document. It will find these and then you can choose the correct character to replace with.
Can I save with a different delimiter?
Yes. Change the delimiter that you are using to copy. You can then open a semicolon-delimited file and save it with comma delimiters.
What does the first row option do?
It reads row one as the column names. Switch it off if your file starts with data.
How does sorting work?
After clicking a cell in a column, press the sort button to arrange numbers based upon their values, while keeping the first row of data (the header row) at the top.
Which duplicates does it remove?
For rows with identical values in all cells, keep only the initial instance of each row. All subsequent copies should be removed.
What does the formula guard do?
A cell in a spreadsheet that begins with "=", "+", "-", or "@" can be executed as a formula. The guard adds an apostrophe before the cell contents.
What does escape do?
It wraps a text in quotes and doubles each quote inside, so one field is safe in a CSV file.
What does unescape do?
It will remove the first set of double quotes, and change all other double quotes to single quotes. This allows you to read a single field from a CSV file.
Are leading zeros kept?
Yes. Every cell is text, so 00123 stays 00123.
Will the file I save open in Excel?
Yes. The download starts with a UTF-8 mark, so accents show correctly in Excel.
Will the tool alter my original text?
No. The left box stays as you pasted it. Your edits live in the table and the CSV on the right.
What happens if a quote in my file is broken?
The tool will give an error message with the name of the problem. If you fix the quote, the table will load.
Does it run on phones too, or only on desktops?
Yes. The panels stack and the table scrolls. For long edits, a keyboard is still easier.
Handy Companions For Data Work
Editing is one step. These three tools handle the steps around it.
- CSV to JSON Converter
Turn a CSV export into typed JSON.
- XML to CSV Converter
Turn XML, YAML and JSON into CSV.
- Excel Converter
Open an Excel file and convert it here.
Ready To Edit Some CSV?
Paste your file, edit what you wish to alter, then copy the edited version. The editor is free, does not need an account, and stores each character on your computer.