Skip to content
DataTray

Free converter

TXTCSV

TXT to CSV Converter

A .txt file is not a format, it is an absence of one — which is why these are the files that defeat everything else. DataTray reads delimited and fixed-width text alike, shows you the structure it found, and lets you correct it before writing a real CSV.

Windows 10/11 (x64) · Free · No account

Drop in your filesOutput is Excel-ready UTF-8 with a BOM by default; switch it in one click for a script.

Why convert

The trouble with .txt

The extension tells you nothing. Inside could be tab-separated, pipe-separated, fixed-width columns padded with spaces, or something with a header block on top. Guessing silently is how you end up with one column; showing the guess and letting you fix it is how you end up with a usable file.

  • Converting a bank or payroll extract with fixed-width columns.
  • Turning a tab-separated dump into something Excel opens correctly.
  • Handling a legacy system's report output.
  • Fixing a file whose encoding turned accented characters into nonsense.

How it works

Convert TXT to CSV in a few clicks

  1. 1

    Open the .txt

    DataTray reports what it detected — delimiter or fixed width, encoding, and where the header is.

  2. 2

    Correct anything it got wrong

    Set the column boundaries for fixed-width, or change the delimiter and encoding. The preview updates as you go.

  3. 3

    Write the CSV

    Properly quoted, properly encoded, and ready to open.

The details

TXT to CSV, at a glance

Delimited
Tab, pipe, semicolon, comma, or a character you name
Fixed-width
By column spec — common in banking and government extracts
Encoding
Detected and overridable, including the mojibake cases
Output
CSV, or any other format the converter writes

Questions

TXT to CSV Converter, answered

More converters

Convert something else

Convert TXT to CSV — free

Converting more than one file? Data Converter does whole folders at once, on your own machine.

Windows 10/11 (x64) · Free · No account

Runs on your own machine · No upload · No watermark