CSV Macintosh vs MS-DOS vs UTF-8: What Each Format Changes and Which to Choose

CSV (Macintosh), CSV (MS-DOS) and CSV UTF-8 differ in character encoding and line endings, not in data layout. Learn what each changes and how to pick safely.

Spreadsheet programs, most visibly Microsoft Excel, offer several CSV variants when you save a file: CSV UTF-8, CSV (MS-DOS), CSV (Macintosh) and plain CSV (Comma delimited). All of them produce a plain-text file of comma-separated values. The rows, columns and delimiter logic are the same. What differs is two properties you cannot see in the spreadsheet: the character encoding and the line-ending convention. Those two properties decide whether the file opens cleanly in the program that receives it.

What each CSV option actually changes

Format | Line endings (commonly observed) | Character encoding (commonly observed) | Intended destination
CSV UTF-8 | CR+LF when saved on Windows | UTF-8, usually with a byte order mark (BOM) | Modern software, databases, web systems, any language
CSV (MS-DOS) | CR+LF | DOS/OEM code page tied to system locale (for example 437 or 850 on US and Western European setups) | Legacy DOS-era and console programs
CSV (Macintosh) | CR only | Mac Roman | Legacy classic Mac OS software
CSV (Comma delimited) | CR+LF | Windows ANSI code page (for example 1252 on US setups) | Older Windows applications

Microsoft's own descriptions of these formats are brief. The encodings and line endings in the table reflect widely reported behavior, not a complete published specification. Exact output can vary with the Excel version, the operating system and regional settings. If the destination is strict, inspect a sample file instead of relying on the format name. The checking steps appear later in this guide.

Line endings

Every text file marks the end of a line with invisible control characters. Windows and DOS use a carriage return followed by a line feed (CR+LF). Unix, Linux and modern macOS use a line feed alone (LF). Classic Mac OS, the system Apple replaced in the early 2000s, used a carriage return alone (CR). The "Macintosh" label therefore points to classic Mac OS conventions, not to current Macs. A CR-only file can appear as one very long line, or fail to parse, in tools that expect LF or CR+LF.

Character encoding

Plain ASCII characters are stored identically in all of these formats. That covers unaccented English letters, digits and basic punctuation, so a file containing only those characters looks the same whichever option you pick. Differences appear with accented letters, currency symbols such as the euro sign, curly quotes, em dashes, non-Latin scripts and emoji. The legacy code pages behind MS-DOS, Macintosh and plain Comma delimited can each hold at most 256 characters. Characters outside that set are replaced at save time, often with a question mark, and the original cannot be recovered from the file. UTF-8 can represent every Unicode character.

What stays the same

The choice of variant does not change cell values, column order or quoting rules. A few CSV limitations apply to every variant equally. Only the active sheet is saved. Formatting is dropped. Formulas are replaced by their displayed results. The delimiter may also follow your system's regional list separator. In locales that use a comma as the decimal mark, Excel can write semicolons even when the format name says "comma".

CSV MS-DOS vs CSV Macintosh

Both are legacy formats, and they differ in both line endings and code page. The same accented character is stored as a different byte in each code page. For example, "é" is byte 0x82 in code page 437, 0x8E in Mac Roman, 0xE9 in Windows-1252, and the two-byte sequence C3 A9 in UTF-8. A file saved in one encoding and read as another therefore shows wrong characters, often called mojibake, even though nothing was lost when the file was saved. Unsupported characters are a separate problem: those are lost at save time and cannot be repaired by reading the file differently.

Choose CSV (MS-DOS) only when the receiving system's documentation calls for a DOS or OEM code page. Choose CSV (Macintosh) only for classic Mac OS software, or for a system that documents CR line endings with Mac Roman encoding. If neither condition applies, neither legacy format is the right choice.

CSV UTF-8 vs CSV MS-DOS

CSV UTF-8 keeps every character you type, so it is the safer default for names, addresses and multilingual data. CSV MS-DOS keeps only what its code page supports. The main caveat with UTF-8 is the byte order mark. The BOM helps Excel recognize UTF-8 when it reopens the file. However, some older parsers and scripts treat the BOM as stray characters at the start of the first header. When that happens, the first column name looks garbled or fails to match an expected field name. If an import rejects or misreads only the first column, a BOM is a likely cause. Re-save the file without a BOM using a text editor or command-line tool.

Will the file stay readable where you need it?

Opening in Excel: double-clicking a UTF-8 CSV that has no BOM can lead Excel to decode it with a legacy code page, so accented text appears garbled. Excel's data import feature lets you specify the encoding explicitly and avoids this problem. The reverse also happens: a legacy-encoded file opened by a tool that assumes UTF-8 can show replacement symbols.

Copy and paste: the encoding choice applies to the saved file, not to text you copy from a grid. On current Windows and macOS systems, the clipboard generally carries Unicode text, so copying cells and pasting them elsewhere does not pick up the CSV's code page or line endings. What arrives depends on the source and destination applications. Test a paste if you rely on it.

Transfer: zipping or attaching a file normally preserves its bytes exactly. Some transfer paths can rewrite line endings, such as FTP in ASCII mode or a Git repository configured for automatic line-ending conversion. Re-encoding the file while editing it in another program can also change them. If the destination is strict, check the file after transfer as well as before.

Accessibility: CSV carries no visual styling, so what a reader or a screen reader receives is exactly the characters in the file. Mis-decoded characters become meaningless symbols for everyone. A correctly declared encoding is the main readability safeguard in this format.

How to check and convert a file

On Linux or macOS, a few standard commands show the encoding hints and line endings, and they can convert legacy files to UTF-8. The code page for MS-DOS output depends on the system locale, so CP437 below is an assumption. Use CP850 or another code page if your setup differs.

# Report detected encoding and line-ending style
file data.csv

# Show the first bytes; EF BB BF at the start means a UTF-8 BOM
head -c 16 data.csv | xxd

# Convert a Macintosh CSV to UTF-8 with LF line endings
iconv -f MACINTOSH -t UTF-8 mac.csv | tr '\r' '\n' > out.csv

# Convert an MS-DOS CSV (assumed code page 437) to UTF-8 with LF line endings
iconv -f CP437 -t UTF-8 dos.csv | tr -d '\r' > out.csv

A quick practical test is to put a row of sample characters in a test file: an accented name, a euro sign, curly quotes and a non-Latin word. Save it in the format you plan to use and import it into the real destination. If every character survives, the format suits that destination.

Online converters and sensitive data

Web-based CSV converters upload your file to someone else's server. Do not upload customer lists, financial records, health data or personal details unless the service's privacy terms meet your obligations. Local tools such as a spreadsheet's own Save As, a text editor with encoding options, or the commands above perform the same conversion without the file leaving your machine.

Which format to choose

  • CSV UTF-8: the default for modern software, databases, web uploads and any data with non-English characters
  • CSV UTF-8 without a BOM (made with another tool): when a script or importer misreads the first header
  • CSV (MS-DOS): only when a legacy system documents a DOS/OEM code page requirement
  • CSV (Macintosh): only for classic Mac OS software or a system that requires CR line endings with Mac Roman
  • CSV (Comma delimited): only when an older Windows program documents a Windows ANSI code page requirement

Limits of this guide

No tested output samples or version-specific documentation were supplied for this guide. The encodings and line endings described here are general, commonly reported behavior, not results verified for a particular Excel version or platform. Whenever correctness matters, confirm the format with the checks above and with an import test in the actual destination.