LocalExcelTool
Get started

CSV viewer

Preview a CSV file as a proper table — quoted commas and newlines handled.

Runs in your browserNo account neededFree

What is CSV viewer

A CSV viewer displays comma-separated files as a table instead of a wall of text. This viewer parses the file in your browser with RFC 4180 rules — quoted fields containing commas, escaped quotes and embedded newlines are all handled — then shows the column count, row count and the first rows of the table.

File

No file chosen

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Parsing that follows the standard, not Excel's locale

The file is split by RFC 4180 rules: quoted fields keep their commas, doubled quotes unescape, and embedded newlines stay inside their field. Tab-separated and semicolon-separated files are sniffed automatically. This is why a CSV that opens as one column in Excel (or splits wrong on a German locale) reads correctly here — the viewer applies the standard the file was written against.

Why a broken-looking row is usually in the file

Real exports break: a quote left unclosed swallows the rest of the file into one field, or a stray delimiter widens one row. The viewer shows what is stored, including the damage — the column count per sheet and the first rows make a ragged file obvious in seconds. Fixing happens upstream; a viewer that silently repaired broken rows would be lying about the file.

When not to use it

When the file is enormous. The preview stops at twenty rows to keep the tab responsive, though row and column counts cover the whole file — you learn the size without loading it. For actual data work, hand the file to the CSV conversion tools; and if the text looks like mojibake, the encoding is wrong (UTF-8 vs Windows-1252), which is a conversion problem this viewer surfaces but does not solve.

How to use it

  1. 1.Choose a .csv / .tsv / .txt file.
  2. 2.Read the table preview with dimensions.
  3. 3.Nothing is uploaded.

How CSV viewer works under the hood

An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.

  1. 1

    Read the file as bytes

    The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.

  2. 2

    Unzip and parse the workbook

    SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.

  3. 3

    Rebuild rows in memory

    Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.

  4. 4

    Write the output locally

    The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.

  5. Processing pipeline
Example: merge two monthly exports into one table
q1-north.xlsx — first sheet
RegionRevenue
North12,480
South9,320
q1-west.xlsx — first sheet
RegionRevenue
West7,150
merged.xlsx — first sheet
RegionRevenue
North12,480
South9,320
West7,150

Rows are appended in the order you picked the files, and columns are matched by header text — that is why the highlighted West row landed last. If one file spells the header "Revenue " with a trailing space, it counts as a different column and merges as a blank one.

Why formulas arrive as values

A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.

What has no CSV equivalent

Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.

Where it gets slow

Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.

Verify it yourself

You do not have to take this on faith. Run the tool once with DevTools open.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Why does Excel mangle my CSV but this looks right?

Excel re-parses CSV with your Windows locale settings (a German Excel splits on semicolons). This viewer follows the RFC 4180 standard, which is what the file actually contains.

Are semicolon or tab files supported?

Yes — .csv, .tsv and semicolon-separated files are sniffed automatically, and the delimiter is applied consistently across rows.

What this kind of conversion cannot keep

Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.

More in Spreadsheets & Docs