Go further with Read and Write Persian Language in 7 Days: $17.99, instant PDF download. See inside the book

Persian Keyboard: How to Type in Farsi on Any Device

Persian Keyboard: How to Type in Farsi on Any Device

A Persian keyboard is already built into Windows, macOS, iPhone and Android: you only need to add it in your language settings. Choose the standard Persian layout (ISIRI 9147, listed on Windows as “Persian (Standard)”), switch to it with a shortcut, and use Shift+Space for the half-space in words like می‌خواهم (mikhâham). To type a few words right now, use the online keyboard below.

This guide covers setup on each device, how the standard layout is organized so you can learn it quickly, and the three things that trip up almost every learner: the half-space (zero-width non-joiner), the Persian ی and ک versus their Arabic look-alikes, and Persian digits. In Persian, a keyboard is صفحه‌کلید (safhe-kelid) or, more casually, کیبورد (kibord) .

Type Persian online, no installation

Click the keys or type on your own keyboard; the letters appear right to left. Copy the result into an email, document or chat. You can also open the full-page Persian keyboard tool.

If you know how a word sounds but not how to spell it, the Finglish to Persian converter turns Latin letters into Persian script, and the name converter shows English names in Persian letters.

How to add a Persian keyboard on each device

Which device are you using?

Windows 10 and 11: open Settings, then Time & language, then Language & region (Language on Windows 10). Click Add a language, search for Persian, and install it. Then open the language options for Persian and, under Keyboards, add Persian (Standard). Switch layouts with Windows key + Space or Alt+Shift, or click the language code on the taskbar.

macOS: open System Settings, then Keyboard. Under Text Input, click Edit next to Input Sources, press +, choose Persian, and pick a layout. If you see a standard layout in the list, choose it. Switch with Control+Space or the globe key. Turn on “Show Input menu in menu bar” so you can open the Keyboard Viewer and see which key gives which letter.

iPhone and iPad: open Settings, then General, then Keyboard, then Keyboards. Tap Add New Keyboard and choose Persian. While typing, tap or hold the globe key to switch between English and Persian.

Android with Gboard: open Gboard settings (from any keyboard, tap the gear icon), go to Languages, tap Add keyboard and choose Persian. Switch with the globe key or by holding the space bar. Samsung Keyboard has a similar Languages and types menu.

Menu names move a little between versions, but the path is always the same idea: language or keyboard settings, add Persian, choose a layout, learn the switch shortcut. On Linux desktops such as GNOME, add Persian under Settings, Keyboard, Input Sources.

Standard or legacy layout?

Windows offers two Persian layouts. Persian (Standard) follows ISIRI 9147, the national standard published in Iran in 2007. The older layout, listed simply as Persian, is Microsoft’s earlier design. Most letters sit on the same keys in both, but the standard layout puts Persian digits on the number row, types the correct Persian ی and ک, and gives you the half-space on Shift+Space. Choose the standard layout unless you are already used to the old one.

The standard Persian keyboard layout, key by key

Persian is written right to left and has no capital letters, so Shift is used for extra characters instead. Here is where each letter sits on the standard (ISIRI 9147) layout, using the English key it shares.

Row English keys Persian letters (same order, left to right) Notes
Top row Q W E R T Y U I O P ض ص ث ق ف غ ع ه خ ح The two bracket keys after P give ج and چ
Home row A S D F G H J K L ; ‘ ش س ی ب ل ا ت ن م ک گ ی is on D, ک on the semicolon key, گ on the apostrophe key
Bottom row Z X C V B N M , ظ ط ز ر ذ د پ و پ is on M, و on the comma key
Number row 1 2 3 4 5 6 7 8 9 0 ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ Persian digits by default

A few useful characters are on Shift:

Character Keys Sound or use Example
آ Shift + H â at the start of a word آب (âb), water
ژ Shift + C zh ژاکت (zhâket), jacket
ئ Shift + S ye with hamza مسئله (mas’ale), problem
ء Shift + M hamza Used in a few words
half-space Shift + Space (also Shift + B) zero-width non-joiner می‌روم (miravam), I go

A good way to learn the layout: start with the home row (ش س ی ب ل ا ت ن م ک گ from A to the apostrophe key), since those are among the most frequent letters, then the top row. If the letters themselves are still new, the Persian alphabet guide goes through all 32 with their sounds.

Flashcards: which English key types this letter?

ی
D
ye: i, y
ک
; (semicolon)
kâf: k
گ
‘ (apostrophe)
gâf: g
پ
M
pe: p
ا
H
alef: â, a
ن
K
nun: n
م
L
mim: m
آ
Shift + H
alef with madde: â

The half-space (ZWNJ): the most important key you have never used

Persian has a special invisible character called the zero-width non-joiner, or ZWNJ. Iranians call it نیم‌فاصله (nim-fâsele, “half-space”) . It stops two letters from joining without adding a full space. Correct Persian spelling needs it in many common words:

Persian Pronunciation English When to use
می‌خواهم mikhâham I want Present tense prefix می– stays separate from the verb
نمی‌دانم nemidânam I don’t know Same rule for the negative prefix
کتاب‌ها ketâbhâ books Plural ending ها after most nouns
خانه‌ام khâne-am my house; I am home Endings after a final ه
صفحه‌کلید safhe-kelid keyboard Compound words

Listen: می‌خواهم کتاب‌ها

Without the half-space you get one of two mistakes. With no gap at all, the letters run together and the word looks wrong. With a full space, the prefix or ending floats away from its word, and a line break can even split them. Many Iranians type a plain space in quick messages, and readers understand, but published text, school work and anything formal should use the half-space. The list of common Persian writing mistakes explains more spelling habits like this.

How to type it:

  • Windows, Persian (Standard): Shift+Space (Shift+B also works).
  • Windows, older Persian layout: the commonly used shortcut is Ctrl+Shift+2.
  • Mac: depends on the layout you chose; open the Keyboard Viewer and hold Shift to find it. On many Persian layouts it is Shift+Space.
  • Phones: Persian keyboards on iPhone and Android usually include a half-space key, often on the symbols page or next to the space bar. Its position varies between keyboard apps and versions.

The ی and ک problem: Persian vs. Arabic letters

Persian ی (ye) and ک (kâf) look almost identical to Arabic ye and kâf, but they are different characters in Unicode. Persian ye has no dots at the end of a word, while Arabic ye keeps two dots underneath. Arabic kâf at the end of a word has a small mark inside it; Persian ک does not. In the middle of a word the two versions can look exactly the same, which is why the problem is easy to miss.

Why it matters: if a text mixes Arabic and Persian versions, searching for a word fails, sorting goes wrong, and spell-checkers flag correct words. A search for ایرانی (irâni) will not find the same word typed with an Arabic ye. This happens when people type on an Arabic keyboard, on old Persian layouts, or copy text from older websites.

How to avoid it:

  • Use the standard Persian layout on every device; it produces the Persian forms (Unicode U+06CC for ی and U+06A9 for ک).
  • Do not use an Arabic keyboard to type Persian, even though most letters match.
  • If you inherit a document with Arabic forms, use your editor’s Find and Replace to swap the Arabic ye (U+064A) and Arabic kâf (U+0643) for the Persian ones.

Persian digits vs. Arabic digits

Persian has its own digits: ۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹. Arabic uses a related set, and the difference shows in three numbers: Persian writes 4, 5 and 6 as ۴ ۵ ۶, while Arabic writes them as ٤ ٥ ٦. On the standard layout, the number row gives Persian digits. Iranians also use Western digits (0 to 9) freely online, in prices and on phones, so both are normal.

Numbers in Persian run left to right inside right-to-left text, just like in English, so ۱۴۰۳ is read “one thousand four hundred and three.” To convert numbers between digits and words, try the Persian number converter; for the words themselves, see Persian numbers 1 to 1,000.

Persian punctuation also has its own forms: the comma ، and question mark ؟ are turned around compared with English. Your Persian layout types them for you.

Practice: Persian typing facts

On the standard Persian layout, the half-space is typed with .Shift+Space (or Shift+B) gives the zero-width non-joiner.

The correct spelling of “I want” uses a : می‌خواهم.The می– prefix is separated from the verb with a half-space.

On the standard layout, the letter ی is on the English key .ی sits on D in the home row.

The letter پ is on the English key .پ (pe) is on M, not P. P gives ح.

Persian and Arabic digits look different for .Persian ۴ ۵ ۶ differ from Arabic ٤ ٥ ٦.

To type Persian on Windows, choose the layout .Persian (Standard) follows ISIRI 9147 and gives Persian ی and ک.

Tips for learning to type in Persian faster

  • Do not rely on stickers forever. Keyboard stickers help in week one, but touch typing comes from practice. Type the same short sentence ten times a day.
  • Start with greetings. Type سلام (salâm) , مرسی (mersi) and خداحافظ (khodâhâfez) until they feel automatic. Then move to sentences from your lessons.
  • Set your phone to Persian for a day. Texting is the fastest way to learn a phone layout.
  • Learn the alphabet first. Typing is much easier when you can recognize each letter’s sound. The Farsi alphabet lessons and the Persian alphabet quiz are good places to start.
  • Check spacing. After writing, look for words that should have a half-space. It becomes a habit within a week or two.

Try it: type this sentence

Using the keyboard above or your own Persian layout, type “I want to learn Persian.” Then check your spelling.

می‌خواهم فارسی یاد بگیرم (mikhâham fârsi yâd begiram) . Check that می‌خواهم has a half-space between می and خواهم.

Quick quiz: the Persian keyboard

1. What is the Iranian national standard for the Persian keyboard?

  1. ISIRI 9147
  2. ISO 8859
  3. UTF-8
Why

ISIRI 9147 is the standard Persian layout, published in 2007.

2. What does the half-space (ZWNJ) do?

  1. Stops two letters from joining without a full space
  2. Adds a short vowel
  3. Switches the keyboard language
Why

The zero-width non-joiner keeps letters apart without a visible gap.

3. Which word needs a half-space?

  1. کتاب‌ها
  2. سلام
  3. مرسی
Why

The plural ending ها is separated from the noun with a half-space.

4. On the standard layout, which key gives پ?

  1. P
  2. M
  3. B
Why

پ is on M.

5. Why should you avoid typing Persian on an Arabic keyboard?

  1. It types Arabic ye and kâf, which break search
  2. It cannot type Persian words at all
  3. It types right to left
Why

Arabic ye and kâf are different characters, so searches and spell-checkers fail.

6. What is the Persian word for keyboard?

  1. صفحه‌کلید
  2. نیم‌فاصله
  3. فارسی
Why

صفحه‌کلید (safhe-kelid); کیبورد (kibord) is also common.

7. Which shortcut switches keyboard layouts on Windows?

  1. Windows key + Space
  2. Ctrl + Z
  3. Shift + Tab
Why

Windows key + Space (or Alt+Shift) switches between layouts.

8. Which digits differ between Persian and Arabic?

  1. ۴ ۵ ۶
  2. ۱ ۲ ۳
  3. ۷ ۸ ۹
Why

Persian ۴ ۵ ۶ have different shapes from the Arabic forms.

Common questions

How do I type in Farsi on my computer?

Add Persian in your system’s language settings and choose the Persian (Standard) layout on Windows, or a Persian input source on Mac. Switch with Windows key + Space or Control+Space. To type without installing anything, use the online Persian keyboard.

Is the Persian keyboard the same as the Arabic keyboard?

No. Many letters sit in similar places, but the Persian layout adds پ چ ژ گ and types the Persian forms of ی and ک plus Persian digits. Typing Persian on an Arabic keyboard leaves Arabic characters in your text that break search and spell-checking. For more on how the languages differ, see Farsi vs Persian vs Dari vs Tajik.

How do I type a half-space in Persian?

On the standard layout, press Shift+Space (Shift+B also works). On the older Windows Persian layout, Ctrl+Shift+2 is the usual shortcut. On phones, look for a half-space key on the Persian keyboard’s symbols page or near the space bar.

Can I type Persian with English letters?

Yes. Many Iranians text in “Finglish,” Persian written in Latin letters (salam, merci, khubi?). It is fine for chatting, but learners should learn the script. The Finglish converter converts Finglish to Persian script.

What is the best Persian keyboard layout?

For most people, the standard ISIRI 9147 layout: it is the national standard, it is built into current systems, and it types correct Persian characters and digits. Learn it once and you can use it on any computer in Iran.

Once your keyboard is set up, the next step is reading and writing comfortably. The workbook below teaches the alphabet, letter shapes and joining step by step, which makes typing feel natural much sooner.

Learn Persian with our bestseller

Learn Farsi in 100 Days: The Ultimate Crash Course to Learning Farsi Fast

Study with the book

Learn Farsi in 100 Days: The Ultimate Crash Course to Learning Farsi Fast

PDF ebook, instant download. Original price was: $26.99.Current price is: $14.99.

Add to cart See inside

Serious about Persian? Get all 30 of our Persian learning books for $199.99 (55% less than buying them one by one).

Browse all Persian learning books

Free Persian Starter Kit (PDF)

The Persian alphabet chart and the 101 most common Persian words with pronunciation, in one printable PDF. You also get a one-time 15% code for any of our books.

We will email you new lessons and book news from Learn Persian Online. Unsubscribe any time.

Free Persian Starter Pack: Alphabet + 100 Core Words

Get the 14-page printable Starter Pack (all 32 letters, a 7-day reading plan, 100 core words and 20 survival phrases) and a short 5-email course. Free.

Written by Reza Nazari

Reza Nazari is the author of the Learn Persian Online books, including Learn Farsi in 100 Days and 200 Absolutely Essential Persian Verbs, and teaches Persian on his YouTube channel.

What people say about "Persian Keyboard: How to Type in Farsi on Any Device"?

No one replied yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

Become a tutor