Delimiter detection
Automatically detects commas, semicolons, tabs and pipes by analysing the first several lines of the file.
Upload a CSV file to preview it in a sortable, filterable table, then convert it to JSON and download the result. Delimiter detection, quoted values, embedded commas and newlines are all handled correctly. No sign-up, no uploads, no server.
Private by design. CSV files are read and processed entirely in your browser using JavaScript. Nothing is uploaded, stored, or logged anywhere.
or click to browse — you can also paste CSV text below
.csv, .tsv, .txt — up to ~25 MB recommended
Upload a file or paste text above to see the table and JSON output here.
.json file. You can also re-download the filtered data as CSV.Automatically detects commas, semicolons, tabs and pipes by analysing the first several lines of the file.
Follows RFC 4180 conventions so quoted values can contain commas, newlines and escaped double quotes.
Click a header to sort ascending or descending. Numbers, dates and text are compared appropriately.
Each column has its own filter field. Combine filters with the global search to narrow down quickly.
Convert the visible rows to JSON with the header row as keys, or as plain arrays when no header is present.
Files are read and processed entirely in your browser. Nothing is uploaded, stored, or logged anywhere.
CSV — comma-separated values — is one of the oldest and most widely used data formats. Every spreadsheet application can export it, every database can import it, and almost every programming language has a library for reading it. Its simplicity is its strength: a CSV file is just text, and you can open one in any editor. But that simplicity also hides a number of quirks that trip up naive parsers, and understanding them makes the difference between a tool that works for spreadsheets and one that works for real-world data.
RFC 4180 is the closest thing CSV has to an official specification. Its key rules are:
An exported file from a European spreadsheet application often uses semicolons because commas are the decimal separator in many European locales. Files exported from database tools often use tabs. A good CSV parser either detects the delimiter automatically or lets the user choose. Detection usually works by counting candidate delimiters on the first several lines and picking the one that produces the most consistent number of columns.
JSON has become the default format for APIs and config files, so converting CSV to JSON is a common task. The standard approach is to treat the first row as a header, then map each subsequent row to an object where the keys are the header names. This produces readable, self-describing data. When a file has no header, each row becomes an array of values instead, preserving order without imposing names. Both shapes have their uses — objects are more readable, arrays are more compact and easier to process programmatically.
"Smith, John" contains a comma that is not a field separator. A naive parser will split it into two fields."Line one\nLine two" spans multiple lines but is one field. Simple line-based splitting fails here.He said ""hello"" decodes to He said "hello". Both the encoding and decoding need to be handled.This CSV viewer and converter is part of the TempScript free online tools collection. It runs entirely in your browser, requires no account, and never sends your data anywhere. If you work with data and text regularly, you may also find our JSON formatter and URL encoder and decoder useful.
© 2026 TempScript. All rights reserved.