Plain text to CSV converter
Plain text rows are normalised by our table engine before CSV is written, preserving row order and typed values for txt-to-csv.
- Converted with Table engine · nothing stored
- Free: 5 conversions a day · 5 MB each
- Higher limits →
What changes
- Plain text rows are normalised by our table engine before CSV is written, preserving row order and typed values for txt-to-csv.
- Flat TXT columns stay flat in CSV; presentation-only details are not carried forward.
- The converter treats the file as one logical table, so comments, prose around tables, and source metadata are skipped.
- Numbers, booleans, dates, blanks, and strings are inferred and then serialized in the destination format's native shape.
- Delimiter, encoding, newline, and header choices apply only where TXT or CSV is a text table.
- The CSV result focuses on portable data, not formulas, rich layout, or application-specific metadata.
A real Plain text → CSV run
We converted our Plain text sample (440 B) with Table engine on 2026-09-11. It took 1 ms and produced a 446 B CSV file, about the same size as the input. The engine raised no warnings.
Input · sample.txt · 440 B
13 non-empty lines, 71 words
- Lines
- 13
- Words
- 71
Output · sample.csv · 446 B
12 data rows × 1 column; header: " Feedback Atlas — Q3 activity trail"
- Rows
- 12
- Columns
- 1
- Header
- " Feedback Atlas — Q3 activity trail"
First lines of the output
" Feedback Atlas — Q3 activity trail"
Prepared for: Board of Directors · 12 Sep 2026
" Headline numbers"
" Metric Q2 Q3 "
---------
" ARR $4.1M $4.9M "
" Net revenue retention 108% 113% "
" What went well"
- Enterprise pipeline doubled after the SOC 2 report shipped.
- Support CSAT held at 94% while ticket volume rose 31%.
" Two renewals slipped into October. Owner: VP Sales."
1. Approve revised hiring plan
2. Confirm Series B timingOptions
- delimiter
- Choose comma, tab, pipe, semicolon, or another separator for delimited text input or output.
- header
- Treat the first delimited row as field names instead of generated column labels.
- quote
- Set the quote character used when parsing CSV, TSV, or TXT fields.
- encoding
- Decode UTF-8 or Latin-1 text before parsing table-oriented formats.
- newline
- Write LF or CRLF line endings for generated text tables.
Example
name|score
Ada|9name,score
Ada,9Do it in code
import pandas as pd
df = pd.read_csv("input.txt")
df.to_csv("output.csv", index=False)Plain text to CSV by API or MCP
The HTTP API and the MCP server run the exact engine this page uses (Table engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=txt&to=csv.
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.txt" -F "from=txt" -F "to=csv" \
-F 'options={"delimiter":","}' \
--output output.csvOptions this engine accepts for Plain text → CSV
| Key | Applies to | Type | Default |
|---|---|---|---|
| delimiter | Reading Plain text | string | , |
| header | Reading Plain text | boolean | true |
| quote | Reading Plain text | string | " |
| encoding | Reading Plain text | utf-8 · latin1 | utf-8 |
| delimiter | Writing CSV | string | , |
| newline | Writing CSV | · |
This converter works today; a tested write-up of what changes for Plain text → CSV is in progress.