🔒 100% private — runs in your browser, nothing is uploaded

CSV Delimiter Detector

Find out which delimiter a CSV-style file really uses — comma, semicolon, tab, pipe or colon — with per-candidate evidence, a confidence rating and a parsed preview.

“CSV” names a family, not a character: European Excel exports separate with semicolons because the comma is their decimal separator, spreadsheets copy as tabs, pipelines favour pipes, and some systems use colons. A detector cannot ask the file, so it cross-examines the rows. The rule used here is the one that actually identifies a separator: the true delimiter appears the same number of times on every row (once less than the column count), while characters that merely occur in the data vary from row to row. This page counts five candidates — comma, semicolon, tab, pipe, colon — on up to twenty of your rows, scores each by its most consistent count, and reports the winner with its evidence exposed. Worked example: the sample’s four rows — a header plus three data rows — each contain exactly two semicolons outside quotes, so the semicolon scores a mode of 2 matching 4 of 4 rows, the verdict reads 3 columns, and the confidence is high.

The text you paste is analysed in page memory on your device only: it is never uploaded, never stored and never put into a link. Counting ignores candidate characters inside quoted fields, so a notes column full of commas cannot make a semicolon file look like a comma file.

Quick answers

How can I tell if a CSV uses semicolons or commas?

Count each candidate on several rows: the real separator appears the same number of times on every row. Three rows with exactly two semicolons each mean a 3-column semicolon file. This page does that counting for comma, semicolon, tab, pipe and colon at once, ignoring candidates inside quoted fields, and shows the evidence per candidate.

Semicolon files usually come from European Excel exports, where the comma is reserved as the decimal separator.

Why does Excel open my CSV as one wide column?

Because the file’s delimiter is not the one Excel expects for your locale — typically a comma file on a semicolon-locale system or the reverse. Detect the real delimiter first (this page), then import with that separator specified, or convert the file, instead of letting the open fail silently into a single column.

Once detected, the CSV Column Extractor and Pivot Table Maker on this site both let you set the delimiter explicitly.

How to use

  1. Copy at least two rows — ideally the header and several data rows — from the file whose separator you do not know, and paste them here.
  2. Read the verdict: the most likely delimiter, the column count it implies, and an honest confidence rating (high, medium or low) rather than a bare guess.
  3. Check the evidence table: for every candidate it shows the separator count on each of your first rows, the most common count, and how many rows match it — a real delimiter produces the same count on every row.
  4. Confirm with the preview, which parses your rows using the detected delimiter. If the columns line up with the file’s meaning, you have your answer; if not, the evidence table shows which candidate to try next.

About this tool

One refinement separates a careful detector from a naive counter: counting respects quotes. A comma inside a quoted address (“10 Main St, Apt 4”) is data, not a separator, and counting it would make a semicolon file look comma-delimited — so candidates are counted only outside quoted regions, with doubled quotes handled as escapes. The confidence rating is deliberately honest: if no candidate is consistent, the page says so and shows the table instead of guessing, because a wrong delimiter silently corrupts every downstream import. Once you know the separator, the neighbouring tools take over: the CSV Column Extractor narrows the file, and the Pivot Table Maker summarises it — detection first, then work.

How it works

For each candidate c in {comma, semicolon, tab, pipe, colon}: count c outside quoted regions on each sampled row. A candidate’s score is its modal (most frequent) count and the number of rows matching that mode. The winner maximises matching rows, then modal count; its column count is modal count + 1.

Confidence: high when the winner matches every sampled row and no rival ties it; medium when it matches at least 60% of rows or ties a rival; low otherwise — including the single-column case, where the page reports that no delimiter could be established instead of guessing.

What this tool can’t do

Only the five common delimiters are tested. Files separated by tildes, carets, unit-separator control characters or multi-character sequences need a parser configured by hand.

Detection reads at most the first twenty non-empty rows you paste. A file whose early rows are comments or free text before the real table starts can mislead any detector — paste from the header row down.

Quoted fields containing line breaks span rows in the raw text; a pasted fragment of such a file can look inconsistent. Paste complete records where you can.

Worked examples

European export: name;city;score over three rows → semicolon wins, 2 separators on every row, 3 columns, confidence high. The commas inside any quoted notes would be ignored by the counting.

Spreadsheet paste: Cells copied from Excel arrive tab-separated: the tab candidate matches every row while comma and semicolon score zero — verdict tab, found without the user knowing the word TSV.

Honest failure: A single-column list of names gives every candidate a count of zero on all rows. The page reports that no delimiter could be established, rather than declaring comma by default.

Delimiter field guide

DelimiterUsual sourceTell-tale sign
Comma ,US / UK exports, APIsSame comma count on every row
Semicolon ;European Excel exportsDecimal commas inside the numbers
TabSpreadsheet copy-and-pasteColumns line up in a fixed-width font, separator invisible
Pipe |Data pipelines, log exportsVisible bars between fields
Colon :System and config exportsCareful: colons also live inside times and URLs

Frequently asked questions

How does the detector decide?

For each candidate character it counts occurrences outside quoted fields on every row you pasted. The true delimiter is the one whose count is identical (and above zero) on row after row — that count plus one is the column count. Candidates that appear inside the data score inconsistently and lose. The full per-candidate counts are printed in the evidence table so you can audit the verdict.

Why did my file get a low-confidence result?

Usually one of three reasons: the file is single-column (no delimiter exists to find), the pasted rows are too few or unrepresentative (a header alone cannot prove consistency), or the file uses a delimiter outside the five tested — for example a tilde or a custom character. The evidence table shows exactly what was found, so a low rating is information, not a failure.

Are commas inside quoted fields counted?

No. Counting is quote-aware: characters inside a double-quoted field are treated as data, and a doubled quote ("") inside a field is read as an escaped quote, not as the end of the field. That is what stops a notes column full of commas from disguising a semicolon-delimited file.

Is my data uploaded for analysis?

No. The counting and the preview run in page memory on your device; your rows are never uploaded, stored or put into a link. Paste only the rows you need for detection — the first twenty are all the tool reads — which is good practice with any data, here or anywhere.

📦 Embed this tool on your site

<iframe src="https://verystep.com/embed/csv-delimiter-detector/" title="CSV Delimiter Detector" width="100%" height="520" loading="lazy" style="border:0"></iframe>

Free to use. The embed shows a small "Powered by Verystep" link.

First time embedding? Read the step-by-step guide →

More free tools