TSV to CSV Converter - Free & Private
Turn tab separated data into proper comma separated values, with quoting that follows RFC 4180 and options for Excel in European locales.
Tab separated data, converted safely to CSV
Tabs are a convenient separator right up to the moment a system refuses to accept them. This converter reads tab separated text, including the quoted fields that spreadsheets produce when a cell contains a line break, and writes it back out with commas or semicolons. Any field holding the separator, a double quote, or a line break is wrapped in quotes, and quotes inside a field are doubled, which is exactly what RFC 4180 asks for.
The everyday trigger is a copy and paste. Select a block of cells in Excel, Numbers or Google Sheets, press copy, and the clipboard hands you tab separated text rather than CSV. Paste that into a bulk import screen expecting commas and the whole row lands in the first field. Database administrators hit the same wall exporting from a query tool that only offers tab output, and marketers meet it when an advertising platform insists on a comma delimited product feed.
Naive conversion by replacing every tab with a comma is where data quietly breaks. A product description such as Hex bolt, stainless already contains a comma, so the row silently gains a column and every value after it shifts one place to the left. Because a shifted row is still a valid CSV row, no importer complains and the corruption surfaces weeks later. Proper quoting removes that class of bug entirely, and the counter above tells you how many fields needed it.
Two settings exist purely because of Excel. In locales that write decimals with a comma, which covers the Netherlands, Germany, France, Spain and most of continental Europe, Excel expects semicolons between fields and will drop a comma delimited file into a single column. The byte order mark solves a second Excel habit, namely guessing the encoding: without those three leading bytes an accented name or a euro sign is often rendered from the legacy code page instead of UTF-8.
Everything runs locally in the page, so a customer list or a price file never leaves the machine you are working on. Once the CSV exists, the CSV Viewer on ToolForte will show it as a sortable table so you can sanity check the column count, and the CSV to JSON converter turns the same file into records for an API payload.
How the TSV to CSV Converter Works
- 01Paste tab separated text or drop a .tsv file. Data copied straight out of a spreadsheet is already tab separated, so pasting is usually enough.
- 02Choose the output separator: a comma for international use, or a semicolon for Excel on a locale that writes decimals with a comma.
- 03Decide whether to add a UTF-8 byte order mark and whether lines should end with CRLF, which is what RFC 4180 specifies and what Excel prefers.
- 04Copy the result or download the .csv file. The counter tells you how many fields needed quoting.
Quoting is the whole job
Replacing every tab with a comma takes one line of code and corrupts real data on the first row that contains a comma of its own. A description such as Anchor set, M10 turns into two fields, the row grows by one column, and every value to the right slides out of place. Nothing rejects the file, because a shifted row is still syntactically valid CSV, so the mistake surfaces weeks later as a customer with the wrong price. The rule that prevents it is short: wrap a field in double quotes whenever it contains the separator, a double quote, or a line break, and represent a literal double quote by doubling it. Leading and trailing spaces are quoted too, because many importers strip unquoted whitespace. The reader on this page applies the same rules in reverse to the input, so a spreadsheet cell that held a line break and arrived wrapped in quotes survives the trip intact. Line endings are normalised on the way in, whether the file came from Windows, macOS or a Unix pipeline, and are written back in the style you select. The quoted field counter above the output is a quick sanity check: if it reads zero on a file full of prose, the parse probably went wrong.
When to Use the TSV to CSV Converter
The most common trigger is a clipboard. Copying a block of cells from Excel, Numbers or Google Sheets puts tab separated text on the clipboard, not CSV, so pasting it into an import screen that expects commas dumps the entire row into the first field. Database export tools that only offer tab output cause the same problem, as do advertising and marketplace feeds that insist on a comma delimited file. Converting first means the import either succeeds or fails loudly, rather than succeeding with shifted columns.
Common Use Cases
- Converting a block of cells copied from a spreadsheet into a file a bulk import screen will accept.
- Preparing a product feed for an advertising platform that only documents comma delimited input.
- Handing a colleague in another country a file that opens in columns on their copy of Excel.
- Checking the converted file column by column before you send it CSV/Excel Viewer - Sortable Table Free
- Turning the same rows into structured records for an API CSV to JSON Converter - Auto-Detect Format
Expert Tips
- Watch the uneven rows warning. A tab separated export with a ragged row usually means a cell contained a literal tab, and that has to be fixed in the source rather than in the CSV.
- Numbers written with a comma as the decimal mark stay strings here, exactly as they were in the input. Convert them to a dot before importing into a system that expects a machine readable decimal.
- If Excel still shows one column after conversion, the file separator and the system list separator disagree. Rather than fighting it, use the Data tab and the From Text option, where you can state the separator explicitly.
Frequently Asked Questions
- Whenever the file will be opened in Excel by someone whose system uses a comma as the decimal separator, which covers the Netherlands, Germany, France, Spain, Italy and most of continental Europe. Excel reads the list separator from the operating system, so a comma delimited file lands entirely in column A on those machines.
- It puts three invisible bytes at the very start of the file that identify the text as UTF-8. Without them Excel often guesses a legacy code page, which turns accented letters and the euro sign into unreadable characters. Leave it switched off for databases, importers and command line tools, which tend to read it as part of the first column name.
- RFC 4180 specifies them and Excel is happiest with them, so they are on by default. Switch to plain line feeds when the file is destined for a Unix pipeline, a Git repository with strict line ending rules, or a parser that treats a stray carriage return as part of the last field.
- Yes, provided the cell was quoted, which is what every spreadsheet does when it exports such a value. The line break is preserved inside the field and the output quotes it again, so the row count stays correct on both sides.
When should I pick the semicolon instead of the comma?→
What does the byte order mark actually do?→
Should I keep CRLF line endings?→
Can it read a file where a cell contains a line break?→
Related tools
12 suggested- 01CSV to Markdown Table Converter - Free & PrivateConvert CSV to a Markdown table with per column alignment and RFC 4180 quoted field support. Free, browser based, nothing is uploaded to a server.
- 02XML to JSON Converter - Free & PrivateConvert XML and SOAP responses to JSON in your browser. Configurable attribute prefix, namespace handling and arrays for repeated tags. Free and private.
- 03YAML to JSON Converter - Free & PrivateConvert YAML to JSON online. Nested maps, sequences, inline flow style, comments and block scalars, with line numbered errors. Free and browser based.
- 04JSON to YAML Converter - Free & PrivateConvert JSON to YAML in your browser with correct indentation, smart quoting and block scalars for multi line text. Free, private, nothing uploaded.
- 05HTTP Headers Checker - Free Response ViewerSee the status code, redirect chain and every response header for any URL, plus a free pass or fail audit of the six key security headers. No signup.
- 06DNS Lookup - A, MX, TXT, NS & MoreQuery A, AAAA, MX, TXT, NS, CNAME, SOA, and CAA records for any domain via DNS-over-HTTPS. Free browser-based DNS lookup with a query-all mode.
- 07ZIP Extractor - Open ZIP Files OnlineOpen and extract ZIP files directly in your browser: list contents, preview text and images, download files. Free and private - nothing is uploaded.
- 08User Agent Parser - Browser & OS LookupParse any user agent string to identify browser, version, engine, OS, and device type, including bots. Free, instant, and fully browser-based.
- 09HTML to JSX Converter - Free & InstantConvert HTML to valid React JSX instantly: className, camelCase attributes, style objects, and self-closed tags. Free, browser-based, and private.
- 10.htaccess Redirect Generator - Apache & NginxGenerate 301 and 302 redirect rules for Apache .htaccess and Nginx, with HTTPS, www, and trailing-slash templates. Free and fully browser-based.
- 11Generate .env.example Files - Free & PrivatePaste a .env file and instantly get a .env.example with secret values stripped. Free, browser-based, and private - credentials never leave your device.
- 12JSON Formatter & Validator - Instant ResultsFormat, validate, and minify JSON with instant error highlighting. Pinpoints syntax errors. Free, private, browser-based.