esc
Font converters

Kantipur to Unicode:
Nepali font converter

Paste Nepali typed in the Kantipur font and copy back Unicode Nepali that reads correctly on any phone, website or form.

More tools for Nepal Other countries

How to use Kantipur to Unicode

  1. 01Copy the Kantipur textFrom Word, PageMaker output or an old web page.
  2. 02Paste it on the leftUnicode Nepali appears on the right.
  3. 03Copy or downloadSet a Unicode font such as Kalimati, Mangal or Noto Sans Devanagari.
File character signing a page with a big pen

“g]kfn ;/sf/” becomes “नेपाल सरकार”.

Kantipur is an older Nepali font that draws Devanagari over English keyboard characters, so without the font you only see letters like “g]kfn”. It shares Preeti’s typewriter layout for most keys but puts a few marks elsewhere: the aa sign also sits on F and the chandrabindu on a curly quote. The converter reads those Kantipur keys and turns everything into real Nepali letters.

Before Unicode, a lot of Nepali was typed in fonts like Preeti and Kantipur: school lessons, office letters, notices and reports. Those files still turn up, and they only read correctly where the font is installed. Pasted into Facebook, an email or a government form, they become lines like “g]kfn ;/sf/”. This page converts Kantipur text to Unicode Nepali, so it reads the same everywhere and search engines can index it.

How Kantipur differs from Preeti

Kantipur and Preeti were both made for the Nepali typewriter layout, so s is क, g is न, f is the aa sign and l is the short i sign typed before its letter. Most Kantipur text would convert almost right with a Preeti converter, and that is the trap: the few keys that differ change the meaning quietly.

In Kantipur, F draws a second aa sign, so “sF” is का. In Preeti, F is the chandrabindu, and the same text would come out as कँ. Kantipur keeps the chandrabindu on the curly quote “ instead, as in “bfo“Fkl6\6”, दायाँपट्टि. Several extended keys also hold different shapes, such as Î, which draws the half फ् in Kantipur but ङ्ख in Preeti.

Words to test with

  • “g]kfn ;/sf/” → नेपाल सरकार
  • “sflGtk'/” → कान्तिपुर
  • “ljBfyL{” → विद्यार्थी
  • “dxŒj” → महत्त्व
  • “k|lS|mof” → प्रक्रिया
  • “zAbx¿df” → शब्दहरूमा

Why some letters are moved

The font stores shapes in the order they are drawn. The short i sign (l) is typed before its consonant cluster, and the reph ({), the small र् drawn on top, is typed after the syllable. Unicode wants the opposite: र् first, then the cluster, then ि. So “ljBfyL{” is read as वि, द्या, then र्थी, and comes out as विद्यार्थी.

Kantipur also builds some letters from two keys. The m key adds a hook, so “km” is फ and “k|lS|mof” is प्रक्रिया. Typists sometimes pressed a mark key twice; a doubled mark is drawn once, so it is read once.

Converting a Word or PDF file

Convert only the Nepali parts. English typed in a normal font next to it would be read as Kantipur keys too.

  1. Open the file on a computer that has the Kantipur font, so you can check the text is complete.
  2. Copy a page or a section and paste it here.
  3. Paste the result back and change the font to a Unicode Nepali font such as Kalimati, Mangal, Nirmala UI or Noto Sans Devanagari.
  4. For a PDF, copy the text out first. If what you copy is already Nepali letters, it is Unicode and needs no converting.

Where the tables come from

The Kantipur differences come from kantipurToUnicode, written for OLE Nepal’s E-Paath lessons (MIT licence), and from the NepaliBhasha converter (MIT licence). Where they disagreed, the shape in the Kantipur font itself decided. The rest runs through the same engine as our Preeti converter. The page is tested on the more than 200 Kantipur words and lines that ship with kantipurToUnicode.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

Is Kantipur the same as Preeti?

Almost. Both fonts use the same typewriter layout for the letter keys, so most text converts the same way. The difference is in a few keys: in Kantipur, F draws the aa sign (ा) and the chandrabindu (ँ) is on the curly quote “, while Preeti puts the chandrabindu on F. Text typed in Kantipur but converted as Preeti gets stray chandrabindus, which is why this page exists.

What does कान्तिपुर फन्ट युनिकोड mean here?

It is how people search for this page in Nepali: Kantipur font to Unicode. Paste the Kantipur text and copy the Unicode result.

Why does my old file show English letters?

Kantipur stores Nepali as ordinary keyboard characters and relies on the font to draw them. Anywhere the font isn’t installed, you see the characters themselves. After converting, the text holds real Devanagari letters.

Is my text uploaded?

No. The conversion runs in your browser and nothing leaves your device.

Can I convert Unicode back to Kantipur?

Not on this page yet. Going back needs a choice of glyph for every conjunct, and we only publish a direction once it is checked against real files. If a Preeti file will do, Unicode to Preeti has its own page.

Should I use this or the Preeti converter?

If the text looks right in Kantipur, use this page. If it was typed in Preeti, use the Preeti converter. When unsure, look for stray chandrabindus (ँ) in the Preeti result: that usually means the text was Kantipur.

Some letters came out wrong. Why?

Usually the text was typed in another font such as Sagarmatha, Himali or PCS Nepali, which use other layouts. Characters the converter doesn’t know are kept as they were, so you can spot them.