TXT to CSV Converter – Convert Text File to CSV Online (Delimiter & Fixed-Width)

Drag file here, or click to select file

Preview
0 Rows / 0 Cols
🔍
No data
Rows per page:
  1. Paste text or upload a TXT/text/TSV/CSV file.
  2. Choose Auto detect or set a delimiter manually (comma, tab, pipe, semicolon, space).
  3. Preview instantly and click Download CSV.

Help

FAQ

How to convert fixed-width text file to CSV?Show
Use Manual delimiter → Space. The tool splits on 2+ spaces/tabs to approximate fixed-width columns.
Which delimiters are supported?Show
You can auto-detect the delimiter or manually choose comma, tab, pipe, semicolon, space, or provide a custom delimiter.
Is my data uploaded?Show
No. All processing happens locally in your browser. Nothing is sent to any server.
How to export text as a CSV file?Show
After previewing the converted table, click Download CSV to save the result as a .csv file.
Is this TXT to CSV converter free to use?Show
Yes. This TXT to CSV converter runs entirely in your browser, is free to use, and does not require registration.
Can I convert large TXT or log files to CSV?Show
You can convert reasonably large TXT or log files, but extremely large files depend on your browser memory and CPU. For very big files, it is safer to split them into smaller chunks before converting.

How to convert TXT to CSV online

  1. Paste text or upload a TXT/text/TSV/CSV file.
  2. Choose Auto detect or set a delimiter manually (comma, tab, pipe, semicolon, space).
  3. Preview instantly and click Download CSV.

Privacy

Full guide

TXT to CSV Converter

This tool converts text with various delimiters to standard CSV files, supporting both auto-detection and manual delimiter settings.

Tab-Delimited (TSV)

Tab-delimited

Auto-detects tab-separated data, ideal for TSV files or data copied from spreadsheet software.

Comma-Delimited (CSV)

Comma-delimited

Auto-detects comma-separated data, the most common CSV format.

Fixed-Width Text

Space-delimited

Select Manual delimiter → Space to handle fixed-width columns. The tool splits on 2+ spaces.

Features

  • Auto-detect delimiter - Intelligently detects comma, tab, pipe, semicolon, and other common delimiters
  • Manual delimiter setting - Supports custom delimiters for special format requirements
  • Fixed-width support - Splits on multiple spaces to approximate fixed-width columns
  • Instant preview - What you see is what you get, results displayed in real-time
  • Local processing - Data never leaves your browser, protecting your privacy

Examples

Tab-delimited

Name	Age	City
Alice	30	New York
Bob	25	London

Comma-delimited

Name,Age,City
Alice,30,New York
Bob,25,London

Pipe-delimited

Name|Age|City
Alice|30|New York
Bob|25|London

Semicolon-delimited

Name;Age;City
Alice;30;New York
Bob;25;London

Space-delimited (2+ spaces)

Name  Age  City
Alice  30  New York
Bob    25  London

Related Tools