Persian Keyboard Layout Fixer and Text Normaliser

Paste Persian text, choose what to clean, and copy normalised text with correct letters, half-spaces and punctuation.

Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo

…

Come si usa

  1. 1
    Paste the Persian text

    Put the text to clean in the left box.

  2. 2
    Choose the options

    Tick digits, punctuation, half-spaces or vowel marks.

  3. 3
    Pick a fix

    Use full normalisation or one fix at a time.

  4. 4
    Check half-spaces

    Show half-spaces as ¦ to see where they were put.

  5. 5
    Copy the clean text

    Copy the result or download it.

Informazioni su questo strumento

Persian text often looks right but is wrong underneath. Text typed on an Arabic keyboard or copied from old software uses the Arabic letters ي and ك instead of the Persian ی and ک, so searches fail and sorting breaks. Words that should be joined by a half-space, the zero-width non-joiner, are written with a full space or glued together: "می خواهم" instead of "می‌خواهم", "کتاب ها" instead of "کتاب‌ها". Latin commas and question marks appear where ، and ؟ belong, tatweel stretches letters, digits come in three different scripts, and sometimes a whole sentence was typed with the keyboard still on English. This normaliser fixes these problems in one pass or one at a time, and shows counts so you can see what was wrong.

Who this is for

Writers, editors and translators preparing Persian text for print or the web, developers cleaning Persian data before search or storage, students formatting a thesis, and anyone pasting Persian text from PDFs or chat apps.

What gets fixed

- Letters: Arabic ي and ى become ی, and ك becomes ک. - Tatweel (ـ), the stretching line, is removed. - Digits: Latin and Arabic-Indic digits become Persian digits (optional). - Punctuation: a comma, semicolon or question mark after Persian text becomes ، ؛ or ؟, spaces before punctuation are removed and a space is added after it. - Half-spaces: می and نمی before a verb, and the suffixes ها، های، تر، ترین, and ام، ای، است after a final ه, are joined with a half-space. - Short-vowel marks (fatha, kasra, damma, tanvin, sukun) can be removed for search and indexing.

Half-space rules

The half-space keeps letters from joining without adding a visible gap. The tool only inserts one where the rule is safe: می or نمی followed by a space and a word, or a word followed by a space and one of the listed suffixes. Words that start with می, such as میز or میهن, are left alone because there is no space after می. Use "Show half-spaces as ¦" to see where they are.

Text typed on the wrong keyboard

If you typed Persian with the keyboard still set to English, you get text like "sghl". The keyboard fix maps each key of the standard Persian layout (ISIRI 9147) back to its letter, so the keys you pressed become the Persian text you meant.

Worked example

"مي خواهم كتاب ها را بخوانم ,اما نمي دانم كجا هستند ?" becomes "می‌خواهم کتاب‌ها را بخوانم، اما نمی‌دانم کجا هستند؟" after full normalisation.

Statistics

Below the editor you see counts of Arabic letters still in the text, half-spaces, Persian digits and other digits, so you can check a file before publishing.

Limits

Rules cover the common cases, not every word. Compound words and names may need a manual half-space. Your text stays in your browser.

Esempio svolto

"مي خواهم كتاب ها" becomes "می‌خواهم کتاب‌ها" with Persian letters and half-spaces.

In breve

Domande frequenti

What is the difference between ي and ی?

ي is the Arabic yeh with dots in every position; ی is the Persian yeh. They look alike but are different characters.

What is a half-space?

The zero-width non-joiner (U+200C), which stops letters joining without a visible space.

Will it break words like میز?

No, the rule needs a space after می.

Can it fix text typed on an English keyboard?

Yes, pick the keyboard fix to map each key to its Persian letter.

Does it change English text?

Punctuation is only changed after Persian letters, and Latin letters are left alone except in the keyboard fix.

Is my text uploaded?

No, it is processed on your device.

Completamente gratisNessun costo, nessuna registrazione
I file restano privatiTutto funziona nel tuo browser
Facile nella tua linguaDisponibile in molte lingue