CSV Viewer Pro - Progressive Web App
CSV Viewer Pro - Progressive Web App
A beautiful, modern CSV viewer with Progressive Web App capabilities. View, sort, and manage CSV files with an elegant dark-themed interface.
✨ Features
Core Features
- Drag & Drop Import: Simply drag CSV files onto the interface
- File Browser: Click to browse and select CSV files
- Column Sorting: Click column headers to sort (ascending → descending → original)
- Copy to Clipboard: Click any cell to instantly copy its value
- Live Statistics: Real-time display of rows, columns, and file size
Progressive Web App Features
- Installable: Install as a native app on Windows, Mac, Linux, iOS, and Android
- Offline Support: Works without internet connection after first load
- Fast Loading: Cached resources for instant startup
- Auto-Updates: Automatically updates to the latest version
- Desktop Integration: Runs in its own window like a native app
- Cross-Platform: Works on all modern devices and operating systems
🚀 Installation
Method 1: Install as Progressive Web App (Recommended)
On Desktop (Chrome/Edge):
- Open
csv-viewer.htmlin Chrome or Edge browser - Look for the install button in the address bar (⊕ icon) or click the “Install App” button that appears
- Click “Install” in the dialog
- The app will open in its own window and be added to your Start Menu/Applications
On Mobile (iOS):
- Open
csv-viewer.htmlin Safari - Tap the Share button
- Select “Add to Home Screen”
- Tap “Add”
On Mobile (Android):
- Open
csv-viewer.htmlin Chrome - Tap the menu (⋮)
- Select “Install app” or “Add to Home Screen”
- Tap “Install”
Method 2: Use in Browser
Simply open csv-viewer.html in any modern web browser (Chrome, Edge, Firefox, Safari).
📖 How to Use
Import CSV File
- Drag & Drop: Drag a CSV file from your file explorer onto the drop zone
- Click to Browse: Click the drop zone or “Import CSV” button to select a file
Navigate Data
- Scroll: Use mouse wheel or scrollbars to navigate large datasets
- View Statistics: Check the stats bar for row count, column count, and file size
Sort Columns
- Click any column header to sort by that column
- First click: Sort ascending (↑)
- Second click: Sort descending (↓)
- Third click: Return to original order
Copy Data
- Click any cell to copy its contents to your clipboard
- A notification will appear confirming the copy action
Clear Data
- Click the “Clear” button to reset the viewer and load a new file
🎨 Design Features
- Modern Dark Theme: Easy on the eyes with a sophisticated color palette
- Animated Gradients: Subtle background animations for visual appeal
- Smooth Transitions: Polished hover effects and micro-interactions
- Custom Typography: Beautiful font pairings (DM Serif Display + IBM Plex Mono)
- Responsive Design: Works seamlessly on desktop and mobile devices
🔧 Technical Details
Technologies Used
- HTML5: Semantic markup with PWA support
- CSS3: Modern styling with animations and gradients
- JavaScript: Vanilla JS for optimal performance
- PapaParse: Robust CSV parsing library
- Service Worker: Offline functionality and caching
- Web Manifest: PWA configuration and metadata
File Structure
csv-viewer-pro/
├── csv-viewer.html # Main application file
├── manifest.json # PWA manifest configuration
├── service-worker.js # Service worker for offline support
├── icon-192.png # App icon (192x192)
├── icon-512.png # App icon (512x512)
└── README.md # This file
Browser Compatibility
- ✅ Chrome 90+
- ✅ Edge 90+
- ✅ Firefox 88+
- ✅ Safari 14+
- ✅ Opera 76+
PWA Features Support
- ✅ Installable on all platforms
- ✅ Offline functionality
- ✅ App icons and splash screens
- ✅ Standalone display mode
- ✅ Service worker caching
- ✅ Auto-update capability
🔒 Privacy & Security
- No Server Required: All processing happens locally in your browser
- No Data Upload: Your CSV files never leave your device
- No Tracking: No analytics or tracking scripts
- Secure: Uses standard web security practices
💡 Tips & Tricks
- Large Files: The app can handle large CSV files, but performance depends on your device
- Offline Use: After first load, the app works completely offline
- Keyboard Shortcuts: Use Ctrl+C (Cmd+C on Mac) after clicking a cell for alternative copying
- Multiple Windows: Install the app to open multiple CSV files in separate windows
🐛 Troubleshooting
App won’t install
- Ensure you’re using a supported browser (Chrome, Edge, Safari)
- Try accessing the file through a local web server instead of file:// protocol
- Check that JavaScript is enabled
CSV not loading
- Verify the file is a valid CSV format
- Check that the file isn’t corrupted
- Try a smaller file to test functionality
Sorting not working
- Ensure the CSV has headers in the first row
- Try clicking the column header again
- Refresh the page and reload the file
🆕 Future Enhancements
Potential features for future versions:
- Export filtered/sorted data
- Column filtering and search
- Data visualization (charts/graphs)
- Multiple file comparison
- Advanced sorting (multi-column)
- Custom themes
- Excel file support
- Data editing capabilities
📝 License
This project is open source and available for personal and commercial use.
🤝 Support
For issues or questions, please ensure:
- You’re using a modern browser
- JavaScript is enabled
- The CSV file is properly formatted
- You have sufficient device memory for large files
Enjoy using CSV Viewer Pro! 🎉
Made with ♥ for data enthusiasts everywhere.
