Want to do the opposite? Convert TXT to CSV here.
Your CSV
Paste CSV above or choose a file. Everything stays in your browser.
Plain text
Need the opposite? Convert TXT to CSV here.
How to convert CSV to TXT
- Paste your CSV into the box, drop a
.csvfile onto it, or choose a file. The delimiter and header row are detected automatically. - Pick a text layout: lined-up columns, a bordered table, values with a separator, one block per record, your own line template, or a single column as a list.
- Untick any columns you don't want in the text file.
- Copy the result, or download it as a
.txtfile with Windows or Mac/Linux line endings.
Which text layout should I use?
| Layout | Looks like | Good for |
|---|---|---|
| Lined-up columns | Name City | Reading data in Notepad, pasting into emails, tickets or code comments |
| Table with borders | | Name | City | | Reports, terminal output, forum posts and README files that show plain text |
| Values with a separator | Ana | Denver | Feeding data to scripts or apps that expect tab, pipe or space-separated lines |
| One record per block | Name: Ana | Wide spreadsheets with many columns that don't fit side by side |
| Custom line template | Ana <ana@example.com> | Building email lists, SQL snippets, labels or any line format you need |
| Single column as a list | ana@example.com | Pulling out one column, like every email address or product name, one per line |
CSV vs. TXT: what's the difference?
A CSV file is already plain text, but it's written for spreadsheets and programs: values are separated by commas, and quotes wrap any value that contains a comma or line break. That's easy for Excel to read and hard for people to scan. Converting to TXT rewrites the same data in a layout meant for reading or for a specific tool: columns lined up with spaces, a bordered table, or exactly the line format you need, with the CSV quoting removed.
CSV to TXT converter FAQ
Is my file uploaded anywhere?
No. The CSV is read and converted by JavaScript in your own browser. Nothing is sent to a server, so it's safe for contact lists, exports and other private data.
Why don't my columns line up when I open the file?
Lined-up columns and bordered tables rely on every character being the same width, so open the file in a monospaced font. Notepad, TextEdit in plain-text mode, VS Code and terminal windows all use one by default. Word processors and email apps with proportional fonts will make the columns drift.
Do accented letters, Chinese characters and emoji line up?
Yes. The converter measures wide characters, such as Chinese, Japanese and Korean text and most emoji, as two columns, which is how monospaced fonts display them. Accents and other combining marks count as zero, so the columns stay aligned.
What happens to values with commas, quotes or line breaks?
The CSV quoting is removed, so "Smith, Jane" becomes Smith, Jane and doubled quotes become single ones. Line breaks inside a value are replaced with a space so each row stays on one line, except where your template adds its own line breaks.
Should I choose Windows or Mac/Linux line endings?
Windows (CRLF) is the safest choice if the file will be opened on Windows or by older software. Mac/Linux (LF) is standard for scripts, servers and code. Current versions of Notepad read both correctly.
My CSV uses semicolons or tabs. Does that work?
Yes. Comma, tab, semicolon and pipe delimiters are detected automatically, and you can choose one by hand if the guess is wrong. The line under the input box shows what was detected.
Can it handle large CSV files?
Files up to about 50 MB work, though very large files take a moment to process on slower devices. For files with many columns, the One record per block layout is much easier to read than a very wide table.
Our Full Text Tool Library

