CSV Viewer
View CSV and TSV files online with search, sorting, filtering and statistics.
Open CSV Files Online with Search, Filters and JSON Export
What Is a CSV Viewer?
A CSV viewer opens, previews and inspects CSV (Comma-Separated Values) files. CSV is a widely used text-based tabular format for spreadsheet exports, databases, reports, data analysis and information exchange.
NZTool CSV Viewer reads CSV, TSV and delimited TXT files directly in your browser and displays their contents as tables. It supports encoding and delimiter detection, searching, column filters, sorting, pagination, column visibility, data quality checks and exports. You do not need Microsoft Excel or other desktop software, and files are processed locally without being uploaded.
How to Open and View a CSV File Online
- Open NZTool CSV Viewer and select a CSV, TSV or TXT file, or drag it into the upload area.
- Let the tool read the file and detect its encoding and delimiter.
- If characters appear corrupted or columns are split incorrectly, select the encoding and delimiter manually and parse again.
- Choose whether the first row contains column headers.
- Review row and column counts, filtered results, empty cells and duplicate records.
- Use search, filters, sorting, pagination and column controls to inspect the data.
- Copy cells, rows or the full table, download CSV data or export JSON.
Default settings are usually suitable for standard UTF-8 CSV files. For exports from older applications, check the encoding, delimiter and header configuration before proceeding.
Supported File Formats
| Format | Description | Typical Use |
|---|---|---|
| CSV | Delimited text table, commonly comma-separated | Spreadsheet exports, databases and reports |
| TSV | Tab-separated values | Data exchange and statistics |
| TXT | Text containing a consistent delimiter structure | Custom and legacy exports |
TXT files must contain a recognizable tabular structure. This viewer is not a general-purpose text editor and does not directly open XLSX or XLS workbooks.
How Does CSV Encoding Detection Work?
CSV files do not always declare their character encoding. Depending on the source, a file may use UTF-8, GB18030, Windows-1252 or ISO-8859-1. NZTool provides automatic detection and manual encoding selection.
- Automatic: Examines common encoding indicators and file characteristics.
- UTF-8: Common for modern websites, APIs and cross-platform files.
- GB18030: Useful for files exported from some Chinese Windows applications and legacy systems.
- Windows-1252: Common in older Western European text files.
- ISO-8859-1: Used for compatibility with older data; browser decoding behavior may differ from its strict definition.
If text displays incorrectly, change the encoding and read the original file again. Automatic detection cannot reliably identify every file without an explicit encoding declaration.
Which CSV Delimiters Are Supported?
Although CSV usually means comma-separated values, real files may use semicolons, tabs or vertical bars. NZTool can detect common delimiters automatically or let you choose one.
| Delimiter | Example | Use |
|---|---|---|
| Comma (,) | id,name,age | Standard CSV |
| Semicolon (;) | id;name;age | Regional spreadsheet exports |
| Tab | Tab-separated fields | TSV files |
| Pipe (|) | id|name|age | Custom exports |
A proper CSV parser recognizes quoted fields so delimiters inside quoted values do not incorrectly create additional columns.
Viewing CSV with Commas, Quotes and Line Breaks
CSV fields may contain commas, escaped quotation marks and line breaks. Such files cannot be parsed reliably by simply splitting text at every comma or newline.
id,name,remark
1,Tom,"Hello, World"
2,Alice,"First line
Second line"
3,Bob,"He said ""Hello"""Correct parsing produces three records. Alice's remark contains a line break, and Bob's contains quotation marks. Check the parsed record count when working with complex CSV files.
Searching and Filtering CSV Data
NZTool supports global search, column-specific filtering and different matching methods.
- Global search: Find records containing a keyword anywhere in the table.
- Column filters: Search within a selected field.
- Contains: Match cells containing specified text.
- Exact match: Match the complete field value.
- Empty-value filter: Find blank cells in a column.
- Case sensitivity: Distinguish uppercase and lowercase letters when needed.
For example, search for a product name, locate orders by ID or find missing status values. Filtered records can then be sorted and viewed page by page.
Sorting and Pagination
Sort CSV data by a selected column in ascending or descending order. Pagination limits the number of rows rendered at once, with options such as 50, 100 or 200 rows per page.
Text sorting and numeric sorting may produce different results. Treat identifiers such as order numbers as text when checking their sequence.
Showing and Hiding Columns
Column management lets you show only the fields relevant to your current task. For a wide order table, you might display the order ID, amount, status and creation date while hiding other columns.
Changing column visibility affects the preview and does not delete information from the original file.
CSV Data Quality Checks
NZTool provides statistics and checks to help identify potential issues:
- Rows and columns: Review the dataset size.
- Empty cells: Identify missing values.
- Duplicate records: Detect potentially repeated rows.
- Filtered count: See how many records match current conditions.
- Encoding: Review the encoding used for parsing.
Duplicate-row detection is not the same as enforcing a database uniqueness constraint. Identical rows are not necessarily invalid, and records sharing an ID may differ in other fields. Verify important business identifiers separately.
Copying and Downloading CSV Data
You can copy a cell, a complete row or the table, and use export options for original CSV data, filtered results and JSON.
| Action | Purpose |
|---|---|
| Copy cell | Extract one value |
| Copy row | Copy a complete record |
| Copy all | Reuse table data elsewhere |
| Download original CSV | Preserve the source data |
| Download filtered data | Export matching records |
| Export JSON | Prepare structured data for programs |
Downloading the original file and exporting filtered results are different operations. Be careful with spreadsheet applications that may interpret formula-like CSV text as executable formulas, and retain a backup of important source files.
How to Export CSV as JSON
CSV records can be organized into JSON objects for API testing, data migration and software development.
Example CSV:
id,name,city
1,Tom,Tokyo
2,Alice,ParisWith the first row used as headers, the output can be:
[
{"id":"1","name":"Tom","city":"Tokyo"},
{"id":"2","name":"Alice","city":"Paris"}
]CSV fields are originally text. Keeping identifiers and long numbers as strings helps preserve their exact values. Check duplicate or empty column headers before exporting to JSON.
CSV Viewer vs. CSV Editor
| Feature | CSV Viewer | CSV Editor |
|---|---|---|
| View tables | Yes | Yes |
| Search and filter | Yes | Depends on the editor |
| Sort and paginate | Yes | Depends on the editor |
| Edit cells | Not its primary purpose | Core feature |
| Add or delete rows | Not its primary purpose | Core feature |
| Inspect and export | Core purpose | Available for edited data |
Use CSV Viewer for inspection, searching and exports. Choose NZTool CSV Editor when you need to change cells or modify records.
Common Uses for CSV Viewer
- Database imports: Check headers, column counts and missing values before importing.
- Spreadsheet exports: Preview CSV files without opening Excel.
- Development: Inspect CSV and export JSON for API testing.
- E-commerce: Review products, inventory, orders and shipping data.
- Data cleaning: Locate suspicious records using filters and quality checks.
- Reports and logs: View delimited CSV, TSV and TXT files.
- Cross-platform exchange: Check encodings and delimiters from different systems.
Frequently Asked Questions
Can I open a CSV file online?
Yes. Select a local CSV file and NZTool displays it as a table in your browser.
Do I need Microsoft Excel?
No. The viewer parses text files directly in the browser.
Are TSV and TXT files supported?
Yes, provided TXT files contain a consistent delimited structure.
Why does my CSV show garbled characters?
The selected encoding may not match the file. Try UTF-8, GB18030 or another available encoding.
Why are the columns split incorrectly?
The file may use semicolons, tabs or another delimiter. Select the correct separator and parse again.
Will commas inside quoted fields create extra columns?
No, provided the file follows standard CSV quoting rules and is parsed correctly.
Can I search for specific values?
Yes. Global search, column filters, contains matching, exact matching and empty-value filtering are available.
Can I sort CSV data?
Yes. Choose a column and ascending or descending order.
Can I view large CSV files?
Pagination helps with display, but practical limits depend on file size, column count, browser performance and device memory.
Can I detect duplicate records?
Yes. Duplicate statistics and data quality checks help identify potentially repeated data.
Can I hide columns?
Yes. Use column management to show or hide fields.
Can I download filtered records?
Yes. The viewer provides original-file and filtered-result download options.
Can I export CSV to JSON?
Yes. Table records can be exported as structured JSON.
Does viewing or sorting modify the original file?
No. These operations affect the browser's view and do not overwrite your local source file.
Are CSV files uploaded to a server?
No. NZTool reads and processes the files locally in your browser.
Free Online CSV Viewer
- Online CSV preview: Open CSV, TSV and delimited TXT files as tables.
- Encoding and delimiters: UTF-8, GB18030 and common comma, semicolon, tab and pipe separators.
- Search and filtering: Global search, column filters, exact matches, contains matches and empty cells.
- Sorting and pagination: Ascending or descending column sorting with 50, 100 or 200 rows per page.
- Column visibility: Show or hide fields to inspect wide tables.
- Data quality: Review row counts, empty cells, duplicate records and filtered totals.
- Copy and export: Copy cells, rows or all data; download CSV and export JSON.
- Privacy: Files are read and processed locally without server uploads.