Skip to content
PDF Guides

How to Convert CSV to Text — and Remove the Columns You Don't Need

Turn a CSV file into clean, readable text without uploading it. Pick the right text format, fix delimiter and encoding problems, and remove internal or confidential columns with one click before you share the result.

GSGulzar Shaikh4 min read
How to Convert CSV to Text — and Remove the Columns You Don't Need
In this guide
  1. Start with the columns you want to keep
  2. Pick the text format
  3. Make sure the file is read correctly
  4. Other options worth knowing
  5. Step by step
  6. Frequently asked questions
  7. Summary

A CSV export from a company system rarely contains only what you want to share. There is an internal ID, a cost column, a free-text notes field, and a dozen fields you never look at. You need a few of them in an email, a ticket or a document — as plain text that anyone can read without opening a spreadsheet.

This guide shows how to do that with the free CSV to Text tool: choose a text format, make sure the file is read correctly, and remove unwanted columns with a single click. The file is processed in your browser, so it is never uploaded.

Start with the columns you want to keep

Most guides begin with formats. With real exports, the more important step is deciding which columns leave the building. In the tool, every column of your file appears as a chip carrying its header name.

Three steps: load the CSV so every column becomes a chip, click the cross on a chip to remove that column, then copy or download the clean text

  • Click the cross on a chip and that column disappears from the preview and from the text you copy or download.
  • Removed columns stay listed underneath. Click one to bring it back, or use Restore all.
  • Drag a chip by its handle to change the column order. The text follows the chip order.
  • Remove empty columns drops every column that has no values, which is common in wide exports.
  • On files with many columns, a filter box helps you find a chip by name.

Your original file is never changed. Only the text the tool produces leaves out the removed columns.

Hide the same columns every time

If you receive the same export every week, tick Always hide these columns. The tool remembers the names of the columns you remove, in this browser only, and the next file with the same headers opens already cleaned. Untick it to clear the saved list. Nothing about your data is stored, only the header names.

Pick the text format

FormatBest for
Aligned columnsReading in an email, a ticket or a terminal. Columns are padded so they line up in a monospaced font.
Tab-separatedPasting into a spreadsheet or another tool that expects tabs.
Markdown tableREADME files, wikis and pull-request descriptions. Pipe characters inside cells are escaped.
One block per rowRecords with many fields, such as contacts. Each row becomes a block of Column : value lines.
Custom separatorAnything else: a pipe, a dash, a semicolon or several characters.

Line breaks inside a cell are turned into spaces so rows stay on one line, except in the one-block-per-row format.

Make sure the file is read correctly

CSV looks simple, but three details cause most problems. The tool detects them automatically and lets you override each one under Options.

Delimiter

"Comma-separated" is a convention, not a rule. Excel in many regions writes semicolons because the comma is the decimal mark, and some systems use tabs or pipes. If everything lands in one column, the delimiter was guessed wrong: choose Comma, Semicolon, Tab or Pipe yourself.

Encoding

If é shows up as é, the file was saved in Windows-1252 but read as UTF-8, or the other way round. The tool tries UTF-8 first and falls back to Windows-1252, and you can switch between them manually. A UTF-8 byte-order mark at the start of the file is ignored.

Quotes and line breaks

A value like "Smith, Jane" contains a comma that is not a separator, and a note field can contain a line break. Both are handled the way the CSV standard describes: quoted commas stay in the cell, doubled quotes become one quote, and line breaks inside quotes belong to the cell.

Other options worth knowing

  • First row is the header — turn it off if your file has no header; columns are then named Column 1, Column 2 and so on.
  • Trim spaces and skip empty rows — on by default, because exports often pad values.
  • Text for empty cells — show n/a or a dash instead of nothing.
  • Rows to include — take only rows 1–100, for example, to share a sample.
  • LF or CRLF line endings — match the system that will read the file.

Step by step

  1. Open CSV to Text and drop a .csv, .tsv or .txt file, or choose Paste CSV text.
  2. Check the summary line: rows, columns and the detected delimiter.
  3. Click the cross on every column you do not want to share.
  4. Choose a text format and check the preview.
  5. Select Copy text or Download TXT. Both include every row, even though the preview shows only the first 200.

Frequently asked questions

Is my CSV uploaded anywhere?

No. Reading, parsing and formatting all happen in your browser. Files up to 30 MB open; split anything larger first.

Does removing a column delete it from my file?

No. The original file is untouched. The columns are only left out of the text you copy or download.

What if I need a spreadsheet instead of text?

If the data starts as a PDF, our guide on converting PDF tables to Excel covers it, and the Excel to PDF tool turns a CSV or spreadsheet into a PDF.

Summary

Decide which columns should leave your hands first, remove them with chips, then pick the text format that suits the place you will paste it. If the result looks wrong, check the delimiter and encoding before anything else. Try it with the free CSV to Text tool.

Try it now — free, no sign-up

The tools mentioned in this guide, ready to use in your browser.

All guides
  • csv to text
  • csv to txt
  • remove columns from csv
  • csv to markdown
  • csv delimiter
  • csv encoding

Keep reading

PDF Guides

How to Convert a Bank Statement PDF to Excel (and Trust the Numbers)

Why bank statement PDFs are hard to copy into Excel, how to convert them accurately, and how a running-balance check proves nothing was misread. Covers password-protected and scanned statements, Tally and merging several statements.

4 min readRead
PDF Guides

How to Convert a PDF Table to Excel Without Retyping

Why PDF tables paste badly, how to get real numbers instead of text, and how to turn bank statements and reports into an editable Excel sheet, with checks to run afterwards.

3 min readRead