CSV Delimiter Converter
Convert CSV between comma, semicolon, tab, pipe and custom delimiters — quoted fields stay intact.
CSV input
Converted
Paste CSV or drop a file to convert its delimiter
Auto-detect finds the source delimiter; results update as you type.
Details
This tool performs delimiter-only surgery on CSV data: it parses your input with a strict RFC 4180 tokenizer (quoted fields, doubled quotes, embedded commas and line breaks, CRLF/LF/CR endings, UTF-8 BOM), then re-serializes the same rows and columns with your chosen output delimiter. The source delimiter is auto-detected with a quote-aware scoring pass and shown with a confidence figure, or you can override it — including a custom single-character delimiter. Three quoting strategies are available: minimal (quote only where needed), quote-all for strict parsers, and no quotes (warned when it would corrupt the data). Everything runs locally in your browser; your data is never uploaded.
More examples
Excel EU export (semicolon) → comma
name;city;note
Ada;London;"born, raised"
// Converted to comma:
name,city,note
Ada,London,"born, raised"The semicolon is detected automatically and the comma inside the quoted note survives — naive find-and-replace would have split that field.
Pipe feed → comma
sku|qty|desc
A-1|4|"4x2 in"
// Converted to comma:
sku,qty,desc
A-1,4,4x2 inQuote-heavy vendor exports load into comma-expecting pipelines with the quoting strategy set to minimal.
Comma → tab for psql
id,name
1,Ada
// Converted to tab:
id name
1 AdaTab output downloads as a .tsv file ready for `psql \copy` or `LOAD DATA`.
Examples
Excel EU export → comma
name;city;note
Ada;London;"born, raised"name,city,note
Ada,London,"born, raised"The comma inside the quoted note survives; find-and-replace would have split that field in two.
Pipe feed → tab
sku|qty
A-1|4sku qty
A-1 4Tab output downloads as .tsv, ready for psql \copy or LOAD DATA.
Quote-all normalization
a,b
1,2 with quote mode “quote all”"a","b"
"1","2 with quote mode “quote all”"Quote-all satisfies strict importers that require every field wrapped.
About this tool
The CSV Delimiter Converter changes the separator of CSV data without touching its structure: rows stay rows, columns stay columns, and every value survives byte-for-byte. It exists because naive find-and-replace corrupts files — the semicolon or comma you want to swap also appears inside quoted fields ("London, UK"), so a text-level replace silently splits records. Instead, the tool parses your input with a strict RFC 4180 tokenizer that understands quoted fields, doubled quotes (""→ "), and commas or line breaks embedded inside quotes, then re-serializes exactly the same field grid with your target delimiter.
The source delimiter is detected automatically. A quote-aware scanning pass counts each candidate separator (comma, semicolon, tab, pipe) per record — records, not raw lines, so a quoted field containing a line break does not skew the count — and scores them by consistency. The winner and a confidence figure are shown, and you can always override the detection, including with a custom single-character delimiter such as # or ~ for unusual feeds. Non-ASCII data (umlauts, CJK, emoji, curly quotes) passes through untouched, and a leading UTF-8 BOM is stripped before parsing.
Output is yours to shape: three quoting strategies (minimal — quote only where the target parser requires it, quote-all for strict importers, or none — with a warning when that would produce unparseable output), a line-ending normalization choice (CRLF per RFC 4180, LF, or bare CR), and a header-row highlight in the preview. The first 50 rows × 30 columns render as a table so you can confirm the conversion before copying or downloading, and everything runs entirely in your browser — no upload, no server.
What this tool does not do
- Delimiter-only: the row/column shape passes through unchanged — no type coercion, transposition, or structural conversion.
- Delimiters are single characters; multi-character separators and backslash-escape dialects are out of scope.
- Files above 50 MB are refused — split them and convert the parts.
How to use this tool
Paste or drop your CSV
Paste text into the input pane, or drop a file (up to 50 MB) and pick the file encoding — UTF-8 or Windows-1252 for older Excel exports.
Confirm the source delimiter
Auto-detect picks the separator and shows its confidence; override it with the From selector, including a custom single character.
Choose the target and quoting
Pick the To delimiter, a quoting strategy (minimal, all, none), and line endings; the preview table updates as you type.
Copy or download
Copy the converted CSV, or download it — the file extension follows the dialect (.csv, .tsv for tab, .psv for pipe).
Use cases
Fixing European Excel exports
German, Turkish, and French locale Excel writes semicolon CSVs; convert them to comma so importers, scripts, and shells accept the file.
Loading vendor feeds
Pipe- or custom-character-delimited feeds from partners convert to standard comma CSV before they enter your pipeline.
Preparing database imports
Convert any dialect to tab (or quote-all comma) for psql \copy, MySQL LOAD DATA, or other loaders with strict dialect expectations.
Quoting strategies and when each is safe
| Strategy | What it does |
|---|---|
| Minimal | Quotes a field only when it contains the target delimiter, a double quote, or a line break — safe for every input |
| Quote all | Wraps every field in quotes — what strict parsers and some databases expect |
| No quotes | Emits raw fields; the tool warns when fields contain the delimiter, quotes, or line breaks, because that output will not parse back to the same table |
Embedded double quotes are always escaped by doubling them (""), per RFC 4180.
Common mistakes
Mistake:Fixing delimiter problems with find-and-replace.
Fix:The separator also appears inside quoted fields, so text-level replacement corrupts rows. A quote-aware conversion is the only safe route.
Mistake:Trusting auto-detection blindly on files that mix separators.
Fix:Check the reported confidence and the preview table; override the From selector when the detection picked the wrong character.
Mistake:Choosing “no quotes” to tidy the output.
Fix:Unquoted fields containing the target delimiter, quotes, or line breaks break the file. Keep minimal quoting unless the destination parser truly needs none — the tool warns when none would corrupt data.
Mistake:Assuming custom multi-character delimiters work.
Fix:Delimiters are single characters by RFC 4180's dialect model; a multi-character separator needs a find-and-replace on fully unquoted data or a script.
Frequently asked questions
Why does find-and-replace break my CSV?
Because the delimiter also appears inside quoted fields. In name;city;note\nAda;London;"born, raised" the comma inside the quotes is data, not a separator — a text-level replace of semicolons with commas works by luck on simple files and silently splits records the moment any quoted value contains the new delimiter. This tool parses the file into a field grid first (RFC 4180: quoted fields, doubled quotes, embedded line breaks) and only then re-emits it with the target delimiter, so every value survives.
How do I know which delimiter my file uses?
You don't have to: auto-detect scans the first records with a quote-aware pass and reports the separator together with a confidence figure. Open the file in a plain text editor and look at the first line if you want to verify — semicolons usually mean a European Excel export, tabs mean a spreadsheet or database dump, pipes often mean a vendor feed. You can always override the detection with the From selector, including a custom single character.
Does it handle quotes and embedded newlines?
Yes. Fields wrapped in double quotes keep their delimiters and line breaks as data, doubled quotes ("") are unescaped to a literal " on input and re-escaped on output, and records with quoted embedded newlines count as one row, not several. The result parses back to exactly the same table it was parsed from.
Is there a file size limit?
Files up to 50 MB are accepted; larger files are refused with their exact size — split them and convert the parts. Big files are decoded in 1 MB slices through a streaming decoder, so multi-byte characters split at chunk boundaries are not corrupted. Preview is capped at 50 rows × 30 columns, but copy and download always contain the complete conversion.
Is my data uploaded anywhere?
No. Parsing, conversion, preview, and download all run in your browser tab — nothing is sent to a server, and the input is only stored locally in your browser so a refresh keeps your work. Closing the tab and clearing site data removes it.
Why does the output warn about =, +, - or @ at the start of fields?
Spreadsheet applications execute cells beginning with those characters as formulas when a CSV opens, which is a known attack vector (CSV injection). The warning is informational — the data is converted exactly as-is — but if the file is headed for Excel, review those fields first. Quoting the fields does not stop Excel from evaluating them.
References & standards
Related tools
Base32 Encoder / Decoder
Encode and decode Base32 (RFC 4648) with hex input mode and Crockford variant. Handles TOTP secrets. Runs in-browser.
Base58 Encoder / Decoder
Convert hex or text to Base58 and back, with Base58Check validation (version byte + checksum). IPFS CIDs too. In-browser.
Base64 Toolbox
Professional Base64 workspace for text, files and images with Base64URL, MIME, Data URI, strict validation, image preview and ready-to-use snippets.
BibTeX to JSON Converter
Parse .bib bibliographies into structured JSON with authors, months, macros and LaTeX cleanup, all in-browser.
C# to VB.NET Converter
Convert a subset of C# — classes, methods, variables, loops — into VB.NET
CSV Data Viewer
Paste CSV and inspect it as a sortable, searchable table with delimiter detection and inline export.