CSV Viewer
Live: spskelly.github.io/csv-viewer
Repo: GitHub
What It Does
A lightweight PWA for instant CSV inspection. Install it, set it as your default .csv handler, and double-clicking any CSV file gives you sorting, filtering, and statistics, no spreadsheet app needed.
Features
- System file handler, registers for
.csv,.tsv, and.txtfiles - Sortable columns, click headers to sort; detects numbers vs. text automatically
- Full-text search, filter across all columns in real time
- Column statistics, click the stats button on any column for min, max, avg, median, sum, and top values
- Export filtered, download your filtered/sorted view as a new CSV
- Pagination, configurable rows per page for large files
- Dark/light mode, toggle with
Ctrl+D - Responsive, works on desktop and mobile
- Offline, service worker caches all assets
Why It Exists
Sometimes you just need to glance at a CSV, check a column, spot an outlier, filter for a value. Opening Excel or importing into a database is overkill. This gives you a fast, focused viewer that handles the 90% case.
Technical Details
5 files, ~1,000 lines total. No build step, no dependencies. The CSV parser handles comma-separated, tab-separated, and auto-detected delimiters. Sorting is type-aware, numbers sort numerically (including comma-formatted values), everything else sorts alphabetically. Search and sort compose together.