Case Converter
Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase…
Normalises alef, yeh, hamza and teh marbuta variants so the same word matches however it was typed, with each rule switchable.
The Arabic Text Normalizer normalises alef, yeh, hamza and teh marbuta variants so the same word matches however it was typed, with each rule switchable. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.
| Alef | Four forms collapse to one |
|---|---|
| ک vs ك | An Urdu letter and an Arabic one |
| ة → ه | Lossy — off by default |
| For matching | Not for display |
| Never overwrite | Keep the original |
This tool uses each rule collapses a set of visually or semantically related code points onto one representative, which is what makes a search index return the same result for every spelling of a word. Every intermediate value is shown on screen, so the result can be checked by hand.
It does not stem or lemmatise. Arabic morphology attaches prefixes and suffixes to a root, so "الكتاب" and "كتاب" still differ after normalisation; matching those needs a stemmer, which is a different and much larger problem.
Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase…
Converts any text to UPPERCASE instantly, keeping numbers, punctuation and line breaks exactly…
Converts any text to lowercase, including text that was typed with Caps Lock on by mistake.
Converts headings to proper Title Case using AP and Chicago rules, keeping short words like…
Rewrites text in sentence case: first letter of each sentence capitalised, the rest lowercase…
Turns any phrase into camelCase for JavaScript, Java and JSON keys, stripping spaces, hyphens…
Converts phrases to PascalCase (UpperCamelCase) for class names, React components and type…
Converts text to snake_case for Python variables, database columns and file names.
Converts text to kebab-case for URLs, CSS class names and HTML attributes.
Converts text to SCREAMING_SNAKE_CASE for environment variables, constants and configuration…