Free Persian / Farsi Keyboard Online (فارسی)

Type in Persian / Farsi (فارسی) online using our interactive virtual keyboard with special characters and phonetic mode.

About the Persian / Farsi Keyboard

Persian (Farsi) uses the Arabic script extended with four letters that Arabic lacks: پ (pe), چ (che), ژ (zhe) and گ (gaf), giving 32 letters in total. It also has its own digits (۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹), where ۴, ۵ and ۶ differ from the Arabic-Indic forms, and it relies on the zero-width non-joiner (ZWNJ) to write compounds correctly, as in می‌روم. This keyboard includes the ZWNJ key, so you can type correct Persian for Iran, Afghanistan (Dari) and the wider Persian-speaking world.

How the Persian keys are laid out

Like the Arabic keyboard on this site, the Persian layout puts each letter on or near the Latin key with the closest sound: T types ت, R types ر, D types د, F types ف, L types ل, M types م, N types ن, B types ب, S types س and A types ا. The four letters Persian adds to the Arabic alphabet follow the same idea: P types پ, C types چ, G types گ and Shift+Z types ژ. Hold Shift for the second layer: Shift+A gives آ, Shift+S gives ص, Shift+D gives ض, Shift+T gives ط and Shift+G gives غ.

The number row types Persian digits (۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰). Persian uses the same comma, semicolon and question mark as Arabic (، ؛ ؟) and writes quotations with guillemets, « on Shift+L and » on Shift+;. Text runs right to left and the letters join automatically, so you never choose the initial, medial or final form yourself.

The half-space (ZWNJ) and why Persian needs it

Persian relies on an invisible character called the zero-width non-joiner, often called the half-space or نیم‌فاصله. It stops two letters from joining while keeping the word visually together, which a normal space cannot do. On this keyboard it is Shift+B. You need it after the verb prefix می in می‌روم ("I go") and می‌خواهم ("I want"), before plural endings such as ها in کتاب‌ها ("books") and خانه‌ها ("houses"), and in many compounds.

Without it the text still reads, but it looks wrong to Persian readers, and the words are harder to search. Type م ی, then Shift+B, then ر و م and you get می‌روم. The ZWNJ does not show as a space, so if you cannot see it, that is normal.

Persian and Arabic look alike but are different characters

Persian ی and ک are not the same characters as Arabic ي and ك, even though they can look identical. Text copied from an Arabic source often contains the Arabic forms, which breaks search, sorting and spell-checking in Persian. Typing on this keyboard gives you the Persian ی and ک, so use it instead of pasting. The same goes for digits: Persian ۴ ۵ ۶ are written differently from the Arabic-Indic ٤ ٥ ٦.

Short vowels (a, e, o) are normally not written. When they are needed, for example for a learner or a poem, the marks are on the Shift layer: Shift+F for kasra, Shift+I for shadda, and Shift+Q, Shift+E and Shift+R for the three tanwin marks.

Words to try

Type سلام (hello), ممنون (thank you), خداحافظ (goodbye), ایران (Iran), دوست (friend), چای (tea), می‌روم (I go), کتاب‌ها (books) and نوروز مبارک (happy Nowruz). The four Persian-only letters appear in پدر (father), چای (tea), ژاله (a given name) and گل (flower), which makes them a quick way to test the layout. Persian is written in Iran and, as Dari, in Afghanistan. When you finish, use Copy to paste the text into a message or a document.

Frequently Asked Questions: Persian (Farsi) Keyboard

How do I type the half-space (ZWNJ) in Persian?

Press Shift+B. It inserts an invisible zero-width non-joiner, used in words like می‌روم and کتاب‌ها. It is not a space and does not show on screen.

How do I type پ, چ, ژ and گ?

P types پ, C types چ and G types گ. For ژ press Shift+Z. These four letters are what Persian adds to the Arabic alphabet.

Why do Persian and Arabic keyboards give different characters for ی and ک?

They are different Unicode characters that look alike. The Persian keyboard types ی and ک, the Arabic one types ي and ك. Using the right set keeps search, sorting and spell-checking working in Persian.