How do I convert Excel to CSV without breaking Arabic text?
Why Arabic gets lost when a workbook is saved as CSV, what the bytes look like, and how to write a UTF-8 CSV with the mark Excel needs.
By OpenAnyDoc ·
The short answer
To convert Excel to CSV and keep Arabic readable, save it as UTF-8 with a byte order mark (BOM): UTF-8 holds every Arabic letter, and the three-byte mark at the start of the file tells Excel how to read them. OpenAnyDoc's Excel to CSV does both in your browser: it writes UTF-8 and adds the mark whenever the sheet holds any character outside plain English text, such as Arabic letters, and the workbook is never uploaded.
Two ways Arabic gets lost while saving
Saving to CSV can break Arabic at two points, and they look different. This guide is about writing the file correctly; if you already have a CSV that opens with broken Arabic, fixing a CSV that already shows broken Arabic covers the repair.
- The letters are replaced. If the CSV is written in an encoding that has no Arabic letters, they cannot be stored, and each one is usually written as a question mark. Nothing brings them back from that file; only saving from the workbook again helps.
- The letters are stored but read wrongly. A UTF-8 file without the mark keeps every letter, yet Excel can show it garbled when you double-click it: "الرياض" turns into "الرياض". Microsoft's note on opening CSV UTF-8 files (checked 24 November 2026) says such a file opens normally if it was saved with a BOM.
What the bytes look like
A CSV is only bytes, so you can see the difference for yourself. Take the word الرياض, 6 letters:
- In UTF-8 it is 12 bytes, two per letter: D8 A7 D9 84 D8 B1 D9 8A D8 A7 D8 B6.
- In Windows-1256, the older Arabic Windows encoding, it is 6 bytes, one per letter.
- Read as Windows-1252, the Western encoding, those 12 UTF-8 bytes become الرياض.
- The byte order mark is the three bytes EF BB BF at the very start of the file. Open the CSV in the CSV viewer and choose Issues in the More menu: the File report says the encoding and whether the file has a byte order mark. Or run node -e "console.log(require('fs').readFileSync('file.csv').subarray(0, 3))" and look for <Buffer ef bb bf>.
Convert in your browser, step by step
Excel to CSV reads the workbook on your device:
- Drop an .xlsx, .xls, .xlsm or .ods file on Excel to CSV. The first sheet is converted at once. For another sheet, open the workbook in the Excel viewer, click the sheet's tab, then Convert and Convert to CSV.
- The CSV opens in the CSV viewer: commas between the columns, Windows line endings (CRLF), UTF-8, and the byte order mark if any cell holds a character outside plain English text, such as an Arabic letter. A sheet with only English letters and digits gets no mark, because it does not need one.
- Check it: choose Issues in the More menu. The File report shows the encoding, the byte order mark (yes or no) and the line endings.
- Click Download, and the copy keeps the mark. Download options in the More menu let you pick a semicolon, tab or pipe, LF or CRLF line endings, and untick Add a byte order mark (helps Excel read Arabic) for a system that wants plain UTF-8.
- For every sheet at once, open the workbook in the Excel viewer, choose Split, merge and export sheets in the Sheets menu, then Download CSV files (ZIP). Each sheet, hidden ones included, becomes its own UTF-8 CSV with the mark.
What ends up in the CSV
A CSV holds text only, so the converter writes each cell as the sheet shows it:
- Dates, percentages and currencies keep their shown format: 25% stays 25%, not 0.25.
- Formulas are written as the result saved in the workbook.
- Empty rows are left out.
- Long numbers in the General format are written in full: 123456789012 stays 123456789012, not the 1.23457E+11 a narrow column shows, up to the 15 significant digits Excel stores.
- Right-to-left sheet direction, fonts and colours are not kept, because a CSV stores no layout; the Arabic text itself is kept exactly.
Doing it in Excel
In Excel, choose File, Save As, and pick a CSV type as the file type. Excel saves only the active sheet to a CSV, so repeat it for each sheet, as Microsoft's page on importing and exporting text files explains (checked 24 November 2026).
Where Excel does more: it writes the CSV straight from the workbook you are already editing, in one step. Where it trips people up: the list of types also has CSV (Comma delimited), CSV (Macintosh) and CSV (MS-DOS), which Microsoft's list of text formats (checked 24 November 2026) describes as files for Windows, the Macintosh and MS-DOS, without a word about UTF-8.
When the receiving system wants something else
Excel needs the mark, but a CSV is not always for Excel:
- A database import, a script or an accounting system may expect UTF-8 without the mark, and some read it as part of the first column name. Untick the byte order mark in Download options before you save.
- An older Arabic system may need Windows-1256. Change CSV encoding saves a CSV as UTF-8 with BOM, UTF-8, UTF-16 LE or Windows-1256, shows a preview first, and warns you when a character cannot be written in the encoding you chose.
- A system in a country that writes decimals with a comma may expect semicolons: pick the semicolon in Download options.
Why does my CSV show question marks instead of Arabic?
Question marks usually mean the Arabic letters were replaced when the file was saved, because the encoding used had no Arabic letters. If another program shows the same question marks, the letters are gone from that file. Convert the original workbook again as UTF-8 with a byte order mark, with Excel to CSV or with Excel's CSV UTF-8 type.
Does a byte order mark cause problems outside Excel?
A byte order mark rarely causes problems: most programs that read UTF-8 recognise it and skip it. A few scripts and import tools do not, and show stray characters before the first column name. If the CSV is for such a system rather than for Excel, untick the byte order mark in Download options before you save.
Can one CSV file hold every sheet of my workbook?
No, a CSV file holds one table, so each sheet becomes its own file. Excel to CSV converts the first sheet or the one you pick in the Excel viewer; Split, merge and export sheets in the viewer's Sheets menu downloads them all as CSVs in one ZIP. CSV vs Excel vs JSON covers whether CSV is the right format.
Questions?
Write to support@openanydoc.com and describe what you see in the CSV (no personal data). The first line is usually enough.