CSV Viewer: Sort, Filter, and Inspect CSV Files
Open or paste CSV, TSV, semicolon, or pipe-delimited data and explore it as a fast table. The RFC 4180 parser auto-detects the delimiter and quote, strips a BOM, accepts CRLF, LF, and CR line endings, and reports ragged rows. Sort and filter by column, check column statistics, read any full cell value, and export exactly what you see. Everything runs in this tab; nothing is uploaded or stored.
1. Paste or open data
Small pastes update the table as you type. Large pastes and files are parsed in chunks with a progress bar and Cancel button.
Diagnostics
2. Explore the table
Click a header to sort (ascending, descending, off). Drag a header edge to resize. In the table: arrow keys, Home/End, PgUp/PgDn, Ctrl+Home/Ctrl+End move; Enter sorts a header or opens the cell value; Ctrl+C copies the cell; [ ] resize and { } move the column. ! marks a ragged row; ∅ marks a missing field.
No rows match the current search and filters.
Cell value
Click a cell, or move to one with the keyboard, to see its full value. Click a row number to see the whole record.
Column statistics
Top 5 values
3. Export the current view
Exports use the visible columns in their current order and the rows that pass the search and filters, in the current sort order.
How it works and limits
- Parsing follows RFC 4180: fields may be quoted, quotes inside quoted fields are doubled, and quoted fields may contain delimiters and line breaks. CRLF, LF, and lone CR all end a record. A leading byte order mark and an Excel sep=; first line are recognized and reported.
- Auto-detection parses the first 64 KB with comma, semicolon, tab, and pipe and picks the delimiter that gives the most consistent field count (at least two fields). Single quotes are used only when they clearly wrap fields. Override either setting if the guess is wrong.
- The parser is forgiving and says so: a stray quote inside an unquoted field is kept as text, text after a closing quote is appended, and a quote that never closes swallows the rest of the input. Each case is listed under Diagnostics with its row and line.
- Ragged rows are rows whose field count differs from the header (or, without a header, from the most common count). They are listed and flagged with !, extra fields get their own columns, and missing fields show ∅ and export as empty values.
- Column types are inferred from every non-empty value: integer, number, ISO 8601 date or date-time, boolean (true/false), or text. A column is numeric only if every value parses. Numbers use the decimal mark setting; auto-detect compares dot and comma readings of the first 2,000 rows. Dates without a time zone are compared as UTC.
- Sorting is stable and type-aware, so 2 sorts before 10 in numeric columns and text uses a natural, case-insensitive order. Empty values always sort last. Search and contains/equals filters are case-insensitive; greater than and less than compare numbers, dates, or text depending on the column type, as shown under each filter.
- Only the rows on screen are in the page, so 100,000 rows by 50 columns scroll smoothly. Parsing runs in short chunks on the main thread (about 20 MB, or 5 million cells, takes a few seconds); a parsed table can need around ten times the file size in memory, so files beyond roughly 100 to 200 MB may exhaust a browser tab.
- CSV exports use commas and CRLF; TSV exports use tabs and LF. Fields containing the delimiter, quotes, or line breaks are quoted RFC-style in both. JSON keeps every value as a string, and duplicate header names get _2, _3 suffixes. Encodings other than UTF-8, UTF-16 with a BOM, and Windows-1252 are not supported. This is a viewer: it does not edit cells.