CSV and Delimiter Tools

Text File to CSV

Text File to CSV opens a local .txt file in your browser and converts it to CSV, with no upload.

PrivateYour text is processed on your device and never uploaded.
Text (or open a file)
CSV output
0 chars, 0 lines

You have a text file on your machine and you want CSV, but you would rather not upload the file to some server first.

This tool opens the file locally in your browser using the FileReader API, detects the delimiter, and writes CSV you can copy or download.

How to use Text File to CSV

  1. Open a .txt file with the file button, or paste its contents.
  2. Leave the separator on auto-detect or choose one to match your file.
  3. Copy the CSV or download it as a CSV file.

What you can do with it

Good to know

Browsers can read local files with the FileReader API, so the file is processed on your device and nothing is sent anywhere. You can also drag a file onto the input area.

Frequently asked questions

Is my file uploaded?

No. The file is read locally in your browser with the FileReader API and never leaves your device.

Which file types can I open?

Plain text files such as .txt work best; you can also drag and drop a file onto the input.

How is the delimiter found?

Auto-detect inspects the first line, or you can pick the separator that matches your file.

Related tools