Convert RTF to CSV on Mac
How RTF-to-CSV conversion works on a Mac, what it keeps and drops, how to handle commas, quotes and encoding, and when plain text is the better choice.
Turning a Rich Text Format file into CSV on a Mac is less a file conversion than a restructuring job. RTF describes how text looks. CSV describes rows and columns of plain values. The process works well when the RTF already holds tabular data, such as a table or tab-aligned lines, and you need it in a spreadsheet, database or script. It works poorly when the meaning of the document depends on its formatting. This review covers what changes during conversion, a practical workflow using built-in macOS tools, and the checks that decide whether the result is usable.
Is RTF-to-CSV conversion right for your use?
Conversion is worth doing when your goal is data: names, quantities, codes or records that another program needs to sort, filter or import. The main benefit is portability. CSV is plain text, so almost any spreadsheet, database or programming language can read it, and nothing depends on a word processor.
The decisive tradeoff is that CSV keeps no presentation at all. Bold headers, colors, fonts, alignment, merged cells and footnotes are discarded. If a reader relies on bold text to tell a heading from a value, or on color to mark a status, that information disappears unless you first turn it into its own column.
Plain text, rather than CSV, is the better target when the content is prose, when lines don't share a consistent structure, or when you only need to strip formatting for pasting elsewhere. Forcing free-form paragraphs into CSV creates files that look structured but are not, which is harder to work with than an honest plain text file. Keep the original RTF if anyone still needs the formatted version for reading or printing.
What the conversion actually changes
An RTF file is itself plain text, interspersed with control words that tell an application how to display it. A control word such as \b switches bold on, \tab inserts a tab, and \par ends a paragraph. Table structure uses its own control words for rows and cells. When you convert to CSV, the control words are interpreted and removed, and only the characters remain. Those characters then have to be arranged into fields separated by a delimiter, usually a comma, with one record per line.
The example below shows a small tab-aligned list in RTF, the plain text it reduces to, and the CSV built from that text.
{\rtf1\ansi
{\b Name}\tab {\b City}\par
O'Brien, Ann\tab Chicago\par
}
Name City
O'Brien, Ann Chicago
Name,City
"O'Brien, Ann",Chicago
Three things happen in this example. The bold on the header row is lost; nothing in the CSV marks the first row as a header except its position. The tab becomes the field separator. And because the first value contains a comma, it has to be wrapped in double quotes so that a CSV reader keeps it as one field. Under the widely used CSV convention, a field containing a comma, a double quote or a line break is enclosed in double quotes, and any double quote inside it is written twice.
| Element in the RTF | What happens in CSV |
| Characters and words | Kept, provided the encoding is handled correctly |
| Bold, italic, font, size, color | Removed |
| Tabs between values | Usable as field boundaries |
| Table cells and rows | Become fields and records, if the converter preserves the cell boundaries |
| Merged cells | No equivalent; values must be repeated or left blank |
| Images and embedded objects | Removed |
| Line breaks inside a cell | Kept only if the field is quoted correctly |
A note on terminology. In RTF, a font is a display instruction, and it is lost in conversion. Some text instead uses so-called fancy fonts made from Unicode look-alike characters, such as mathematical bold letters. Those are separate stored characters, not formatting, so they survive into CSV unchanged. That can be a problem: they look like ordinary letters but won't match normal searches, sorting or lookups. Reversed or mirrored text behaves the same way. If letters were reordered in the source, the CSV stores them reordered. If the effect came only from display settings, it disappears. Right-to-left scripts such as Arabic or Hebrew are stored in logical reading order, and how they appear depends on the application that opens the CSV.
A practical workflow on macOS
macOS includes two built-in ways to strip RTF down to plain text: TextEdit and the textutil command-line tool. Neither produces properly quoted CSV by itself. Use them to get clean text, then let a spreadsheet application handle the delimiter and quoting.
- In TextEdit, open the RTF file, choose Format > Make Plain Text, and save, selecting UTF-8 as the encoding if you are offered a choice.
- In Terminal, textutil can convert one file or many at once and set the output encoding (see the command below).
- Check the resulting text: each record should be on its own line, with a single, consistent separator between values.
- If the separator is a tab, give the file a .tsv or .txt extension and import it into Numbers or another spreadsheet application, confirming that the columns line up.
- Export from the spreadsheet to CSV. In Numbers, this is File > Export To > CSV. The application then applies the quoting rules for you.
textutil -convert txt -encoding UTF-8 input.rtf -output output.txt
Avoid shortcuts like replacing every tab with a comma using a find-and-replace or a tr command. That produces broken CSV as soon as a value contains a comma or a quote, as the O'Brien example shows. This review has not tested how TextEdit or textutil handle RTF tables in particular, including whether every cell boundary becomes a tab. Check this with your own files before relying on it, especially for tables with merged or empty cells.
Will the CSV stay readable and usable after sharing?
Most problems show up when the CSV is opened somewhere else. The usual causes are encoding, automatic reinterpretation by spreadsheet applications, and the loss of visual cues.
- Encoding: RTF often stores curly quotes, dashes and accented letters as escape codes. After conversion, those must come out as the correct characters in UTF-8. If the receiving application assumes a different encoding, they can appear as garbled symbols. Open the CSV in the destination application and check a few non-ASCII characters before sharing it widely.
- Automatic formatting: Spreadsheet applications often reinterpret values as they open a file. They may drop leading zeros from codes, turn number-like strings into dates, or switch long numbers to scientific notation. Use the destination's import options to set those columns as text, and verify the result.
- Formulas: A value beginning with an equals sign or a similar character may be treated as a formula by some spreadsheet applications. If the data comes from an untrusted source, review such values before opening the file in a spreadsheet.
- Copy and paste: Pasting CSV text into a document gives you raw commas and quotes, not a table. To present the data to people, paste it into a spreadsheet or table first.
- Search and editing: Plain text is fully searchable and editable in any text editor, which is a gain over RTF, except where look-alike Unicode characters were carried over from the source.
On accessibility, a CSV contains no styling, so a screen reader handles it according to the application that opens it. In a spreadsheet, data is usually reached cell by cell. In a plain text editor, it may be read as a run of values and punctuation. Because headers are no longer marked by formatting, make sure the first row contains clear column names. This review has no scoped tests with VoiceOver or other assistive technology on converted files, so test with the tools your readers actually use if accessibility matters.
Gaps in this review
No measured results, version-specific behavior or third-party converter comparisons were available for this review. The workflow above relies on documented behavior of macOS's built-in tools and on general CSV conventions, not on tests of particular files. If you are evaluating a dedicated online or desktop converter, verify its table handling, encoding and quoting with a sample that includes commas, quotes, accented characters and an empty cell. Do not assume anything about how it handles or retains your data unless its documentation says so.