Text to CSV Converter
Convert delimited text to CSV, live as you type.
name,age,city Ada,30,London Grace,28,New York
Converted live as you type. Fields containing a comma, quote, or newline are automatically quoted per the CSV standard.
Need the opposite? CSV to TXT Converter
What is Text to CSV Converter?
Paste text separated by tabs, commas, or another delimiter and get properly quoted CSV instantly. Useful for turning a copy-pasted table (from an email, a spreadsheet-free document, or a tab-separated data dump) into a real CSV file you can open in Excel or Google Sheets or import into a database. Conversion happens live as you type, entirely in your browser. Nothing you paste is sent to a server.
How to Use the Text to CSV Converter
- 1
Paste the Delimited Text: Enter text separated by tabs, commas, or a custom delimiter.
- 2
Choose the Delimiter: Specify the character your source text already uses to separate columns.
- 3
Read the CSV Result Instantly: The properly quoted CSV appears automatically as you type.
- 4
Copy the Result: Use the copy button to copy the CSV for a spreadsheet or database import.
How the Mapping Works
Each line of the input becomes one CSV row, and each occurrence of the chosen delimiter within a line marks a column break. After splitting, any field that itself contains a comma, a double quote, or a line break is wrapped in double quotes (with internal quotes doubled), per the CSV standard. That's what keeps a field like "Smith, John" from being misread as two separate columns when the file is opened elsewhere.
Example
Input (tab-separated):
name city note
Alice New York On time
Bob Los Angeles Delayed, rescheduled
Output CSV:
name,city,note
Alice,New York,On time
Bob,Los Angeles,"Delayed, rescheduled"
Notice Bob's note field gets wrapped in quotes because it contains a comma. Without that quoting, a plain CSV reader would see it as two columns instead of one.Frequently Asked Questions
Common questions about Text to CSV Converter.