CSV Viewer and Editor

View and edit CSV files in your browser. Sort, filter, and search data, add or remove rows and columns, then download the edited CSV.

CSV files are the standard interchange format for tabular data, but opening them in a text editor shows raw comma-separated text that is hard to read, and importing into a full spreadsheet application is often overkill. This viewer parses your CSV into a clean, sortable table with inline editing, search filtering, and the ability to add or remove rows and columns - all in your browser without installing anything.

Ad
Ad

About CSV Viewer and Editor

How to Use the Viewer

ActionHow
Load dataUpload a .csv, .tsv, or .txt file, or paste raw CSV text into the input area
Edit a cellClick any cell to type a new value directly
Edit headersClick a column header to rename it
Sort by columnClick the column header arrow - numbers sort numerically, text alphabetically
Search / filterType in the search box to show only rows containing the term in any column
Add rowClick the Add Row button to insert a blank row at the bottom
Add columnClick Add Column to append a new column with a default header
Delete row/columnClick the X button on any row or column to remove it
DownloadClick Download Edited CSV to save all your changes as a new CSV file

What Makes This Better Than a Text Editor?

FeatureText EditorThis CSV ViewerFull Spreadsheet App
Visual table layoutNo - raw commas and quotesYes - clean aligned columnsYes
SortingNoYes - click to sort any columnYes
Search / filterFind text onlyYes - filters visible rowsYes
Inline editingYes but error-proneYes - click to edit cellsYes
Add/remove rows/columnsManual text editingOne-click buttonsYes
Startup timeInstantInstant (browser tab)Several seconds to launch
Install requiredUsually pre-installedNo - runs in browserYes (or cloud account)
Handles quoted fieldsShows raw quotesParses correctlyUsually

This tool fills the gap between raw text editing (too error-prone for structured data) and a full spreadsheet application (too heavy for a quick look at a CSV export).

How Column Sorting Works

Clicking a column header toggles between ascending and descending order. The sorter detects whether a column contains numeric data or text and sorts accordingly. Pure numeric columns sort by value (so 2 comes before 10), while mixed or text columns sort alphabetically. The sort applies to all rows, not just the visible filtered subset.

Common CSV Viewer Workflows

WorkflowSteps
Quick inspection of a database exportUpload the CSV, scan the table, check row count and column names
Fix a few values before importing elsewhereUpload, click cells to edit, download the corrected CSV
Filter for specific recordsUpload, type a name or ID in the search box, review matching rows
Remove unwanted columnsUpload, click X on columns you do not need, download the trimmed file
Add a missing columnUpload, click Add Column, rename the header, fill in values, download
Sort to find outliersUpload, sort a numeric column descending to see the largest values at the top

Supported File Formats

FormatExtensionDelimiterSupported
Comma-Separated Values.csvComma (,)Yes
Tab-Separated Values.tsvTabYes
Plain text delimited.txtComma or tabYes
Semicolon-separated (European).csvSemicolon (;)Yes - auto-detected
Excel (.xlsx).xlsxN/ANo - use the Excel to CSV converter first

The parser handles quoted fields, embedded commas, escaped quotes, multi-line cell values, and mixed line endings (CRLF, LF, CR) automatically.

Tips for Working with CSV Data

TipWhy
Always check the header rowSome exports include metadata rows above the actual headers - delete them before processing
Watch for encoding issuesIf you see garbled characters (é, £), the file may use a different encoding than UTF-8
Be careful with leading zerosValues like 00123 (zip codes, product codes) may lose zeros when opened in Excel - keep them as CSV for safety
Use search to audit dataSearch for empty strings, "null", or "N/A" to find missing values quickly
Sort before sharingSorting by a key column (date, name, ID) makes the data easier for recipients to navigate

Need to convert your CSV to a proper Excel spreadsheet with formatting? Use the CSV to Excel converter. Going the other direction, the Excel to CSV tool extracts sheet data into plain CSV format. All processing runs client-side - your data stays in your browser and is never uploaded.

What Does RFC 4180 Actually Say?

RFC 4180 is the IETF informational specification that defines the CSV format, published in October 2005 by Y. Shafranovich. The spec is short but strict: fields are separated by commas, records by CRLF line breaks, and any field containing a comma, double-quote, or line break must be enclosed in double-quotes. Inner double-quotes are escaped by doubling them (a literal " becomes ""). A header row is optional but recommended. In practice most real-world CSV files deviate from the spec: LF-only line endings are common (Unix exports), UTF-8 with a BOM appears in Windows exports, and semicolons are used as delimiters across much of Europe because the comma is their decimal separator. The parser behind this viewer handles all of these variants.

Why Do European CSVs Use Semicolons?

In locales where the comma is the decimal separator (most of continental Europe, including Germany, France, Spain, Italy, and the Nordics), using the comma as a field separator would be ambiguous - a value like 1,50 could be one number or two fields. Microsoft Excel's List Separator setting defaults to the semicolon in those locales, so CSV files exported from Excel in German or French Windows use ; between fields. The viewer auto-detects the delimiter by scanning the first line and picking whichever character appears most consistently. If you see everything crammed into a single column, the detection failed - try opening the file in a text editor and re-pasting with the correct delimiter.

How Big Can CSVs Get Before They Break?

Row countTypical sourceBrowser behaviour
Up to 10,000Analytics exports, contact listsInstant - table renders in under a second
10,000 to 100,000Ecommerce order history, CRM extractsFast - parsing takes 1-3 seconds, scrolling is smooth
100,000 to 1,000,000Server logs, large transaction exportsWorks but slower - initial render takes 5-15 seconds
Over 1,000,000Full database dumpsBetter handled by a database tool or streaming parser; the browser will struggle

The file upload hard cap here is 100 MB, which in practice covers millions of rows for most text-heavy exports. Files larger than that are usually better split or loaded into a proper database (DuckDB, SQLite, Postgres).

Common CSV Parsing Pitfalls

PitfallWhat happensFix
Embedded newlines in a cellWithout quoting, the row splits unexpectedlyWrap the whole field in double-quotes - RFC 4180 permits multi-line quoted fields
Unescaped quotes inside a fieldParser thinks the field has ended, shifts subsequent columnsDouble every internal quote: He said "hi" becomes "He said ""hi"""
Byte-order mark (BOM) at the startFirst header becomes Name instead of NameSave the file as plain UTF-8 without BOM, or rename the first header after import
Mixed line endingsSome tools produce a single mega-rowPapaParse handles this automatically - most basic split-by-comma parsers do not
Trailing empty linesBlank rows appear at the bottomDelete them after import using the row X button - skipEmptyLines is on by default here
Numbers with thousand separatorsSorting treats 1,000 as textStrip separators before export, or sort using a clean numeric column

When Is CSV the Right Format, and When Is It Not?

CSV is the best choice when you need a format that every database, spreadsheet, language, and analytics tool can read without a library - it is the lowest common denominator for tabular data interchange. The W3C's Tabular Data and Metadata Working Group published a formal model for CSV on the Web in 2015, reinforcing its role as the default data publishing format for open government datasets (see data.gov.uk and data.gov).

CSV breaks down when you need typed columns (dates, booleans, nested objects), multiple tables in one file, or large binary-friendly columns. In those cases Parquet or JSON are better. For everyday exports, database dumps, config files, and quick hand-edits though, plain CSV is hard to beat. If you need to move data between CSV and structured formats, the JSON to CSV tool flattens JSON arrays into CSV rows.

Browser vs Desktop CSV Tools

Opening a CSV in Excel or LibreOffice Calc is powerful but has downsides: Excel famously mangles leading zeros on product codes, auto-converts strings that look like dates (the classic SEPT1 gene name issue), and requires a round-trip through the Save As dialog to get back to clean CSV. A browser-based viewer avoids all of this - values are treated as text by default, nothing auto-converts, and downloading gives you back a clean RFC-style CSV. For spotting a malformed row, renaming a few columns, or filtering to a subset before sharing, a browser tool is usually faster than launching a spreadsheet app.

Sources

Frequently Asked Questions

Can I edit the data directly in the table?

Yes. Click any cell to edit its value. You can also edit column headers, add new rows or columns, and remove existing ones. All changes are reflected when you download the CSV.

How does sorting work?

Click the arrow icon in any column header to sort by that column. Click again to reverse the sort direction. The tool automatically detects numeric values and sorts them numerically.

Can I search or filter the data?

Yes. Use the search box to filter rows. Any row containing the search text in any column will be shown. The search is case-insensitive.

Are my files uploaded to a server?

No. Everything runs in your browser. Your CSV data never leaves your device.

What file formats can I open?

The tool accepts .csv, .tsv, and .txt files. You can also paste CSV data directly instead of uploading a file.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/csv-viewer/" title="CSV Viewer and Editor - Free Online Tool">Try CSV Viewer and Editor on ToolboxKit.io</a>