DataSwitch Pro Private, in-browser data converter

CSV Viewer & Editor

Open large CSV files in your browser, then sort, search, edit and export them. Free, fast, and private.

—

Drop a CSV file here, or click Open CSV file

Large files are fine — the grid only draws the rows on screen, so a million rows scroll smoothly. Your file is opened in this tab and never uploaded.

No file open.

How to open, edit and sort a CSV file online

Updated · 5 min read

A CSV file is plain text, but reading it as text is hard and opening a big one in Excel is slow — or impossible past 1,048,576 rows. This viewer shows any CSV as a fast, editable grid: sort and search it, fix cells, drop the columns and rows you do not need, and download a clean copy.

  1. Click Open CSV file or drop a .csv, .tsv or .txt file on the tool. The delimiter and the header row are detected for you; change them above the grid if needed.
  2. Scroll, or use the arrow keys. Click a column name to sort it; click again for the reverse order. The ▾ menu has sorting, column statistics, rename and delete.
  3. Type in Search rows to keep only the rows that contain your text — in all columns, or in one column you pick.
  4. Double-click a cell (or select it and start typing) to edit it. The bar above the grid shows the full value of the selected cell and can be used to edit it too.
  5. Select rows by clicking their numbers (Shift for a range, Ctrl or ⌘ to add) and press Delete rows. Every change can be undone.
  6. Click Download to save the result as CSV, TSV, Excel or JSON. What you see — sorted, searched and edited — is what is saved.

Your file stays on your device. It is read and processed in this browser tab; nothing is uploaded, so you can open customer lists, finance exports or logs safely.

What it does

Built for big files

The data is indexed in a background thread and the grid draws only what is on screen. In our tests a 1,000,000-row CSV (73 MB) opened in under a second, sorted in 0.4 s and was searched in 0.5 s; two million rows (145 MB) opened in about a second.

Edit like a spreadsheet

Double-click or just type to change a cell; Enter moves down, Tab moves right, Escape cancels, Ctrl+Z undoes. Rename or delete columns and delete rows from the same grid.

Search and sort

Search all columns or one column, sort numbers as numbers (2 before 10) and text alphabetically, with empty cells kept at the bottom.

Your data stays exactly as written

Unlike Excel, nothing is reformatted: leading zeros (00123), long IDs and card numbers, dates like 03/04 and values such as 1-2 or MARCH1 are shown and saved as they are in the file.

Clean-up tools

Find and replace across the table or one column, trim extra spaces, and remove duplicate or empty rows — each in one click, and each undoable.

Any encoding, any delimiter

UTF-8 is detected, and files saved by older Excel versions in Arabic (Windows-1256), Western, Cyrillic, Greek, Turkish, Japanese or Chinese encodings can be opened from the Encoding menu. Comma, semicolon, tab and pipe files all work, and decimal commas (2,5) sort as numbers in semicolon files.

Column statistics

Open a column's menu to see how many cells are filled or empty, how many distinct values it has, its most frequent values and, for numbers, the minimum, maximum, sum and average.

Keyboard shortcuts

Arrow keys, Page Up / Page DownMove the selected cell
Enter or F2Edit the selected cell
Any letter or numberStart typing a new value
Enter / Tab / Escape (while editing)Save and move down / save and move right / cancel
Alt+Enter (while editing)New line inside the cell (Shift+Enter works too)
Delete or BackspaceClear the cell (or delete the selected rows)
Ctrl+Z / ⌘ZUndo the last change
Ctrl+F / ⌘FJump to the search box
Ctrl+C / ⌘CCopy the selected cell

Common problems and fixes

Everything is in one column

The file uses a delimiter that was not detected — often a semicolon (European Excel) or a tab. Pick it in Delimiter and the grid is rebuilt instantly.

Accents or Arabic letters look wrong

The file is probably not UTF-8. The viewer falls back to Windows-1252 and tells you so; if characters still look wrong, re-save the file as CSV UTF-8 in Excel or your editor.

Excel says the file is too big

Excel stops at 1,048,576 rows. Open the file here instead, search or delete what you do not need, then download a smaller CSV or Excel file.

Some rows have fewer cells

The viewer shows missing cells as empty and reports how many rows are uneven. Tick Only rows with problems to see just those rows and fix them in place. They are usually caused by an unquoted comma or line break inside a value in the original export.

Arabic text shows as ال or strange symbols

The file was read with the wrong encoding. Choose Arabic (Windows-1256) or UTF-8 in the Encoding menu and the file is read again.

Excel removed my leading zeros or changed numbers to dates

Open the original CSV here instead: values are never converted. If you need an Excel file, download .xlsx from this page — codes with leading zeros and numbers longer than 15 digits are kept as text.

Open large CSV files with code

For a one-off look the viewer above is fastest. For a job you repeat, these do the same in a script.

Python (pandas)

import pandas as pd
df = pd.read_csv("data.csv")              # sep=";" for semicolon files
print(df.shape)
df = df.drop(columns=["notes"]).sort_values("amount", ascending=False)
df.to_csv("data-edited.csv", index=False)

Command line (csvkit / xsv)

csvlook data.csv | less -S              # view as a table
csvsort -c amount -r data.csv > sorted.csv
csvgrep -c city -m Paris data.csv
xsv stats data.csv | xsv table          # fast statistics on huge files

Excel

Data > From Text/CSV  -> choose the delimiter and File Origin 65001: Unicode (UTF-8)
For files over 1,048,576 rows: Data > Get Data > Power Query, then load to the Data Model

Frequently asked questions

How do I open a large CSV file online?

Click Open CSV file on this page and choose the file. It is read in your browser in slices, indexed in a background thread and shown in a grid that only draws the visible rows, so files with hundreds of thousands or millions of rows open without freezing the page.

How many rows can the CSV viewer handle?

In our tests, two million rows (145 MB) opened in about a second on an ordinary computer. Phones have less memory, so plan on a few hundred thousand rows there. The limit is your device's memory, not an upload size, because nothing is uploaded.

Can I edit a CSV file without Excel?

Yes. Double-click a cell or start typing to change it, rename or delete columns, delete rows, and download the result as CSV, Excel, TSV or JSON. Every change can be undone.

Is my CSV file uploaded to a server?

No. The file is opened and processed entirely in this browser tab. Nothing you open, edit or download is sent to DataSwitch Pro or anyone else.

Does sorting or searching change my file?

Not until you download. Sorting and searching change what the grid shows; the download saves exactly what you see — sorted, filtered and edited — and your original file stays untouched.

How do I remove duplicate rows from a CSV file?

Open the file, then choose Tools → Remove duplicate rows. Rows that are identical in every visible column are removed, keeping the first one. Delete a column first if duplicates should be judged on fewer columns. Undo brings the rows back.

Can I find and replace text in a CSV file?

Yes. Choose Tools → Find & replace. It replaces the text in the rows currently shown — in every column, or only in the column picked next to the search box — and can be undone.

Why does my CSV open in a single column?

The delimiter was not recognised. Choose comma, semicolon, tab or pipe in the Delimiter menu and the grid is rebuilt with the right columns.

Related tools