There are nearly 230 million Urdu speakers in the world. Until recently, almost none of them had a keyboard actually designed for them — just a Latin keyboard with Urdu letters mapped awkwardly onto it, a workaround built for a small English-typing elite decades ago and never really rethought since.
Zeerak Ahmed has spent the last nine years trying to fix that. Trained as a designer and engineer, he built the first version of his Urdu keyboard, Matnsaz, as a thesis project at Harvard’s Design Engineering programme, starting over instead of adapting an English keyboard. Matnsaz launched on iPhone some years ago and has now arrived on Android, the platform where most of Pakistan’s Urdu-speaking smartphone users are.
| T |
he News on Sunday: What exactly is Matnsaz?
Zeerak Ahmed: The predominant Urdu keyboard layout in Pakistan today takes the QWERTY layout built for English and maps Urdu sounds onto it phonetically — assuming the user already knows an English keyboard and is using that knowledge.
Matnsaz throws that assumption out. It’s built around the shapes of the Urdu — and Perso-Arabic — script, fitting a much larger alphabet onto a compact, touchscreen-friendly keyboard by grouping letters that share a base shape and using autocorrect to work out which exact letter was meant.
TNS: Where does an idea like this start?
ZA: From a pattern I kept seeing across the industry: software gets built for English first. Every other language is added afterwards through localisation — translate the words, keep everything else the same. That breaks down when a language has fundamentally different interaction patterns. Chinese software, for instance, has its own aesthetic and logic, that is different from American software, because the underlying context is different — not just the words on screen.
So the question is: do we adapt what already exists for English, or ask what computing would look like if it had been built for this language from the start? If computers had been invented for Urdu first, they would not look the way they look today.
The standard Urdu keyboard was built decades ago for people who’d already learnt to type in English and were transferring that skill. But most new smartphone users in Pakistan today have never typed in English and Urdu is often not their first language. They deserve a keyboard designed around them.
TNS: How did you redesign the layout?
ZA: Look closely at the Urdu script. It is part of the Perso-Arabic family. Many letters share the exact same base shape, distinguished only by the placement of dots. Instead of giving every letter its own key, Matnsaz provides a key per base shape and lets autocorrect work out which letter was intended. That decision took us from roughly 39 letters down to 21 keys, without losing any letters.
Those already used to the existing layout may find the change unnecessary. But for those scared by existing layouts, feeling like they can never type in Urdu, Matnsaz offers a moment of joy. It makes people instantly see the keyboard in a new way that feels achievable. This is because the design of Matnsaz comes from the learnings that Urdu teachers use to teach the script to children: before the full technical alphabet, they first teach the basic shapes.
TNS: What’s the compliment that means the most, and the most common complaint?
ZA: It’s really fulfilling to hear from people who’ve written Urdu their whole lives but felt they “just weren’t good at it” — blaming themselves rather than the tools. When they realise the tool was the actual problem, that means a lot. We’ve also been asked why we bother doing this at all. “Shouldn’t Urdu switch to the Latin script like Turkish? Or shouldn’t we all switch to English? Urdu is a dying language after all.” For us, Matnsaz is as much a technological project as a response to this attitude. Why lose connection with our unique history and culture because computers are hard to change? We should just change computers.
The most common complaint we hear about Matnsaz is that our autocorrect isn’t as good as it should be yet. We agree. We’re continuously retraining the model to improve.
TNS: You’ve broadly researched language preservation. Isn’t that a big claim for just a keyboard?
ZA: A small historical example: when the Thai typewriter was designed, the American who built it adapted an English typewriter — but the frame didn’t have room for the full Thai alphabet, so two letters were simply left off. Over time, those letters fell out of everyday use. This is one story, but there is a lot of evidence that technology shapes language. Language shapes how we think, so the impact is much bigger than immediately obvious.
Take Noori Nastaliq, the font behind most Urdu text on television and in print. Noori Nastaliq was a technical marvel when it launched in the 1980s. At first launch however, it could only type known Urdu ligatures. So completely unknown words could not be written in the font. So, when such words occurred in newspaper writing, they would be either handwritten or typed in Latin characters. To me it is not a coincidence that a major scientific field that launched after the 1980s – information technology – has no Urdu technical vocabulary. Mathematics, physics, economics do not have this issue. My argument is that the reason we stopped making new technical vocabulary for Urdu, is at least partly because the tools to write new words either just didn’t exist or were too hard to use.
TNS: Keyboards can learn a lot about their users. How do you think about privacy?
ZA: Deliberately, we run no server-side infrastructure that would let us monitor what people type. Plenty of typing-technology companies do track input to improve their models — we wanted people to use Matnsaz with zero hesitation, so we didn’t build that capability in. The one exception is your phone’s own on-device dictionary, which learns new words you type, and which stays entirely local. Beyond that, we rely on people emailing us when something doesn’t autocorrect properly.
TNS: Any conversation about Urdu computing runs into InPage. How did we get here?
ZA: Early computers had no built-in way to represent Arabic-script characters — every character is just a number under the hood and every language needs its characters assigned codes before software can render them. Different platforms did their own encoding independently, so whether Urdu was even supported at all was uncertain for a long time.
InPage standardised an Urdu encoding and took Urdu typesetting to a new level. In the years after InPage launched, the industry invested in Unicode — the standard assigning one universal code to every character in every language. Unicode is a non-profit initiative, driven by voluntary contributions and membership from large tech companies. In the governmental sphere it has also seen participation from the government of Oman (to represent Arabic) and national and local governments in India and Bangladesh to represent Indic languages.
InPage is effectively an India–Pakistan collaboration — fonts developed in Pakistan, software in India. Even so, development on both sides has slowed: the core product feels dated and piracy means formatting and data are often lost between multiple incompatible versions.
TNS: Where does Matnsaz stand today? What’s the plan for growth?
ZA: We don’t monetise the app. Our hope instead is to reach as many people as possible. With Android now live, our goal is to reach everyone who needs proper Urdu typing. We’ve kept this sustainable through real partners who believe in it — our Lahore-based software company Tintash, our developers and our design, PR and legal partners — none of whom treated this as a one-year project.
TNS: Nine years is a long time for just a keyboard. What took so long?
ZA: No clean, usable Urdu-text dataset existed anywhere to train a proper autocorrect system on. Large general-purpose language models weren’t reliable for Urdu specifically, so we went back to real, human-written text — and found that even large publications‘ Urdu text is full of typing errors, because the software and fonts people have used for decades are weak.
We approached three sources for permission to use their published Urdu text — an Urdu-language journal from LUMS, the Al-Mawrid institute, and the news website IBC Urdu. They generousl donated their text not just for our use but to be used by developers and researchers freely. We converted the text out of old InPage formatting into Unicode, restructured it into a labelled format — labelled so that variations in language by region, gender, author and domain were easy to study and filter — and manually catalogued thousands of common typing errors so the model could learn to correct them. That whole pipeline is open-source, with the dataset public on our GitHub, so other developers can build their own Urdu-language tools on top of it. That‘s the actual goal, not owning the market.
TNS: How can users help take this forward?
ZA: Matnsaz is built as collective action to solve systemic problems in technology. We don’t see ourselves in this alone. This sort of long-horizon, low-margin work is not easy to do. Being able to work on this project is a luxury and an honor. To the extent our team has been able to work on this, it’s because some of us are established enough in a technical career to redirect our own time toward it. We’re always glad when others want to do the same. We always appreciate volunteer efforts to our open-source components. We also regularly mentor researchers, developers and designers building their own products. The projects we’ve engaged with include Gaana Mangwao (a transcription tool for musicians), Uplift AI (a startup working on voice technology for Pakistani languages), Code for Pakistan (as they developed design guidelines for public-service Urdu websites), the Digital Rights Foundation (for their submission to the UN on globalising technology).
For Matnsaz itself, we would love for people to try the keyboard and send feedback. Comments, questions and requests mean a lot and really move the project forward.
The writer is a digital communication expert. He is the mastermind behind digital platforms Sukhan, Mani’s Cricket Myths and Over The Line