CSV Viewer
See a .csv file as a table with proper columns. Search across every row without importing the file into a spreadsheet or uploading it.
Updated
How to view a CSV file online
- Select Choose a file to view, or drop the .csv, .tsv or .txt file onto the box.
- Check that each value sits in its own column. The first row is treated as the header.
- Type in Find in this sheet to keep only the rows that contain your search text. The header row stays in place and a count of matching rows appears under the grid.
- Select Choose another file to open the next export.
To see the viewer with data in it before you pick a file, select Try a sample file.
Why use a viewer for a text file
A CSV opens in any text editor, but a wide file is hard to read there. Rows wrap, and you have to count commas to work out which column a value belongs to. A spreadsheet solves that, yet it also converts values as it opens the file and offers to save over the original. A viewer gives you the table and leaves the file alone.
How a CSV file is put together
There is no single official CSV standard. Most files follow the same conventions:
| Feature | Convention |
|---|---|
| Rows | One per line |
| Columns | Separated by a delimiter, most often a comma |
| Header | Usually the first line, but nothing in the file says so |
| Text containing the delimiter | Wrapped in double quotes, as in "Lisbon, Portugal" |
| A quote inside quoted text | Written twice, as in "12"" ruler" |
| Line breaks inside a value | Allowed inside double quotes |
| Data types | None. Every value is text until a program interprets it |
Delimiters
| Delimiter | Where you meet it |
|---|---|
Comma , |
The default in the US, UK and most software exports |
Semicolon ; |
Common where the comma is the decimal mark, as in much of Europe |
| Tab | .tsv files and data copied from a spreadsheet |
| Pipe | Database and mainframe exports |
Encoding
A CSV does not record which character encoding it uses. Most files today are UTF-8. Older exports may use a regional Windows encoding, and then accented letters turn into pairs of odd symbols such as é. If you see that here or in Excel, the dependable fix is to save the file again as UTF-8 with a byte order mark. In Excel that is the CSV UTF-8 (Comma delimited) option under File > Save As.
No types
The file 00501,2026-03-04,1E5 holds three pieces of text. Whether the first becomes a ZIP code or the number 501, the second a date, and the third the number 100,000 is decided by the program that opens it. This is the source of nearly every CSV complaint.
Opening a CSV in Excel
Double-clicking a .csv opens it in Excel at once, with Excel choosing every column’s type. For control over the result, import it:
- Open a blank workbook.
- Go to Data > Get Data > From File > From Text/CSV.
- Pick the file. In the preview, check File Origin (the encoding) and Delimiter.
- Select Load, or Transform Data to set ID columns to Text first.
Opening a CSV in Google Sheets
- In a spreadsheet, choose File > Import > Upload and select the file.
- Set Separator type if automatic detection gets it wrong.
- Untick Convert text to numbers, dates and formulas to keep leading zeros and long IDs as typed.
- Select Import data.
Things that go wrong with CSV files
- All the data is in column A. The delimiter was not the one the program expected. Import the file and pick the delimiter yourself.
- Columns shift on some rows. A value contains the delimiter and was not quoted when the file was exported. The fix belongs in the system that produced the file.
- Leading zeros are gone or long numbers end in zeros. The program read text as a number. Excel keeps only 15 significant digits. Import those columns as text.
- Dates changed. A value such as 03/04/2026 is read as March 4 or 4 April depending on regional settings.
- Only part of the file loads in Excel. A sheet holds 1,048,576 rows. Longer files are cut off with a warning.
Limits
- Files up to 50 MB.
- The grid previews the first 200 rows and 40 columns. Search looks through every row in the file.
- Values are displayed as a spreadsheet would read them, so number-like text can look different from the raw file. Open the file in a text editor when you need to see the exact characters.
- The viewer does not edit or save. Use CSV to Excel to make a workbook, or Text to columns to split a column that holds several values.
Questions
How do I open a CSV file online?
Select Choose a file to view above and pick the .csv file. It is shown as a table with one column per field. The file is read in your browser and is not uploaded.
What is a CSV file?
CSV stands for comma-separated values. It is a plain text file in which each line is a row and a comma, or another separator, marks the boundary between columns. It holds values only, with no formulas or formatting.
Why does my CSV open in one column in Excel?
Excel splits columns using the list separator from your regional settings. If your system expects a semicolon and the file uses commas, everything lands in column A. Import the file with Data > Get Data > From File > From Text/CSV and choose the delimiter there.
Can I view a tab-separated or semicolon-separated file?
Yes. The separator is detected from the file. Comma, semicolon, tab and pipe are recognised, and .tsv and .txt files are accepted as well as .csv.
Can I edit the CSV here?
No, the viewer is read-only. To work on the data, turn it into a workbook with CSV to Excel, or clean it with Remove duplicates.
Why do leading zeros look different in the viewer?
The viewer reads values the way a spreadsheet does, so 00123 is shown as 123 and a very long number may appear in scientific notation. The file itself is not changed. To keep such values exactly as typed, convert the file with CSV to Excel and tick Keep every value as text.