CSV to TXT Converter

Save a CSV as a plain text file: tab delimited, aligned columns, or pipe separated

Free, no signup. Runs entirely in your browser — files stay on this device.

Your fileCSV · TSV · TXT

Drop your file here or browse from your device

Accepts CSV, TSV, TXT. Maximum input: 10 MiB. Files above this hard limit are rejected before local processing.

Read in this browser tab · 0 bytes uploaded

CSV to TXT at a glance

OutputA .txt file: tab delimited, aligned columns (fixed width), pipe, semicolon or single-space separated
InputCSV, TSV or TXT; the comma, semicolon, tab or pipe delimiter is detected automatically
Quoted valuesRead as one value. A value that contains the output separator or a double quote is quoted in delimited layouts
Line breaks in cellsReplaced with a space, so every row is one line of the text file
Line endingsWindows (CRLF) or Mac/Linux (LF)
EncodingUTF-8, UTF-8 with BOM, Windows-1252 (ANSI) or UTF-16 LE

Convert a CSV file to a plain .txt file. Upload or paste the CSV, choose how the columns should look in the text file, and download it.

A text file can hold a table in several ways, so pick the one your destination expects: tab delimited (what most import screens mean by "text file"), aligned columns padded with spaces for reading in Notepad or printing, or pipe and semicolon separated text for systems that reject commas.

The CSV is parsed first, so a quoted value such as "Smith, John" stays one value. You can choose Windows or Mac/Linux line endings and UTF-8, UTF-8 with BOM, Windows-1252 or UTF-16 encoding. The file is converted in your browser; nothing is uploaded.

How to Convert CSV to TXT

  1. Upload a CSV file or paste CSV data
  2. Choose the layout: tab delimited, aligned columns, pipe, semicolon or space
  3. Turn the header row off if the destination does not want it, and pick line endings and encoding
  4. Download the .txt file or copy the text

Features

  • Tab-delimited, aligned fixed-width, pipe, semicolon or space-separated text
  • Aligned layout pads each column to its widest value, counting wide characters correctly
  • Keeps quoted CSV values that contain commas in one column
  • Header row on or off
  • Windows or Mac/Linux line endings
  • UTF-8, UTF-8 with BOM, Windows-1252 or UTF-16 output
  • Runs entirely in your browser, no upload or signup

Use Cases

  • Make a tab-delimited .txt file for an import screen that asks for a text file
  • Turn a CSV into readable aligned columns to paste into an email, ticket or printout
  • Produce pipe-delimited text for a bank, payroll or mainframe upload that rejects commas
  • Save a Windows-1252 text file for older software that cannot read UTF-8

Frequently Asked Questions

How do I convert a CSV file to TXT?

Upload the CSV, choose a layout (tab delimited is the usual choice), and click Download. You get a .txt file with the same rows and columns.

Can I just rename the .csv file to .txt?

Yes, if the program reading it accepts comma-separated text: a CSV is already a text file. Convert it when the destination wants tabs, fixed-width columns, a different separator, Windows line endings or an encoding other than UTF-8.

What is the difference between tab delimited and aligned columns?

Tab delimited puts one tab between values, which software reads reliably but which can look uneven on screen. Aligned columns pads every value with spaces to the width of its column, which reads well in Notepad or a printout but is harder for software to split if values contain spaces.

What happens to a value that contains a comma or a line break?

A comma inside a quoted CSV value stays in that value. In pipe, semicolon, space or tab layouts a value that contains that separator is wrapped in double quotes. Line breaks inside a value become a space so each row stays on one line.

Which encoding should I choose?

UTF-8 for almost everything. Choose UTF-8 with BOM if an older Windows program shows accented letters wrongly, Windows-1252 for legacy software that only reads ANSI text (characters it cannot hold are written as ?), and UTF-16 LE where a program asks for "Unicode text".

Is my data uploaded?

No. The CSV is parsed and the text file is built in your browser; the contents are not sent to a server.

Need to convert the other way? Try our TXT to CSV Converter