FormatterHQ

CSV Viewer

Open a CSV or TSV file and see it as a clean table in your browser. The delimiter is detected for you, and the parsed rows are also available as JSON.

Input CSV
Output JSON
Ready.

How to use the CSV Viewer

  1. Drop a .csv, .tsv or .txt file on the editor, use Upload file or Load URL, or paste the data. Sample loads an example.
  2. Keep Delimiter on Auto-detect unless the columns look wrong, then choose comma, semicolon, pipe or tab.
  3. Set First row is header and Detect numbers & booleans, then click View Table (with Auto update on the table refreshes by itself).
  4. Read the table in the Preview tab and the row count in the status bar; the Code tab holds the same rows as JSON for copying or download.

A CSV viewer that shows how your file really parses

Opening a CSV in a text editor gives you a wall of commas, and opening it in a spreadsheet app can silently change values. This CSV viewer renders the file as a plain HTML table instead, exactly as a CSV parser reads it: each record is a row, each field a cell, and nothing is reformatted behind your back.

That makes it useful for a quick look at an export and also for checking a file before you import it somewhere else. If the columns line up here, a standards-compliant importer will usually read them the same way.

Example: a European export with semicolons

Accounting and banking software in many European locales writes semicolon-separated files, because the comma is already the decimal separator:

Datum;Kunde;Betrag;Bezahlt
03.01.2024;"Weber; Sohn GmbH";1.250,00;ja
05.01.2024;Kaya AG;89,90;nein

With the delimiter on Auto-detect, the Preview tab shows four columns and two data rows, and the status bar reads 2 rows. The quoted customer name keeps its semicolon, and amounts such as 1.250,00 are displayed unchanged rather than being guessed into a different number.

What you see in each tab

  • Preview – the table itself, with a sticky header row, alternating row shading and a light or dark look that follows your system theme.
  • Code – the same data as a JSON array of objects, one per row. It is handy when you want to copy a few records into a test or confirm which values were read as numbers.
  • Status bar – the number of rows, or a parse error with the record number where the file breaks.

The viewer is read-only. To correct a value, edit the text in the input editor and the table updates while Auto update is on.

Options explained

  • Delimiter – Auto-detect handles commas, semicolons, pipes and tabs in most files. Choose one explicitly when a file has only one or two columns or when detection picks the wrong character.
  • First row is header – on by default. Untick it for headerless files such as raw log exports; the first line then appears as an ordinary row and the JSON becomes a list of arrays.
  • Detect numbers & booleans – affects the JSON in the Code tab. Numbers without leading zeros and the words true and false become typed values; everything else, including 0,12 or 007, stays text.

Diagnosing a broken CSV

A viewer is often the fastest way to see why an import failed. A few patterns to look for:

  • Everything sits in one column. The file uses a different separator from the one expected. Switch the delimiter and watch the table split correctly.
  • Fewer rows than lines. Some cells contain line breaks inside quotes, such as addresses or comments. That is valid CSV, and the table shows the text on several lines within one cell.
  • Headers such as column3 or email_2. The header row had an empty cell or a repeated name. The viewer names them so that no column is lost, which hints that the source file needs a proper header.
  • An error naming a record. A double quote was opened and never closed, or a quote inside a quoted value was not doubled. Fix that record and the rest of the file appears.

A byte order mark at the start of the file, as written by Excel when saving as UTF-8 CSV, is removed automatically, and blank lines are skipped.

Typical uses

  • Checking a contact export from a CRM or newsletter service before importing it elsewhere, to confirm that names with commas stayed in one column.
  • Opening a CSV attached to a support ticket or email without starting a spreadsheet program that might reformat dates and IDs.
  • Verifying the output of your own script, for example a Python or Node job that writes a report, including its quoting and line endings.
  • Getting a few rows as JSON to use as test fixtures.

Viewer or converter?

Use this page when you want to look at the data. When you need it in another format, CSV to JSON gives you indentation and nesting options, and CSV to Excel produces a real workbook for people who work in spreadsheets. For .xlsx files you received, the Excel viewer shows each sheet the same way.

Privacy

Files are parsed and rendered locally by your browser; they are not uploaded to our server. The exceptions are Load URL, which retrieves the file through our server, and Save & Share, which stores it so the link works.

Frequently asked questions

Can I sort or filter the table?
No, the preview is a static, read-only table meant for checking the contents and structure. For sorting and filtering, convert the file with CSV to Excel and open it in a spreadsheet application.
Why is my whole file shown in a single column?
The delimiter was not recognized. This happens with very small files or unusual separators. Select Comma, Semicolon, Pipe or Tab in the Delimiter option and the table will split into columns.
Does the viewer change my data?
No. The table shows the text as it appears in the file, and nothing is written back. Only the JSON in the Code tab is affected by number detection, and you can turn that off.
Can I open a TSV file?
Yes. Tab-separated files are detected automatically, or you can set the delimiter to Tab. The upload accepts .csv, .tsv and .txt files.
Why do accented characters look wrong?
The file was probably saved in a legacy encoding such as Windows-1252 rather than UTF-8. Re-save it as UTF-8 (in Excel, choose "CSV UTF-8") and open it again.

Last updated September 26, 2026

Related tools

BBCode Viewer Preview BBCode forum posts before publishing: bold, colours, links, quotes, lists, code and spoilers rendered live. Excel Viewer Open and view Excel (.xlsx, .xls), OpenDocument (.ods) and CSV spreadsheets online without Excel. Sheet tabs, merged cells and JSON tree. EXIF Viewer Read EXIF, GPS, XMP, IPTC and ICC metadata from photos — camera, lens, exposure, date and location — without uploading the file. HTML Viewer Paste HTML or open a file and see it rendered instantly in a safe, sandboxed live preview. Free online HTML viewer. JSON Viewer & Beautifier View JSON as a collapsible tree and beautify it at the same time. Explore nested objects and arrays without losing your place. Markdown Viewer View Markdown files rendered like on GitHub: open a .md file or paste text and see formatted headings, tables and code. LaTeX Table Generator Convert CSV, spreadsheet cells or JSON into LaTeX tabular code with captions, labels, borders or booktabs styling. Markdown Table Generator Generate GitHub-flavoured Markdown tables from CSV, TSV, Excel cells or JSON, with column alignment and neat padding. Merge CSV Files Merge several CSV files into one: match columns by header name or position, add the source file name, remove duplicate rows. Runs in your browser. CSV Splitter Split a CSV file every N rows, into equal parts or by the values of a column. The header is kept in every file; download parts or one ZIP. Table to HTML Converter Convert CSV, TSV, Markdown or JSON data into a clean HTML table with optional CSS styling and a live preview. Tableizer: Excel to HTML Table Paste cells copied from Excel or Google Sheets and get a styled HTML table. Choose header colour, font and row striping.