Comma, semicolon, tab or pipe: changing the separator safely
CSV stands for comma-separated values, but plenty of CSV files use something else. Excel in Germany, France, Brazil and many other countries writes semicolons, because the comma is the decimal mark there and 3,50 has to survive inside a cell. Data copied out of a spreadsheet arrives separated by tabs. Banks and older systems often send files separated by pipes, since a pipe almost never appears in names or addresses. Moving data between these worlds means changing the separator.
The quick way, a find and replace, is also the way that corrupts files. Replace every semicolon with a comma, and a price of 3,50 suddenly reads as two cells. A note such as "Hot; large" that was correctly quoted gets split in the middle. A column count that was consistent becomes ragged, and the import that follows either fails or puts values in the wrong columns.
This converter parses the file first. Each cell is read with its quoting rules, so the separator inside a quoted value is part of the value and a doubled quote mark becomes a single one. Then the rows are written again with the new separator. A cell is quoted only where the new format needs it: when it contains the new separator, a quote mark or a line break. In the example on this page, 3,50 needs quotes once commas separate the cells, and "Hot; large" no longer does once semicolons do not.
Nothing else is touched. Decimal commas stay commas, dates stay as written and spaces stay where they were. Changing 3,50 to 3.50 might look helpful, but the tool cannot know which commas are decimals and which are text, so it leaves that to you. The file keeps its own line endings, and blank lines are dropped. If you convert to the separator the file already uses, the only change is tidier quoting, which can help a strict reader that disliked the original.
Detection works by trying each of the four separators on the first rows and keeping the one that splits every row into the same number of columns. Counting characters is not enough, since a comma-separated address list can hold more semicolons than commas. If the guess is wrong, choose the separator yourself. The downloaded file is named after yours, with the new separator added when the extension stays the same, so it never overwrites the original. The work happens in a worker on your device and nothing is uploaded.