How to Convert Unicode to Preeti
Each converter works the same way: type or paste on the left, copy from the right. This guide covers how to convert Unicode to Preeti, change Preeti back to Unicode, and type Nepali in Roman letters, plus the parts that catch people out.
Unicode to Preeti
Paste your Nepali Unicode text into the left pane. The right pane fills in as you type. Copy the result, paste it into your document, select what you pasted, and set the font to Preeti.
The order matters: paste first, then apply the font. Applying Preeti to an empty selection and then pasting can produce different results depending on the application.
Roman to Nepali
Type Nepali words in English letters and Devanagari appears as you go. Aspirated consonants take a following h, so kha gives ख andchha gives छ. Retroflex consonants use capitals:T for ट, D for ड. Long vowels double up, soee gives ी.
The Roman to Nepali page has the full table of spelling conventions.
Preeti back to Unicode
Old documents run the other way. Copy the Preeti text from your document and paste it into the right pane of theUnicode to Preeti converter on the homepage, and the Unicode Nepali appears in the left pane. ThePreeti to Unicode converter page runs the same job with the panes the right way round, Preeti on the left and Unicode on the right, which is easier for a whole document.
Once the text is Unicode, it works anywhere: search, email, Google Docs, Facebook. Keep the Unicode copy as your master. If the document mixes English and Nepali, convert only the Nepali parts. English words pasted into a Preeti pane come back as Nepali letters, so pull them out first and add them back after.
Kantipur in both directions
Kantipur is a different legacy font with its own mapping, so it has its own pages. Use the Unicode to Kantipur converter for Unicode in and Kantipur out, and theKantipur to Unicode converterfor the reverse. A Preeti converter fed Kantipur text silently mistranslates the bytes where the two mappings differ, so picking the right page matters.
If you cannot tell which font a document uses, paste it into both reverse converters and compare. The byte sF gives का in Kantipur and कँ in Preeti, and X gives हृ in Kantipur and ह् in Preeti. Whichever reading makes sense is the right font. Kantipur is labelled Beta because %, =, ;, : and °, plus the nukta, have no Kantipur glyph and pass through unchanged. Check those marks by hand in both directions.
Fixing the usual failures
The converted text still looks like English letters. Three causes, in order. The Preeti font is not installed on that computer, so install it from the Preeti font download page and restart the application. The font is installed but the text is not set to it, so select the pasted text and choose Preeti from the font menu. Or the text was Unicode pasted into a Preeti document, so convert it first and then set the font.
One word converts wrong while the rest is fine. Usually a substituted character in the source, or a Preeti variant that remaps a key. Both panes stay editable, so fix the word in place and the other pane follows. If the same word fails every time, send it through the feedback form and it can be added to the checks.
Digits or English words came back as Nepali letters. The converter treats every letter as a Preeti keystroke, so it cannot tell English from Nepali on its own. Convert the Nepali passages separately and add the English back after. The same applies to email addresses, web addresses and phone numbers.
Working with long documents
For a long document, upload it as a .txt file instead of copy-paste: the Upload .txt button sits under the panes, and Download .txt saves the converted result. Word files need their text copied out first, since .docx upload is not supported. Work a few pages at a time and check each result as you go, rather than converting fifty pages and hunting for mistakes at the end.
Keep a Unicode master copy of anything you convert. Unicode survives being emailed, searched and opened on any computer, while Preeti needs the font on every machine that opens it. If a document has to stay in Preeti for printing, convert from the Unicode master each time instead of editing the Preeti copy.
Getting the Preeti font
Preeti is a third-party font, not something bundled with Windows or macOS, so it has to be installed before Preeti text will display. On Windows, right-click the font file and choose Install. On macOS, double-click it and confirm in Font Book. Applications already open need restarting before they see a newly installed font.
If you are choosing between the two encodings for new work, prefer Unicode. It needs no font, it survives being emailed, and it can be searched.
Cleanup tools
Below the text panes sits a row of Cleanup buttons. Each one is an on/off switch that tidies the Preeti output as you type:
- Remove tabs: turns every tab into a single space.
- Space before । ?: adds one space before ।, ॥, ? and !. Off by default, so the raw conversion keeps whatever spacing your original passage had; switching it off again removes the space.
- Space math: on by default. Spaces out math written between numbers, so
5×1=5becomes5 × 1 = 5. Switch it off to compact it back to5×1=5. - Single spaces: collapses every run of spaces into one. Line breaks are kept.
Hover any button to see a short reminder of what it does.
Common questions
- Why does the Preeti output look like English letters?
- Because that is what Preeti text is. The font maps Nepali shapes onto English codepoints. Paste the text into your document, select it, and set the font to Preeti. The shapes appear then. If they do not, Preeti is not installed on that computer.
- Is my text sent anywhere?
- No. Both converters run in your browser using tables built into the page. Nothing is uploaded, and the tools keep working if you go offline after the page loads.
- Will this work with Kantipur or other old Nepali fonts?
- Kantipur has its own converter page: use the Unicode to Kantipur converter, which uses a dedicated Kantipur mapping. Sagarmatha, PCS Nepali and similar fonts each use their own mapping, and text typed in those fonts needs a converter built for that specific mapping.
- Is there a length limit?
- No. Conversion happens locally, so the only real limit is your device. Very long documents are best converted a few pages at a time so you can check the result as you go.
- Why did one word convert incorrectly?
- Usually a substituted character in the source, or a Preeti variant that remaps a key. Both panes are editable and re-convert as you type, so you can correct it in place.
- What do the Cleanup buttons do?
- They tidy the Preeti output with one tap. Remove tabs turns tabs into single spaces. Space before । ? adds a space before ।, ?, and !, off by default, so the raw conversion keeps your original spacing. Space math spaces out math between numbers (5×1=5 becomes 5 × 1 = 5); switching it off compacts it again. Single spaces collapses repeated spaces while keeping line breaks.