Developer tools
CSV viewer and reader
This CSV viewer opens a CSV or TSV file, or pasted text, as a table in your browser. It detects the delimiter, keeps every field as text so leading zeros and long numbers stay as written, and searches every row. You can then copy the data or download it as a CSV file.
Paste CSV, or open a UTF-8 file.
Enable JavaScript to view CSV.
Table preview
No table yet
Search ignores case and narrows the preview. Copy and download include every record.
Scroll within the table to see more columns. With the table focused, use the arrow keys.
Exports always include all records and columns, regardless of search.
How to view a CSV file
Paste rows into the CSV input box, or select Open file and pick a UTF-8 file ending in .csv, .tsv or .txt. A chosen file opens at once. Pasted text waits for View CSV, so you can set the reading options first. Load example fills in a header and four sample rows.
- Paste CSV, or select Open file.
- Leave Delimiter on Auto-detect, or pick Comma, Semicolon, Tab or Pipe.
- Keep First row is a header checked when the first line holds column names.
- Select View CSV and read the Table preview.
- Type in Search all data cells and select Find rows to narrow the preview.
- Select Copy CSV or Download CSV.
Editing the text or changing a reading option clears the table until you select View CSV again. Cancel stops a read and keeps your input, while Reset clears the input and the table.
What stays exactly as written
Every field stays a string. The viewer never converts values to numbers, so 00123 keeps its zeros and 9007199254740993 keeps its last digit, which reading it as a JavaScript number would round to 9007199254740992. Spaces at the start or end of a field stay, and blank lines stay as blank records.
Quoted commas, quoted line breaks and doubled quotes come through as the text they stand for. A field written as "He said ""hello""" shows as He said "hello". The table marks an empty field as empty and a field that a short row lacks as missing.
Rows keep their own number of fields. When one row has more fields than the others, the preview adds columns for them. Headers that repeat or are blank keep their column position, and a blank one shows as empty header. The Row and Column numbers only label the preview and never reach a copy or a download.
Search and browse a large table
The Table preview shows 25 rows and 8 columns at a time. Next rows and Previous rows move through the records, and Next columns and Previous columns move across a wide file, so every field is within reach. Each row keeps its data row number, in search results too.
Search all data cells looks for your text inside every field of every data row and ignores case. Find rows narrows the preview to the rows that match. With the header option on, the header row is not searched. The line under Table preview counts data rows, columns and matching rows, and Clear search brings back the full table.
The page sets no file size or row limit. The whole table stays in browser memory while you work with it, so your browser and device set the practical ceiling. A file too large for the browser to decode gets an error message and no partial table.
Copy and download every record
Copy CSV and Download CSV always include every record and column, even while a search narrows the preview. The output uses the delimiter that was detected or selected, puts every field in double quotes and separates records with CRLF line breaks. The download is named table.csv, also with the tab delimiter. Original quoting is not kept and a byte order mark at the start is dropped, but the field values do not change.
The option Prefix formula-like cells with an apostrophe is for files you will open in a spreadsheet. When it is checked, a cell that starts with =, +, - or @, after optional spaces, or with a tab or line break, gains a leading apostrophe.
Header cells count too, and so do negative numbers: -5 becomes '-5. The status line reports the output size and how many cells changed. In the example data only =1+1 changes.
Limits
The viewer reads UTF-8 text only, with or without a byte order mark. A file saved in another encoding, such as Windows-1252, gets an error that asks you to save it as UTF-8. A quoted field that is never closed stops the read with an error that names the record near the problem, and no partial table appears.
Auto-detect chooses between comma, semicolon, tab and pipe. When it cannot tell, it uses comma and says so, and you can then pick the delimiter yourself. The file extension does not decide, so a .tsv file full of commas reads as comma-separated. Pasted text uses the browser's LF line breaks, while text from a file keeps the line breaks inside quoted fields.
This page shows data. It does not edit cells, sort rows, filter by column rules or save XLSX files, and it does not unpack .gz files. It opens one file at a time.
Questions
How do I view a CSV file without Excel?
Open this page and select Open file, or paste the text into the CSV input box and select View CSV. The rows appear as a table in the browser, with numbered rows and columns. Nothing needs to be installed, and each field is shown exactly as it is written in the file.
I can't open a CSV file. What can I do?
Read the message under the buttons. A file that is not valid UTF-8 has to be saved again as UTF-8, or converted with the CSV Fix Encoding tool. A malformed or unfinished quoted field gives the record number near the problem. If the columns look wrong, pick the delimiter yourself instead of Auto-detect.
Can I open a TSV or semicolon-separated file?
Yes. Auto-detect checks the first records for a comma, semicolon, tab or pipe, and the line above the table names the delimiter it used. You can also set Delimiter to Tab (TSV) or Semicolon (;) yourself. In a semicolon file, decimal commas stay inside their fields, so 1,50 remains one value.
How do I open a large CSV file?
Select Open file and pick it. The page sets no size or row limit and reads the file in a background worker. It shows 25 rows and 8 columns at a time, while search, copy and download still cover every record. The whole table stays in memory, so your browser and device decide how large a file can open.
Will leading zeros and long numbers stay the same?
Yes. Fields are never converted to numbers, so 00123, 0007 and 9007199254740993 stay exactly as written in the preview, the copy and the download. If you then open the download in a spreadsheet, import those columns as text, because a spreadsheet can drop zeros or round long numbers that it reads as numbers.
Does search change what I download?
No. Search only narrows the Table preview. Copy CSV and Download CSV always hold every record and every column of the table you built, and the note under the export buttons says so. To save only the matching rows as a file, use a filtering tool, because this viewer exports the full table.
Are my files uploaded?
No. The file or pasted text is read, parsed and searched by a worker in this browser tab, and the copy and download are built there too. This tool does not upload, log or save your file, its name or its contents. Reset or leaving the page clears the table and releases the download link.