Text to CSV Converter - Free Online Tool
Convert plain text to CSV format online for free. Split text by delimiter, lines, or custom separator into proper CSV files.
What is Text to CSV?
How to Use Text to CSV
Paste your text into the input area. Choose your delimiter — comma, tab, space, semicolon, pipe, or enter a custom character. Click "Convert" to transform the text into properly formatted CSV with correct quoting for fields that contain commas or quotes. Preview the result in the output area, then download it as a .csv file or copy to clipboard.
How Text to CSV Works
Common Use Cases
- Converting copied table data from websites or PDFs into CSV for spreadsheet import
- Transforming log file entries into structured CSV for analysis
- Preparing text data for import into databases (MySQL, PostgreSQL, SQLite)
- Converting space-separated or tab-separated data from terminal output into standard CSV
- Creating CSV files from text lists for mail merge or bulk operations
- Reformatting data exports from one system into CSV for import into another
Frequently Asked Questions
What delimiters are supported?▼
You can use commas, tabs, spaces, semicolons, pipes (|), or any custom character as the input delimiter. The output is always standard comma-separated CSV.
Can I download the CSV file?▼
Yes. After conversion, you can download the result as a .csv file that opens directly in Excel or Google Sheets, or copy the CSV text to your clipboard.
How does it handle fields with commas?▼
Following the CSV standard (RFC 4180), any field that contains a comma, double quote, or newline is automatically wrapped in double quotes. Double quotes within fields are escaped by doubling them.
Can I convert tab-separated data (TSV) to CSV?▼
Yes. Select "Tab" as the input delimiter and the tool will correctly split tab-separated columns into CSV format. This is useful for converting data copied from spreadsheets or terminal output.
What is the maximum file size I can convert?▼
Since all processing happens in your browser, the limit depends on your device memory. Most modern browsers handle several megabytes of text without issues. For very large files, consider using a command-line tool.
Does it preserve empty fields?▼
Yes. Empty fields (consecutive delimiters) are preserved as empty CSV columns, maintaining the correct column alignment throughout the file.