Open and Explore CSV Files Online
Use this CSV viewer online to open a CSV or TSV file as a table you can sort, filter, and search. Prettify finds the delimiter, locates the header below any report metadata, and keeps your layout when you save. Paste your CSV below to check it, then open the table.
What this CSV viewer online does
You give it a CSV or TSV file, and it shows the rows and columns as a table. The table lives in the editor. The box on this page reads your text, reports the row and column count, and shows the CSV back, so you can confirm the file parsed the way you expect.
The editor opens a file you choose or drop on it, and it also reads pasted text. A file with a .csv or .tsv extension opens as CSV. Pasted text opens as CSV when the first lines share one delimiter and split into the same number of fields.
Key features
The Table view is the default for CSV. These are the tools you will use most.
- The delimiter is detected from comma, tab, semicolon, and pipe, and an Excel sep=; first line is honored.
- Click a column header to sort ascending, click again for descending, and click a third time to clear the sort.
- Each header has a filter with the operators contains, equals, greater than, less than, and regex.
- A short type tag next to each column name shows whether Prettify read it as numbers, text, dates, or booleans.
- Search highlights the matching rows and steps through them with Enter.
- Double-click a cell to edit it. Enter saves the value and Escape cancels.
- Only the rows near the viewport are drawn, so long files keep scrolling smoothly.
- Raw, Tree, and Chart views show the same file in other ways.
How to open and explore a CSV
Start in the box to check the file. The box reads documents up to 512 KB. A larger file goes straight to the editor, where you can open it from the Dashboard or drop it on the page.
- Paste your CSV into the box labeled "Paste your CSV", or select "Try an example".
- Read the line above the result. It gives the row and column count, such as "4 rows, 3 columns."
- Check any yellow notes. They name an empty or duplicate header, mixed line endings, or an undetected delimiter.
- Select "Open in full editor". The file opens in the Table view.
- Click a column header to sort. Click it again to reverse the order.
- Point at a header, select the filter icon, pick an operator, type a value, and press Enter.
- Press Cmd+F (Mac) or Ctrl+F (Windows, Linux) and type to highlight matching rows.
- Open Convert in the Transform group of the toolbar and pick JSON to change the format.
Worked example: a cost report with a metadata block
Many exports put account details above the table. This file has two metadata lines, a blank line, and then the real header on line 4. A plain reader would treat line 1 as the header and break every column.
Prettify finds the header on line 4 and reports "4 rows, 3 columns." In the Table view, a toggle labeled "2 metadata lines" shows the account and period as key and value pairs. The Cost column gets a numeric tag, so it sorts by value. Descending order puts 312.75 first and 8.05 last. A text sort would put 8.05 first, because the digit 8 sorts after 3 and 4. Filtering Cost greater than 10 leaves 3 rows and shows "(filtered from 4)".
Copy, download, and save keep the two metadata lines. Converting the file to JSON leaves them out and warns you.
Account,4471-0092
Period,2026-09
Service,Region,Cost
S3,eu-west-1,41.20
EC2,eu-west-1,312.75
Lambda,us-east-1,8.05
CloudWatch,eu-west-1,19.90Messy files, ragged rows, and your layout
A row with more fields than the header keeps the extra values under generated names such as Column 4 and Column 5. No data is lost on a round trip. The Problems panel in the editor reports each ragged row, along with an empty header, a duplicate header, and mixed line endings. A duplicate header is renamed, so a second name becomes name_1.
When you edit, copy, download, or save, Prettify keeps the delimiter, so a TSV stays a TSV. It also keeps the line break, the quote style, the preamble, and the column order from the header. Cells are read as text, so a long ID is never rounded.
Common use cases
A table beats a text editor whenever you need to compare values down a column. These are typical jobs.
- Read a billing or analytics export that starts with metadata lines.
- Check a bank statement for one amount or one description.
- Open a semicolon-separated file from a European spreadsheet without guessing the delimiter.
- Look at a TSV dump from a database and sort it by one column.
- Spot empty cells in a column before you import the file elsewhere.
Charts, SQL, and what costs money
The Chart view plots a CSV as a line, bar, scatter, or pie chart. One data column is free, and plotting several columns together is Pro. For queries such as totals per group, the SQL panel (Pro) runs SELECT statements on the file. The SQL playground page covers it in detail.
Frequently asked questions
Does Prettify keep my delimiter and line breaks when I save?
Yes. It keeps a tab or semicolon delimiter, the line break style, full quoting, any preamble above the header, and the column order from the header. A TSV stays a TSV after an edit.
What does "2 metadata lines" mean above my table?
Prettify found lines above the real header, such as account details in a report export. It moved them out of the table and kept them. Select the toggle to read them as key and value pairs.
My row has extra fields. Is data lost?
No. Values past the header width are kept in columns named Column 4, Column 5, and so on. The editor reports the row as a problem so you can fix the file if the extra fields are a mistake.
Are numbers sorted as numbers?
Yes, when most values in a column look numeric. The header tag shows the type Prettify chose. Otherwise the column sorts as text. The cells themselves are stored as text and are never rounded.
How large a CSV can I open?
The box reads up to 512 KB. The editor draws only the visible rows, so long tables stay responsive. A file over 100 MB does not open in the desktop app. The docs give no row limit.
Is a bank statement or customer export uploaded?
No. The file is parsed in your browser, and Prettify does not upload your CSV unless you create a share link. The sort, filter, and search all run on your device.