Skip to content
New: 17 free file converters that never upload your files

Convert TXT to CSV

Convert TXT to CSV in seconds: drop a text file or paste rows of data and get a proper CSV. The separator is detected for you, values with commas are quoted, and the file opens in Excel with accents intact.

  • Auto-detects the separator
  • Excel-ready UTF-8
  • Preview before you download

Loading the TXT to CSV converter…

How to convert TXT to CSV in three steps

  1. 1

    Add the text file

    Drop .txt, .tsv, .dat or .prn files, or paste the rows.

  2. 2

    Check the separator

    Tabs, commas, semicolons, pipes and runs of spaces are detected. Pick one yourself if the preview looks wrong.

  3. 3

    Download the CSV

    Click Convert to CSV, check the preview table and download. Use the semicolon option if your Excel uses a comma for decimals.

Why use this free TXT to CSV converter

Built for speed and privacy. It works on any modern browser, on desktop or phone.

Files never leave your device

It runs inside your browser. Nothing is uploaded to LeadCanal or stored anywhere.

Only the right files open

It accepts .txt, .tsv, .tab, .dat, .log and .prn and checks each file's first bytes, so renamed programs or scripts are refused.

Free with no limits we impose

No signup, no watermark and no daily cap. Big files depend only on your device memory.

Several files at once

Where it makes sense, drop many files and download them together as a ZIP.

Text formats you can convert: TXT to CSV examples

Your text fileExampleDetected as
Tab separated (TSV, Excel copy and paste)NameEmailCityTab
Pipe separated (database exports)Name|Email|CityPipe
Semicolon separated (European Excel)Name;Email;CitySemicolon
Aligned columns (reports, PRN files)Name Email City2 or more spaces
One value per linea list of emailsOne column

The details that break CSV files, handled

Commas inside values

"New York, NY" is wrapped in quotes so it stays in one column.

Accents and symbols

The Excel-friendly option adds a UTF-8 marker so é, ñ and € open correctly.

Ragged rows

Short rows are padded so every row has the same number of columns.

Line breaks

Windows, Mac and Linux line endings are all handled.

Convert TXT to CSV in Excel instead

In Excel, go to Data, then From Text/CSV, choose the .txt file, pick the delimiter and click Load. Then use File, Save As and choose CSV UTF-8. It works, but takes more clicks and Excel may change long numbers and dates. This converter keeps every value exactly as written.

Step-by-step guides

Step-by-step help from our blog, written for the questions people ask most.

Your files stay on your device

This converter runs inside your browser, using your own computer or phone to do the work. The file is never uploaded to LeadCanal or anyone else, and nothing is saved on our servers. Close the tab and it is gone.

Each tool only opens the file types it is built for. We check the file extension and the first bytes of the file, so a renamed program or script is refused before it is opened.

Frequently asked questions

Still unsure? Ask us and we will answer the same day.

Ask a question

Further reading

Need clean, verified B2B contact data?

Our free tools handle files. Our team builds verified lead lists and runs cold email that books meetings.