The name CSV suggests commas, but plenty of real files use semicolons or tabs. Pick the wrong separator and everything lands in a single column. This guide shows how to spot the separator and read the file correctly.
Why separators differ
CSV stands for comma-separated values, yet there is no single strict standard. In many regions the decimal mark is a comma (3,14), so exporting programs there use a semicolon to separate columns and keep number commas from clashing with column breaks. A CSV exported with such regional settings is semicolon-separated.
Tab-separated files (TSV) are common when you copy a table from a spreadsheet or export from a database. For data full of commas in free text, a tab or a pipe character can be a safer choice.
Comma: the most common form
Semicolon: typical for regional settings that use a decimal comma
Tab: TSV files and text pasted from a spreadsheet
Pipe: exports from systems where text contains many commas
How to find the separator
Open the file in a plain text editor and look at the first two or three lines. In the header row, check which character repeats between column names. A tab is hard to see, but it shows as a wide gap between words.
If you are not sure, count the candidate characters line by line. The character that appears the same number of times on every line is very likely the separator.
Look at the header row for a repeating character between names
A character with the same count on every line is the best candidate
If a header itself contains a comma, check whether it is wrapped in quotation marks
Symptoms of a wrong guess
A wrong separator usually produces one of two symptoms. Either everything sits in the first column as one long string, or columns split in odd places because of commas inside text.
The second case happens even with proper quoting if the chosen separator is wrong. If the number of cells differs from line to line, the separator or the quoting rule does not match the file.
Only one column with long text: the separator does not match
Uneven cell counts per row: check quoting and line breaks inside cells
A number like 3,14 split into 3 and 14: the decimal comma collides with the separator
Reading them with this site's tools
The CSV viewer and the CSV to JSON converter let you choose the separator instead of assuming a comma. After loading a file, check that the table splits into the right columns and switch the separator until it looks correct.
Once you find the setting that gives a clean table, convert to JSON with the same choice. Everything runs in your browser and the file never leaves your device.
Open the file in the viewer first and check the column split
Change the separator until each row has the same number of cells
Convert to JSON with the same separator and review the first few records
Agreements when you share files
When you send a CSV to someone, mention the separator and the character encoding (UTF-8) so they do not have to guess. Standardizing on one choice inside your team saves time.
If you plan to merge several files, make their separators identical first. Joining files that use different separators shifts every column out of place.
Put the separator in the file name or a note, for example orders_tab.tsv
UTF-8 is the safest encoding to recommend
Confirm all files share a separator before merging them