How to use تبدیل ایران سیستم به یونیکد
- 01Open the fileOr paste the text and say where it came from.
- 02Check the PersianLines stored reversed are turned round.
- 03Copy or downloadUnicode Persian, UTF-8.

A1 91 F7 F9 FA 91 → خانهها.
Iran System is the 8-bit Persian character set of DOS programs, and some accounting, payroll and banking software still writes it. It stores each letter shape as its own byte: ب has one code when it joins the next letter and another when it does not, ع and غ have four. The converter reads each byte from the Iran System chart, turns the shapes back into letters, adds a half-space where the original showed a break inside a word, and turns lines saved in reverse (visual order) back round.
Iran System was the Persian character set of the DOS era, and old accounting, payroll and government programs still print reports and save files in it. Opened in Windows those files show as accented letters and box symbols. This page turns them into normal Persian Unicode, and can turn Unicode back into Iran System for software that only reads that.
How Iran System stores Persian
- Bytes 0-127 are plain ASCII, so English and numbers 0-9 stay as they are.
- Bytes 0x80-0x89 are the Persian digits ۰-۹, 0x8A is ، and 0x8C is ؟.
- Most letters have two codes: one for the shape that joins the next letter and one for the shape that does not (ب is 0x93 and 0x92).
- ع and غ have four codes, ه and ی three, and لا has a code of its own (0xF2).
- 0xB0-0xDF are the DOS box-drawing characters, used for report borders.
Worked example
The word خانهها (houses) is stored as A1 91 F7 F9 FA 91: joining خ, final ا, joining ن, final ه, medial ه, final ا. Because the first ه uses a shape that does not join the next letter, the converter puts a half-space after it, giving خانهها exactly.
Sources
The code chart on Wikipedia (“Iran System encoding”) and the IRAN SYSTEM to Unicode table by Roozbeh Pournader (2000) that it cites. Iran System is a company character set, not a national standard, so some programs differ slightly.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Why is the file better than pasting?
A file is read byte by byte, exactly as the DOS program wrote it. Pasted text has already been turned into some other code page by the program you copied it from, so you have to choose which one: a DOS window (code page 437), Word with an Iran System font (Windows-1252) or Notepad on Persian Windows (Windows-1256).
Why were some lines backwards?
Many DOS programs stored Persian in visual order: each line as it appeared on the screen from left to right, so the words come out reversed. In Detect mode the tool looks at the letter shapes (a word cannot start with a shape that joins a letter before it) and turns such lines round, keeping numbers left to right.
Can I convert Unicode to Iran System?
Yes. Choose Unicode → Iran System: each letter gets the code for its shape in that position, لا becomes the ligature code, Arabic ي and ك become ی and ک, and you can download the bytes for a DOS program or copy them for Word with an Iran System font.
Is my file uploaded?
No. The file is read in your browser and nothing leaves your device.
My text has strange letters left over. Why?
Either the pasted text came from a different code page than the one chosen (try the others), or the program used its own variant of Iran System. Opening the original file gives the most reliable result.