The CSV Viewer turns raw comma-separated text into a readable, sortable table without opening a spreadsheet application. Paste the contents of a file or drop the file itself onto the page, and the tool parses it, detects the delimiter, reads the header row, and renders every record as a table you can search and sort by column.
CSV looks simple until you meet a real file. Fields wrapped in quotes contain commas. Quotes inside those fields are doubled. Some exports use semicolons because the source locale uses commas as decimal separators. Rows go ragged when an upstream system drops a field. This viewer implements the RFC 4180 quoting rules properly, flags ragged rows and duplicate column names instead of silently mangling them, and lets you switch delimiters when auto-detection guesses wrong.
Everything runs in your browser. The file is read with the FileReader API and parsed in JavaScript — nothing is uploaded, which matters when the CSV holds customer records, payroll data, or an export from a production database. Once the page has loaded, the tool keeps working offline.
Paste CSV text into the input box, or click Upload to open a .csv, .tsv, or .txt file from your computer. The file is read locally and never uploaded.
Delimiter is auto-detected from the first ten lines. Override it if needed, and toggle "First row is header" and "Trim whitespace" to match your file.
Type in the search box to filter rows across every column, or click a column heading to sort it. Numeric columns sort numerically, not alphabetically.
Copy the table as JSON, download it as a normalised CSV with proper quoting, or download a JSON file for use in an API or script.
Scores commas, semicolons, tabs, and pipes across the first ten lines and picks the one that produces a consistent column count — so European semicolon exports and TSV files open correctly
Handles quoted fields containing delimiters, escaped double quotes, and newlines inside cells — the cases that break naive split(",") parsers
Filter rows with a live case-insensitive search across all columns, and sort any column ascending or descending with numeric-aware comparison
Flags ragged rows that do not match the header width and duplicate column names, so you find structural problems before they hit your database import
Convert CSV data to JSON format with support for quoted fields, type inference, and various delimiters
Convert JSON arrays to CSV format with support for nested objects, automatic header generation, and proper escaping
Convert XML to clean, valid JSON instantly — handles attributes, nested elements, repeated tags, and CDATA
0 comments
No comments yet. Be the first to share your thoughts!