When do you need to convert?
- Exports from Greek accounting, payroll or ERP software in Windows-1253 that must go into a system that only accepts UTF-8.
- Old Greek websites, databases, forums and subtitle files saved in Windows-1253.
- A file saved in Notepad as “ANSI” on a Greek Windows PC and then opened in an editor or program that expects UTF-8.
- Old e-mails and archives in ISO-8859-7.
Where do Windows-1253 files come from?
Windows-1253 is the “ANSI” code page of Greek Windows, or of any Windows where the language for non-Unicode programs is set to Greek in the region settings. Every program that saves text in the system’s default encoding then writes Windows-1253 files:
- Notepad in older Windows versions – it saved as ANSI by default until about 2019.
- Excel when saving as plain CSV (Comma delimited).
- Older accounting and inventory software, and databases set to
cp1253– or togreekin MySQL, which is ISO-8859-7. - Greek subtitle files, websites and forums from the last twenty years.
Broken characters
Ïäüò Åãíáôßáò 12, Èåóóáëïíßêç ÔçëÝöùíï: 2310 123456 ÔéìÞ: 120,00 €
After converting
Οδός Εγνατίας 12, Θεσσαλονίκη Τηλέφωνο: 2310 123456 Τιμή: 120,00 €
What do the letters look like when read wrong?
In Windows-1253 every Greek letter is one byte, mostly between C1 and FE. When a Western program reads that byte as Windows-1252, you see a Latin letter with an accent:
α→ byteE1→áε→ byteE5→åλ→ byteEB→ëμ→ byteEC→ìρ→ byteF1→ñέ→ byteDD→Ý
That’s why Καλημέρα turns into ÊáëçìÝñá, while € stays the same – it has the same byte in both code pages. You can paste such text straight into the box, and Mojibuster turns it back into Greek.
How to convert
- Drag the file into the box above.
- Mojibuster detects Windows-1253, ISO-8859-7 and UTF-8 automatically and shows which encoding it used to read the file.
- Click Download to save the file as UTF-8.
Windows-1253 vs. ISO-8859-7
ISO-8859-7 (formerly also ELOT 928) is the older standard, used in e-mail, on websites and on Unix systems. Windows-1253 is almost the same: α to ω and most capitals sit in the same positions. A few spots differ – Ά is byte A2 in Windows-1253 but B6 in ISO-8859-7, so with Western settings it shows as ¢ or ¶. Windows-1253 also has typographic quotes, dashes and other symbols in the range 80–9F.
So an ISO-8859-7 file is nearly always read correctly as Windows-1253 too, except for Ά. Mojibuster checks both and keeps the one that gives clean Greek. Greeklish (Kalimera) is not an encoding error: it is Greek written in Latin letters on purpose, and Mojibuster leaves it alone.
Converting on the command line
To convert many files at once on Linux or Mac, this command is enough:
iconv -f CP1253 -t UTF-8 in.txt > out.txt
And in PowerShell 7 on Windows:
Get-Content -Encoding 1253 in.txt | Set-Content -Encoding utf8 out.txt
Note that these commands assume you know the file’s encoding. If the file is already UTF-8, you get new garbage such as αβγ. Mojibuster checks the file first and only converts it if the result is clean Greek text.
What can’t be recovered?
Letters that turned into ? can’t be restored, because the information was lost when the file was saved. Mojibuster shows how many there are – see question marks instead of characters.
The same goes for characters Windows-1253 doesn’t have, such as emoji, Cyrillic or polytonic letters like ἀ and ῆ: when the file is saved as ANSI, they become ? for good. If you see � in a modern editor, the letters are still in the original file and can be converted.
The reverse case – UTF-8 read as Windows-1253, with Ξ and Ο everywhere, like Ξ±Ξ²Ξ³ instead of αβγ – turns ρ, ψ, ό, ύ, ώ and several capitals into invisible control characters. Mojibuster repairs that too, but if those characters were deleted while copying, the letters are missing. Then drop the original file instead.
Frequently asked questions
Can I open the file in Excel after converting?
Yes. For CSV files keep Save with BOM switched on, and Excel opens the file without broken characters. Details in fixing CSV files in Excel.
How do I know the file is Windows-1253?
If the text shows Latin letters with accents like ÊáëçìÝñá, or � in an editor that expects UTF-8, it’s most likely Windows-1253 or ISO-8859-7. After reading, Mojibuster shows which encoding it detected. If you see codes like %CE%B1, paste them in as URL codes.
What happens to accents and diaeresis?
Windows-1253 has every monotonic letter with its accent and diaeresis (ά, ϊ, ΐ), and they are kept when converting to UTF-8. Polytonic letters don’t exist in this code page.
Can I convert from UTF-8 to Windows-1253?
Right now the file is only saved as UTF-8. If you need Windows-1253, save the file again in Excel or your text editor.
Is the file uploaded to a server?
No. The conversion runs entirely in your browser.