Change CSV Encoding
Save a CSV as UTF-8 with BOM, UTF-16 or Windows-1256 so Arabic letters show correctly in Excel.
Processed on your device. Nothing is uploadedHow to check
You can also paste CSV or JSON text with Ctrl+V (⌘+V on a Mac).
Paste text instead
Pasted text stays in this tab and is never sent anywhere.
Change the encoding of a CSV file online without uploading it. When Arabic text opens in Excel as question marks or gibberish, the file's encoding is usually the cause: the encoding of your file is detected, a preview shows whether the letters read right, and you save a copy as UTF-8 with BOM, which Excel reads correctly, or as UTF-8, UTF-16 LE or Windows-1256 for the system that imports it.
Why use Change CSV encoding
See it before you save
A preview of the first rows shows whether the letters read right with the encoding you picked.
Private
Your file is converted by your own browser and never sent to a server, so nobody else sees it.
Works offline
Once this page has loaded, converting keeps working without an internet connection.
How it works: change the encoding of a CSV file
Open your CSV
Choose or drop a CSV file. Its encoding is detected: UTF-8 with or without a BOM, UTF-16 when the file starts with a byte order mark, or, when the file is not valid UTF-8, Windows-1256 for Arabic or Windows-1252 for Western European letters.
Check the preview
Look at the first rows. If the letters still look wrong, choose the file's encoding yourself.
Choose the output encoding
Pick UTF-8 with BOM for Excel, plain UTF-8, UTF-16 LE, or Windows-1256 for older Arabic systems.
Download
Download the converted copy. The original file on your device is not changed.
What Change CSV Encoding handles
- Reads: UTF-8 with or without a BOM, UTF-16 (found by its byte order mark, or chosen by hand), and, for files that are not valid UTF-8, Windows-1256 for Arabic and Windows-1252 for Western European text.
- Override: choose the input encoding yourself when detection is wrong.
- Writes: UTF-8, UTF-8 with BOM, UTF-16 LE and Windows-1256.
- Preview: the first rows as they will read, before you download.
- Content: cells, delimiters and quotes stay exactly as they are; only the encoding changes.
Change CSV encoding: what it can't do
- Detection covers UTF-8, UTF-16 (only with a byte order mark), Windows-1256 and Windows-1252; for UTF-16 without a byte order mark or another encoding, pick the input encoding by hand.
- Windows-1256 has no room for emoji or for most letters outside Arabic and English, so such characters can't be saved in it.
- A file that was already saved with question marks in place of letters can't be repaired; the original letters are gone.
Change CSV Encoding: questions
- Is my file uploaded?
- No. Your CSV is read and converted by your browser, on your device, and is never sent anywhere. Nothing is saved on the site, and there are no share links or history.
- Why does Arabic show as question marks or gibberish in Excel?
- Excel opens a UTF-8 CSV normally only if it was saved with a BOM. Save the file here as UTF-8 with BOM and Excel shows the Arabic letters correctly.
- Which encoding should I choose?
- UTF-8 with BOM for Excel, plain UTF-8 for most websites, databases and code, and Windows-1256 only when an older Arabic system asks for it. UTF-16 LE suits programs that expect Unicode text from Windows.
- What if the encoding is detected wrong?
- Choose the input encoding yourself and watch the preview. When the letters read right, the encoding is correct.
- Can it fix a file that already shows question marks?
- Only if the letters are still in the file. If a program saved it with question marks in their place, the original letters are lost and no encoding can bring them back; export the data again from its source.
- Does it change my data?
- No. Cells, delimiters and quotes stay as they are; only the way the letters are stored changes.
- How do I save a CSV as UTF-8 with BOM so Excel shows Arabic?
- Open the CSV, check that the letters read correctly in the preview, choose UTF-8 with BOM and download the copy; Excel then opens it with the Arabic intact. OpenAnyDoc converts the file in your browser without uploading it.
Why it's private: your files never leave your browser
Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.
How we tell you about new features
Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.