CSV VIEWER

Open a CSV that is too big or too messy for a spreadsheet and scroll through every row in a fast grid. A column profile shows what each column holds, how many cells are empty, how many values are distinct, and the range of numbers, so you understand a file before you change it.

Zero retention: your files never leave this browser. Verify it yourself in DevTools.

Loading the CSV tools.

About CSV viewer

How Can You Verify That Your Files Never Leave This Browser?

You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2csv work and confirm that your data is never sent anywhere. The check takes about a minute.

  1. Open your browser developer tools with F12, or Cmd+Option+I on a Mac, and select the Network tab.
  2. Reload the page and let it finish. You will see the page's own files (including the background file parser), its web fonts, and one anonymous page-view request. No file has been chosen yet, so none of them can contain your data.
  3. Click the clear icon in the Network tab so that the log is empty.
  4. Open a CSV file in the CSV viewer tool above, run it, and download the result.
  5. Look at the Network tab again. It is still empty. Reading, changing, and saving the file made no request at all. For extra proof, turn on offline mode after the page loads: every tool keeps working.

Your file is read into this tab's memory with the browser's own file reader, parsed and changed by code that is already on the page, and handed back to you as a download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.

The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your data elsewhere.

What Does the Column Profile Show?

A column profile is a short summary of every column in the table. It answers the questions you would otherwise answer by scrolling: is this column really numbers, how many cells are blank, and does it hold a few repeated values or a different value in every row. Each column gets its own line.

  • What the column looks like: whole numbers, numbers, dates, true/false, text, or empty.
  • How many cells are filled and how many are empty.
  • How many distinct values it holds, counted up to 100,000.
  • The minimum and maximum for numeric columns, and the length of the longest value.

How Does the Viewer Open Very Large Files?

The file is parsed in a background Web Worker, so the page stays responsive while it loads. The grid is virtualized, which means it only draws the rows currently on screen. A file of about 100 MB, or around a million rows, runs smoothly on a typical laptop, and files up to about 200 MB open with a warning.

On very large tables the column profile does not run automatically, because counting distinct values across a million rows takes a moment. Instead it runs when you click it. Files over about 500 MB cannot be opened, since the whole table has to fit in the memory the browser allows one tab.

How Do You Open a File in the Viewer?

  1. Drop a .csv, .tsv, .txt, .json, or .jsonl file on the page, or click the drop area to choose one.
  2. Or paste text: CSV, or cells copied from a spreadsheet, which arrive tab-separated.
  3. Check the delimiter (comma, semicolon, tab, or pipe) and the encoding. Both are detected and both can be changed.
  4. Turn First row is the header on or off to match the file.

If the parser had to repair anything, such as a quote that never closes or a row with extra fields, the repairs are listed with file line numbers in the CSV validator.

Can You Edit or Export From the Viewer?

Yes. The viewer uses the same grid as every other tool, so you can double-click a cell to edit it, double-click a header to rename it, and click a header arrow to sort. For more editing, the CSV editor adds and removes rows and columns. The export bar under the grid saves the table as CSV, TSV, JSON, JSONL, or SQL.

What Else Can You Do With a CSV Here?

  • Sort CSV: Sort rows by one or more columns, as text, numbers, or dates, ascending or descending.
  • Filter CSV: Show only the rows that match an expression such as price > 10 AND state = "NY".
  • CSV validator: Find ragged rows, broken quotes, bad headers, encoding problems, and values of the wrong type.
  • Remove duplicates from CSV: Find and remove duplicate rows, comparing whole rows or only the columns you choose.
  • Trim CSV whitespace: Trim leading and trailing spaces, collapse double spaces, and drop invisible characters and empty rows.
  • Find and replace in CSV: Find text in one column or every column and replace it, with match case, whole cell, and regex options.
  • Remove rows from CSV: Delete rows by number or range, the first or last rows, empty rows, or rows that match a rule.
  • CSV editor: Edit cells, add or delete rows, and add, delete, rename, or move columns.
  • Split CSV column: Split one column into several at a delimiter, such as a full name into first and last.
  • Merge CSV columns: Join two or more columns into one with the separator you choose, skipping empty values.
  • CSV column type converter: Convert a column to clean numbers, ISO dates, true/false, or upper, lower, or title case.
  • CSV to JSON converter: Convert CSV to a JSON array of objects or arrays, or to JSON Lines, with typed values.
  • JSON to CSV converter: Convert a JSON array or JSON Lines to CSV, flattening nested objects into dotted column names.
  • CSV to SQL converter: Turn a CSV into SQL INSERT statements, with an optional CREATE TABLE, for PostgreSQL, MySQL, SQLite, or SQL Server.
  • CSV to TSV converter: Convert a comma-separated file to tab-separated values that paste cleanly into spreadsheets.
  • TSV to CSV converter: Convert a tab-separated file to a standard, properly quoted comma-separated CSV.
  • CSV splitter: Split a large CSV into smaller files of a set number of rows, with the header repeated in each.

All eighteen tools are on the 2csv home page, and once a file is open you can switch between them without reloading it. Part of the 2suite.io privacy-first ecosystem.

Frequently Asked Questions

How many rows can the CSV viewer show?

Any number that fits in the tab's memory. About a million rows runs smoothly on a typical laptop because the grid only draws the rows on screen.

Why does the column profile need a click on big files?

On very large tables, counting distinct values and ranges takes a moment, so the profile waits until you ask for it instead of slowing down the first view.

Can the viewer open a file with semicolons instead of commas?

Yes. Comma, semicolon, tab, and pipe are detected automatically, and you can choose the delimiter yourself if the guess is wrong.

Is my CSV uploaded when I view it?

No. The file is read into this browser tab only, is never stored, and is gone when you close the tab.

Was this helpful?