3,559 sourced Persian entries: grammar, slang, idioms, and the political vocabulary nobody else publishes. Open the glossary →
Hands setting up a Farsi keyboard on laptop and phone — editorial illustration for Farsi keyboard setup guide

Type Farsi on iPhone, Android, Windows, Mac (2026 Setup)

Hands setting up a Farsi keyboard on laptop and phone — editorial illustration for Farsi keyboard setup guide

You can read Farsi. Maybe you can even scrawl it by hand on a napkin. But the moment you sit down at your laptop or pick up your phone to actually type in Farsi, you hit a wall. your keyboard has exactly zero Persian letters on it. Knowing how to type in Farsi is one of those skills that takes about two minutes to set up but somehow nobody explains properly. You need it for texting your Iranian friend, practicing in ZabanYar‘s AI chat, or writing that first shaky Farsi email. So here’s the whole thing. every device, every platform, plus the one typing trick that’ll make you look like you actually know what you’re doing.

I remember the first time I tried to type Farsi on a non-Iranian computer. I was in Milan, needed to send a message to my mom, and spent twenty minutes Googling before I figured out where the setting was buried. It shouldn’t be this hard. It isn’t, once you know where to look.

How to Type in Farsi on iPhone and iPad

Apple made this reasonably painless. Go to Settings → General → Keyboard → Keyboards → Add New Keyboard, then scroll down and tap Persian (Farsi). That’s it. Your phone now has a Farsi keyboard.

To switch between English and Farsi while typing, tap the little globe icon on the bottom-left of your keyboard. If you have more than two keyboards installed, long-press the globe to see a list and pick the one you want. The iOS Farsi keyboard uses the standard ISIRI layout. the same layout used on every Persian keyboard in Iran. So if you learn it here, you learn it everywhere.

One tip most guides skip: long-press certain keys to access diacritic marks. You can get َ. zabar (the short “a” mark above a letter), ِ. zir (the short “e/i” mark below), and ُ. pish (the short “o/u” mark above). You won’t use these constantly. most Farsi is written without them. but they’re essential when you’re showing pronunciation or writing formal text. If you’re still getting comfortable with these marks, the complete Persian alphabet guide breaks them all down.

How to Type in Farsi on Android (Gboard and SwiftKey)

Android gives you more keyboard options, which is both a blessing and a headache. My recommendation: use Gboard (Google’s keyboard). It has the best Farsi autocorrect, and. crucially. it properly supports the half-space character (more on that below). To add Persian on Gboard: Settings → System → Languages & Input → On-screen keyboard → Gboard → Languages → Add keyboard → Persian.

If you prefer SwiftKey, the path is similar. open the SwiftKey app, go to Languages, search for Persian, and download it. SwiftKey’s prediction engine is solid for Farsi too, though I find Gboard’s handling of compound words slightly better.

Here’s a thing that’ll save you time: swipe typing works with Farsi on Gboard. You can glide your finger across the Persian letters just like you do in English. It feels weird for about a day, and then it feels natural. To switch keyboards on Android, tap the globe icon or swipe the spacebar left/right, depending on your setup.

If you’re just starting to learn the letters and need a visual reference while you practice, keep the Persian alphabet chart open in another tab. it helps when you’re hunting for a letter you don’t recognize yet.

How to Type in Farsi on Windows

Windows actually handles Persian input surprisingly well these days. Go to Settings → Time & Language → Language & Region → Add a language, then search for Persian (فارسی) and install it. Windows will download the language pack and add a Persian keyboard to your system.

To switch between keyboards, press Win + Space (hold Win and tap Space to cycle through your installed languages). You can also click the language abbreviation in your taskbar. it’ll say “ENG” or “FA”. and pick from the list. The default Windows Persian keyboard follows the ISIRI 9147 standard, which is the same layout used in Iran.

One thing to know: Windows sometimes installs both “Persian” and “Persian (Iran)” keyboard layouts. They’re the same for practical purposes. If you end up with duplicates, just remove the extra one from your language settings. Also, the on-screen keyboard (search for “on-screen keyboard” in Start) can show you the Persian layout if you switch to it. handy for the first week when you’re still figuring out where ش. shin lives.

How to Type in Farsi on Mac

On a Mac, go to System Settings → Keyboard → Input Sources (or “Edit” next to Input Sources), click the + button, search for Persian, and add it. You’ll see options like “Persian” and “Persian – ISIRI 9147”. pick the ISIRI one if it’s available, since that’s the standard layout.

To switch keyboards, press Ctrl + Space (or Fn + Globe on newer Macs). You can also click the input menu icon in your menu bar. it looks like a flag or a letter abbreviation. If you don’t see it, go back to Keyboard settings and enable “Show Input menu in menu bar.” Trust me, you want that toggle on.

macOS also has a nice keyboard viewer. Go to the input menu in your menu bar and select Show Keyboard Viewer. A floating keyboard appears on screen showing exactly which key produces which Persian letter. It’s the fastest way to orient yourself without stickers.

The Persian Keyboard Layout Explained

Here’s something that trips up every beginner: the standard Persian keyboard (ISIRI 9147) is not a transliteration keyboard. The letter ا. alef is not on the A key. The letters are arranged for typing efficiency in Farsi, based on letter frequency. just like QWERTY is arranged for English (well, sort of).

The most common letters sit near the home row where your fingers naturally rest. Here’s the mapping for some key letters:

English KeyPersian LetterName
Hاalef
Jتte
Kنnun
Lمmim
Dیye
Fبbe
Sسsin
Aشshin

The four letters that exist in Persian but not in Arabic. پ (pe), چ (che), ژ (zhe), and گ (gâf). are accessed by holding Shift and pressing their Arabic counterparts. For example, Shift+B gives you پ instead of ب. If you’re not sure which letters are uniquely Persian, the Persian alphabet mnemonics post covers all 32 letters and how to remember them.

Numbers on the top row produce Persian numerals by default: ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰. Hold Shift to get the Latin numerals (1 2 3 4 5 6 7 8 9 0). And if you’re struggling with the layout in your first week or two, grab a set of keyboard stickers off Amazon. they’re about five dollars and they’re worth every penny. Your fingers will memorize the layout through repetition, but stickers make the first few sessions much less painful.

The ZWNJ (Half-Space): The Most Important Typing Trick

If you only learn one thing from this entire post, make it this. The ZWNJ. Zero-Width Non-Joiner. is called نیم‌فاصله. nim-fâsele. “half-space” in Persian. It’s a special character that separates parts of a compound word without inserting a visible full space. And if you want your Farsi to look like it was typed by someone who knows the language, you absolutely need to use it.

Here’s why it matters. Take the verb “I go”. می‌روم. miravam. The prefix می. mi should visually detach from روم. ravam, but they’re still one word. Look at the three options:

Typed asResultProblem
With ZWNJمی‌رومCorrect. looks clean, reads as one word
No space at allمیرومThe می jams into the ر. looks cramped and wrong
Full spaceمی رومLooks like two separate words. confusing

You need the ZWNJ in a bunch of common situations: verb prefixes like می‌خواهم. mikhâham. “I want” and نمی‌دانم. nemidânam. “I don’t know,” plus the plural suffix ها. attached to nouns like کتاب‌ها. ketâb-hâ. “books.” Basically, any time two word-parts connect but shouldn’t physically join in the script.

Here’s how to type it on each platform:

  • iPhone/iPad: The Persian keyboard has a dedicated ZWNJ key. it looks like a small separator between sections of the spacebar. Hard to miss once you know it’s there.
  • Android (Gboard): Long-press the spacebar, or use Shift+Space in some layouts. Gboard handles this better than most keyboards, which is why I recommend it.
  • Windows: Press Shift+Space while in the Persian keyboard layout. On some setups, Ctrl+Shift+2 also works.
  • Mac: Press Shift+Space after enabling the Persian keyboard.

This one character is the difference between “typed by a learner who just enabled Farsi” and “typed by someone who gets how Persian actually works.” Start using it from day one.

Typing Tips to Build Speed

Don’t try to memorize the entire keyboard layout before you start typing. That’s like memorizing a city map before you walk around. your feet learn faster than your eyes. Start by typing words you already know: your name in Farsi, basic greetings like سلام. salâm. “hello,” ممنون. mamnun. “thanks,” and numbers like یک. yek. “one,” دو. do. “two,” سه. se. “three.”

One of the best ways to practice is to have actual conversations. ZabanYar‘s AI chat lets you text back and forth in Farsi. it corrects your mistakes and keeps the conversation going, so you build typing muscle memory while actually learning. It’s practice that feels like chatting, not drilling.

If you’re on a laptop or desktop, those keyboard stickers I mentioned earlier? Get them. They cost about five dollars, they peel off without residue when you don’t need them anymore, and they cut your hunt-and-peck phase from weeks to days. Your fingers will learn the layout through repetition regardless. just like they learned QWERTY. but stickers make the gap between “slow and frustrating” and “I can actually type” much shorter. For more practice ideas, check out the Persian alphabet practice guide.

Frequently Asked Questions

What is the standard Persian keyboard layout?

The standard layout is ISIRI 9147, designed by Iran’s Institute of Standards and Industrial Research. It arranges letters by frequency for efficient Farsi typing. it’s not a transliteration of the English QWERTY layout. This is the default Persian keyboard on Windows, macOS, iOS, and Android.

How do I type tanvin and tashdid on a Farsi keyboard?

On the ISIRI 9147 layout, tashdid (ّ. the doubling mark) is typed with Shift+G. Tanvin marks. ً (tanvin-e nasb) and ٍ (tanvin-e jarr). are accessed through Shift combinations on specific keys. On mobile keyboards, long-pressing certain letters reveals these diacritics. You won’t need them often in everyday typing, but they appear in Quranic text and some formal writing.

What is ZWNJ (half-space) and why does it matter?

ZWNJ stands for Zero-Width Non-Joiner, called نیم‌فاصله. nim-fâsele. “half-space” in Persian. It separates parts of compound words without a full space. for example, the prefix می in می‌روم (miravam, “I go”). Without ZWNJ, the letters either jam together or look like separate words. Type it with Shift+Space on most platforms.

Can I type Farsi and English in the same document?

Yes. On all platforms, you can switch between Persian and English keyboards using a shortcut. Win+Space on Windows, Ctrl+Space on Mac, or the globe icon on iOS and Android. Most modern text editors, browsers, and messaging apps handle the right-to-left and left-to-right direction changes automatically. If the text direction gets scrambled, look for an RTL/LTR toggle in your app’s formatting options.

What’s the best keyboard app for typing in Farsi?

For Android, Gboard (Google Keyboard) is the best option. it has reliable Farsi autocorrect, supports the ZWNJ half-space natively, and even allows swipe typing in Persian. For iPhone, the built-in iOS Persian keyboard works well. On desktop, the default system keyboards on both Windows and macOS support Persian out of the box using the ISIRI 9147 layout. You can also try Preply to practice typing in real conversations with a Farsi tutor.

That’s everything you need to start typing in Farsi today. The setup takes two minutes. The muscle memory takes a couple of weeks. And once your fingers know where the letters live, you’ll wonder why you ever thought it was complicated. If you’re still learning the alphabet itself, start with the complete Persian alphabet guide. then come back here when you’re ready to type. And if you want real practice, download ZabanYar and start chatting in Farsi. Your fingers will thank you.

Practice tool: Try our Online Persian Keyboard and Typing Practice with three modes: free typing, Finglish-to-Farsi conversion, and guided practice with vocabulary words.

Typing is just the start. For the complete writing roadmap, see Learning to Write in Persian.

Leave a Comment

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

Scroll to Top
Phrase of the Week Learn more →