CSV Viewer
A CSV viewer displays comma-separated values as a formatted, readable table. CSV (Comma-Separated Values) files store tabular data as plain text. Each line is a row, values separated by commas (or tabs, semicolons, pipes). Fields containing commas or quotes are escaped per RFC 4180. CSV viewers parse this format and render sortable, searchable tables for easy data inspection.
View CSV data as a formatted table. Paste CSV text and see it rendered with sortable columns, search filtering, and row numbers. Supports comma, tab, semicolon, and pipe delimiters. Handles quoted fields and multiline values.
Presets
Delimiter
CSV Input
CSV Format Reference
| Feature | Syntax | Example |
|---|---|---|
| Fields | Separated by delimiter | a,b,c |
| Quoted fields | Wrap in double quotes | "hello, world" |
| Escaped quotes | Double the quote | "say ""hello""" |
| Newlines in fields | Quoted fields can span lines | "line1\nline2" |
| Header row | First row defines columns | Name,Age |
| Empty fields | Adjacent delimiters | a,,c |
How to Use
- 1
Paste your CSV data
Paste CSV text with headers in the first row. Or click a preset to load sample data like sales records or employee lists.
- 2
Select the delimiter
Choose comma (default), tab, semicolon, or pipe to match your CSV format. The table updates automatically.
- 3
Sort and search
Click column headers to sort ascending/descending. Use the search box to filter rows across all columns in real time.
- 4
Inspect your data
Review the formatted table with row numbers. Check row and column counts in the statistics display.
Frequently Asked Questions
- What CSV delimiters are supported?
- This viewer supports four common delimiters: comma (,) for standard CSV, tab (\t) for TSV files, semicolon (;) commonly used in European locales where comma is the decimal separator, and pipe (|) used in some database exports. Select the matching delimiter before pasting your data.
- How does the CSV viewer handle quoted fields?
- The parser follows RFC 4180 rules: fields containing the delimiter, newlines, or double quotes must be enclosed in double quotes. Literal double quotes inside quoted fields are escaped by doubling them (""). For example, "say ""hello""" parses as: say "hello".
- Can I sort the CSV data?
- Yes. Click any column header to sort by that column. Click again to toggle between ascending and descending order. The sort is smart — it detects numeric values and sorts them numerically (so 10 comes after 9, not after 1), while text values are sorted alphabetically.
- How do I search within the CSV data?
- Type in the search box to filter rows in real time. The search checks all columns — any row where at least one cell contains your search text will be shown. The filter is case-insensitive. The row count updates to show how many rows match.
- What is the maximum CSV size this viewer can handle?
- Since all processing happens in your browser, the limit depends on your device memory. Typically it handles files up to 10,000-50,000 rows comfortably. For very large files (100K+ rows), consider using a desktop tool like Excel, LibreOffice Calc, or command-line tools like csvkit.
- Does the first row need to be headers?
- Yes, this viewer treats the first row as column headers. They appear as the table header row and are used for sorting labels. If your CSV has no headers, you can add a header row (like Col1,Col2,Col3) before pasting, or the first data row will be interpreted as headers.