Csv Reader

A browser extension that transforms csv into a readable table, in the same tab
Alternatives To Csv Reader
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Sheetjs33,6144,3793,8162 months ago170March 24, 2022129apache-2.0JavaScript
📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
Tabula6,191
5 months ago542mitCSS
Tabula is a tool for liberating data tables trapped inside PDF files
Tablewriter3,9591,6456,2218 days ago10March 04, 202171mitGo
ASCII table in golang
Sqlite Web1,963533 days ago25August 09, 2023mitPython
Web-based SQLite database browser written in Python
Csvtotable870
33 years ago11July 20, 201713mitPython
Simple command-line utility to convert CSV files to searchable and sortable HTML table.
Rows8452634 months ago10February 14, 2019170lgpl-3.0Python
A common, beautiful interface to tabular data, no matter the format
Prettytable Rs81125826624 days ago19September 27, 201834bsd-3-clauseRust
A rust library to print aligned and formatted tables
Mlsql804
3 years agoPython
inferring sql queries from plain-text questions about tables
Csv To Html Table757
7 months ago1March 27, 202119mitCSS
:arrow_down_small: Display any CSV (comma separated values) file as a searchable, filterable, pretty HTML table
Csvs To Sqlite752416 months ago16November 18, 202145apache-2.0Python
Convert CSV files into a SQLite database
Alternatives To Csv Reader
Select To Compare


Alternative Project Comparisons
Readme

CSV Reader

What is this?

A browser extension with 3.5k+ users.

It transforms raw csv data into a simple html table, and shows it online in the same tab.

Available free for Chrome and Firefox.

What problem does this solve?

When quickly looking through csv data files online, you either have to:

  • Open them with Excel, Numbers, etc.
  • Try to skim through the data in its raw state.

CSV Reader allows you to look at the data formatted as a table, so you can make decisions faster.

Features

CSV Reader detects if the current tab is a .csv page (correctly most of the time).

The user can select some settings in a popup to modify the output.

NEW: The extension now stores user settings per url for the next time you browse the same file.

NEW: The extension now stops csv files from downloading (it modifies the response headers) so you can parse them in-browser. If you want to download the file just ctrl+s (cmd+s), even in the parsed csv screen.

Output

It offers different options (see images and examples below):

  • Transform the raw csv data into a table, nicely formatted so it's easy to scan.
  • Keep the raw csv data but rainbow-color it to make it easier to read (inspired by the Rainbow CSV VS Code extension).
  • Download the data formatted as JSON (when there is a data header title row).

Input

It allows the user to input some settings:

Feature Default Type Result
Separator , String New column when this value is found
Title row false Boolean Use the first line as the table header
Skip at the top 0 Number Number of text lines to leave untouched at the top
Links in text false Boolean Look for links in data and make them clickable

How to use

  1. Install the extension (in Chrome or Firefox).
  2. Head to any .csv data page.
  3. Click on the extension icon, fill the form:
    1. Choose the separator.
    2. Check if there is a title row for the data. This will format a header row in the table.
    3. Input the number of lines to skip at the top. Some csv pages have a few lines with info, we don't want to format those.
    4. Check if there are links in the data. They will be formatted as clickable links.
  4. Click the appropriate button.
  5. Done, enjoy the result!

Example

Visit a .csv data file online. You can try this csv sample dataset.

Click on the CSV Reader extension icon.

In the popup, input the config options: separator, title row, etc. (In the example dataset, | (pipe) as the separator, and check the title line option).

Start

Click "Convert":

Converted

To go back to the raw data, click the "Reset" button on the extension popup:

Reset

Help this project

If this extension was useful to you in any way, please consider leaving a 5-star review.

It will take you less than a minute, and will greatly help reach new audiences.

Thank you very much!

Contribute

Suggestions and PRs are welcome, of course. This is (roughly) the dev process:

extension/content_scripts/csv_reader.js contains all the parse and output logic. The browser.tabs queries use Promises, supported in Firefox but not in Chrome, so the extension loads a polyfill for this.

extension/popup/popup.js manages the user input logic, messaging to the main content script, and custom CSS inserts.

To load the unpacked, test extension:

  • In Chrome, load the whole unpacked extension/ folder. Make sure the polyfill is in extension/polyfills/.
  • In Firefox, I use Mozilla's web-ext tool.

To build and pack the extension, I use web-ext too. It builds the extension folder and creates a .zip file inside extension/web-ext-artifacts.

That's it, there is no further compiling or building process, for now at least.

Some kind of roadmap

Some features I'd like to work on (help appreciated):

  • [ ] Show progress: while the content is being processed, hide the raw csv and show a loading component.
  • [ ] Add a reset button directly in the page header.
  • [x] Stop .csv files from downloading, and instead open them in browser so thay can be converted.
  • [x] Store user config (per url) so they don't have to input the same fields every time.
  • [ ] Add a link to download .csv file in the page header.
  • [ ] Try to auto-detect separator.
  • [ ] Make columns hideable.
  • [ ] Make table sortable by column.
  • [ ] Detect if text looks like a link instead of having a popup checkbox.

Acknowledgments

CSV Reader uses svg icons from Tabler Icons, thanks!

Popular Table Projects
Popular Csv Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Table
Csv
Chrome Extension
Reader
Popup
Firefox Extension
Browser Extension
Html Table
Csv Reader