Fix the half-spaces in Persian text

Paste Persian text — from an AI tool, a phone keyboard or a PDF — and get it back with its half-spaces (نیم‌فاصله) fixed: می خواهم becomes می‌خواهم, خانه ها becomes خانه‌ها. Arabic letters, punctuation and digits fixed too, all in your browser.

  • Half-spaces (ZWNJ) fixed
  • Every change listed to check
  • URLs, emails and English untouched
  • Free, no account, nothing uploads

Fix your Persian text

Try a preset:

Fixed text

Paste Persian text above — the fixed version appears here as you type.

Changes made

Your result summary


          

Paste Persian text to fix its half-spaces.

Privacy you can verify, not just trust

Fixing your Persian text by uploading it to a website would be backwards — the fix should never be the leak. This one can't: your text is fixed with plain JavaScript on your device, and it never leaves the device — the only third-party requests are the site's own analytics, which count page views. Don't take our word for it:

New cross-origin requests during use: 0
  1. Press F12 to open developer tools, then the Network tab.
  2. Paste Persian text above. Watch: apart from the site's analytics, nothing new is requested — no uploads, and no data ever leaves your device.
  3. Extra credit: disconnect your internet after this page loads — the fixer still works.

How to fix half-spaces in Persian text

Persian has a character most keyboards hide and most AI tools never produce: the half-space, or نیم‌فاصله. It is the zero-width non-joiner (ZWNJ, U+200C) — an invisible join between two parts of a word. Without it, می‌خواهم comes out as می خواهم, خانه‌ها as خانه ها, and برنامه‌نویسی as برنامه نویسی. Readers understand it, but it is spelled wrong — and in formal writing, in a CV, a thesis or a published article, it is the first thing an editor notices. This page fixes it: paste the text, and every half-space lands where the Academy of Persian Language and Literature says it belongs, with a list of every change so you can check each one.

To use it:

  1. Paste your Persian text. From an AI chat, a phone, a PDF, Word — anywhere. The fixed version appears below as you type; there is no submit button and nothing is uploaded.
  2. Pick the rules. Six tick boxes above the result: half-spaces, Arabic-to-Persian letters, Persian punctuation, stretched letters, spacing, and Persian digits. All six are on by default; untick any rule you do not want — for example, keep your Western digits by unticking the digit rule.
  3. Read the change list. Every fix is shown as before and after (می خواهم → می‌خواهم), so nothing is changed silently. If a fix looks wrong, untick the rule or edit that word by hand after copying.
  4. Show the half-spaces. Tick “Show half-spaces” and each half-space appears as a visible dot in the fixed text, so you can see exactly where they landed — useful when you are learning the rule.
  5. Copy or download. Copy the fixed text straight into your document, or download it as a plain-text file.

What makes this fixer different

The tools that fix Persian half-spaces today are not web pages you can paste into. Negaresh is a WordPress plugin — it only helps if your text lives in WordPress. VirAI is a Chrome extension that needs an API key and sends text to an AI service. LeoMoon ParsiNegar is a desktop application you have to download and install, built for shaping text in design apps. The IranTools normaliser is a paid API for developers, not a page. And the generic zero-width removers do the opposite job: they delete invisible characters, they never insert the half-spaces a text is missing. This page is the only free, no-install, no-account fixer that runs in the browser on pasted text — with per-rule tick boxes, a visible half-space view, and a change list that shows every fix before you copy.

When is this the right tool?

Whenever Persian text arrives with broken half-spaces: AI-written Persian (chatbots almost never produce ZWNJ), text typed on a phone keyboard, text copied out of a PDF or a chat app, and text written with Arabic ي and ك on an Arabic keyboard. It is also the right tool before you submit anything formal — a CV, a university assignment, a work email, a published article — where the spelling has to be right. It is not a translator and not a spellchecker: it fixes half-spaces, letters, punctuation, stretched letters, spacing and digits, and it never rewrites a word.

Honest limitations

Curated word lists, not a dictionary

The fixer knows the common verbs, the common compounds (برنامه‌نویسی, راه‌اندازی, نرم‌افزار, دانش‌آموز, نیم‌فاصله) and the short lists for هم and باز. An uncommon compound it has never seen is left as typed rather than guessed — check the change list, and fix the rare word by hand.

هم and باز are deliberately cautious

هم means also and باز means again as often as they are prefixes, so the fixer only joins them to a short list of known compounds (هم‌گام, هم‌زمان, بازگشت, بازنویسی). A compound outside that list stays split — safer than joining a هم that means also.

Possessives stay joined — by design

کتابم, خانه‌ات, مدرسه‌اش are written joined in correct Persian, so the fixer never puts a half-space before ام، ات، اش، مان، تان or شان. If your text has a half-space there already, it is left alone too.

It fixes spelling, not grammar

A wrong word stays a wrong word, and a wrong verb ending stays wrong — the fixer only repairs half-spaces, letter forms, punctuation, stretched letters, spacing and digits. It is a typography fixer, not a proofreader, and it never rewrites a sentence.

Digits and punctuation act near Persian text only

The digit and punctuation rules only change a number or a mark that sits next to Persian letters. A number or comma in an English sentence is left exactly as typed — which also means a Persian sentence written entirely in Latin letters gets no fixes at all.

Rules dated November 2026

The rules follow the orthography of the Academy of Persian Language and Literature (فرهنگستان زبان و ادب فارسی) as it reads in November 2026: half-spaces for می، نمی، بی، هم and the suffixes ها، های، تر، ترین; direct joining for نا and باز; Persian letters ی and ک; punctuation ، ؛ ؟; and Persian digits with ٫ and ٬.

Frequently asked questions

What is a half-space (نیم‌فاصله) in Persian?

A half-space is the zero-width non-joiner (ZWNJ, U+200C) — an invisible character that sits between two parts of a word, joining them without a full space and without joining the letters. In correct Persian, verb prefixes take a half-space (می‌خواهم, نمی‌شود), plural and comparative suffixes take one (خانه‌ها, کتاب‌های, بزرگ‌تر), and compound words take one (برنامه‌نویسی, راه‌اندازی, نرم‌افزار, نیم‌فاصله). Writing them with a full space, or joined with no space at all, is a spelling mistake — the most visible one in Persian text.

Why does my Persian text lose its half-spaces?

Three usual causes. AI writing tools almost never produce half-spaces: the models were trained mostly on text typed without them, so their Persian output reads می خواهم and خانه ها throughout. Phone keyboards make the half-space hard to reach — it hides behind a long-press or a second keyboard page, so people type a full space instead. And copy-paste from PDFs, chats and websites strips the character or turns it into a space. This fixer repairs all three cases in one paste: it inserts the missing half-spaces, splits words wrongly joined without one (میخواهم becomes می‌خواهم), and leaves text that is already correct untouched.

What exactly does this fixer change?

Six rules, each with its own tick box. Half-spaces: prefixes می، نمی، بی and هم join the word after them with a half-space, نا and باز join directly (ناامید, بازگشت), suffixes ها، های، تر and ترین take a half-space (خانه‌ها, بزرگ‌تر), and compound words from the Academy wordlist take one (برنامه‌نویسی, نرم‌افزار, دانش‌آموز, نیم‌فاصله). Letters: Arabic ي and ك become Persian ی and ک, and ة becomes ه. Punctuation: Latin , ; and ? become ، ؛ and ؟ next to Persian text, and ... becomes …. Kashida: stretched letters (ـ) are removed. Spacing: double spaces collapse and stray spaces before punctuation go. Digits: Western digits inside Persian text become Persian digits (1404 becomes ۱۴۰۴), with ٫ as the decimal mark and ٬ as the thousands mark. Every change is listed below the result so you can check it.

What does this fixer leave alone?

Possessive suffixes — ام، ات، اش، مان، تان and شان — are written joined in correct Persian (کتابم, خانه‌ات), so the fixer never puts a half-space in front of them. It never touches web addresses or email addresses, and it never touches English text: a comma or a digit in an English sentence is left exactly as it is, because the punctuation and digit rules only act next to Persian letters. It also leaves هم alone when it means also (من هم می‌روم), باز alone when it means again (باز می‌روم), and the exclamation های (های! چه خبر؟) — those are separate words, not prefixes or suffixes. And it never rewrites a word: it only fixes spelling and typography, never meaning.

Does it change the meaning of my text?

No. The fixer only changes spelling and typography — the same words, in the same order, with the same meaning. A half-space is a spelling rule, not a different word: می‌خواهم and می خواهم mean the same thing, but only the first is spelled correctly. The one place to check is هم and باز: the fixer only joins them to a short list of known compounds (هم‌گام, هم‌زمان, بازگشت, بازنویسی), so a هم that means also or a باز that means again is left alone. Read the change list under the result before you copy — every fix is shown there as before and after, so nothing is changed silently.

Can it fix Persian digits and punctuation too?

Yes — both are tick boxes above the result, on by default, and you can switch either off. The digit rule turns Western digits into Persian digits only when they sit inside Persian text (سال 1404 becomes سال ۱۴۰۴; a number in an English sentence is left alone), and it writes the decimal mark as ٫ and the thousands mark as ٬ (1,250.50 becomes ۱٬۲۵۰٫۵۰). The punctuation rule turns a Latin comma, semicolon or question mark into ، ؛ or ؟ when it sits next to Persian text, and turns ... into …. If you want your digits or punctuation left exactly as typed, untick the box and the fixer skips that rule.

Does this fixer upload my text?

No. The fix runs entirely in your browser with plain JavaScript, and your text never leaves your device — the only third-party requests are the site's own analytics, which count page views. You can verify it with the network-request counter in the privacy section below the fixer. It works offline once the page has loaded, and there is no account, no sign-up and no storage: closing the tab deletes everything.