ShuddhaType ShuddhaType
Guides · Last reviewed 2026-11-29 · By ShuddhaType

Preeti to Unicode: The Complete Migration Guide

Older Nepali documents are often stored in Preeti font encoding rather than real Devanagari text. That means the words look right only while the Preeti font is installed, and they break as soon as they are copied into a website, a phone, or a modern office suite. This guide shows how to move that text to clean Unicode without losing words, links, or meaning.

What Preeti vs Unicode actually means

Preeti is a font encoding: each English key produces a glyph through a custom font table, so the underlying characters are not Nepali letters at all. Unicode stores the actual Devanagari code points for अ, क, ष and so on. Unicode text survives copy-paste, search, spell checking, fonts changes, and every modern device.

Why old Word and PDF files show garbled Nepali

If you open a legacy file without the Preeti font, Latin characters appear where Nepali words should be. The same thing happens when text is copied into a web form: the receiving page applies its own font, and the Preeti mapping disappears. Converting the file to Unicode once fixes it everywhere.

When you should migrate

Migrate before sending a document to someone outside your office, publishing it online, submitting it to a government portal that expects Unicode, or archiving it. Keep the original Preeti file as a backup until you have verified the converted copy.

Convert Preeti to Unicode in three steps

  1. Paste the legacy text. Select the Preeti-encoded text in Word or your PDF viewer and paste it into the converter below. Do not retype it — retyping introduces new errors.
  2. Keep protection options on. Leave Preserve English & URLs and Auto-sanitize enabled so Latin tokens and damaged glyphs are handled automatically.
  3. Copy the clean Unicode. Copy the right-hand output and paste it into your document, then set the font to a Unicode Devanagari font.

Preeti Font (Input)

5 characters

Nepali Unicode UTF-8 (Output)

5 characters

Fixing broken Preeti from PDFs and scanned Word files

PDF extraction is the most common source of damaged Preeti text. Copying from a PDF can insert line breaks inside words, convert straight quotes into curly ones, and drop characters at column boundaries. The auto-sanitize pass in ShuddhaType repairs stray smart quotes and common copied glyph glitches before conversion, which prevents half-formed conjuncts in the output.

A useful test: paste a short, familiar sentence first — for example a line you know contains नेपाल — and check that it converts correctly before processing the whole document. If the sample fails, the source text is too damaged and needs manual cleanup rather than a bulk pass.

What the converter protects

A naive Preeti conversion turns everything into Devanagari, including things that must stay in English. ShuddhaType keeps the following untouched when protection is enabled:

  • Website links such as https://nepal.gov.np
  • Email addresses and @mentions
  • Decimals, versions, and dates: 3.14, 2026-11-29
  • ALL-CAPS acronyms such as API, PDF, and URL
  • Nepali abbreviation periods: रु., पृ., क्र.

The converter also keeps purna biram (।) distinct from a decimal point, so sentence endings do not collapse into English periods.

Moving a whole document

Work paragraph by paragraph for long files. Convert a section, paste it into the same position in your document as plain text, and set the font for that section to Noto Sans Devanagari or Mukta. Avoid pasting through chat applications, which may re-encode text. Save the result as .docx and reopen it once to confirm the characters persist.

After conversion, run the text through the Nepali spell checker to catch vowel-length and spacing mistakes that were invisible while the text was in Preeti encoding.

Choosing a Unicode Devanagari font

Unicode text is font-independent, but it still needs a font that contains Devanagari glyphs. Noto Sans Devanagari and Mukta are good free choices and render consistently on Windows, macOS, Android, and iOS. Avoid setting the converted paragraph to the old Preeti font — that re-applies the legacy mapping and makes correct Unicode characters look wrong again.

If a document mixes Nepali and English, apply the Devanagari font only to the Nepali runs. Most word processors allow a fallback font for scripts they do not cover, so one font setting can often handle both. This is the main reason a converted file that looks correct on your computer may look broken on someone else's: their machine is missing the font, not the characters.

Verify the result before you save

Do three quick checks before treating the migration as finished. First, search the converted document for a word you know was in the original — if the search finds it, the characters are real text rather than pictures or font-mapped glyphs. Second, copy a sentence into a plain-text editor; if the Nepali survives, the encoding is correct. Third, read a short passage aloud to catch vowel-length mistakes that survived the conversion.

For important documents, keep both files: the original Preeti version as an archive and the Unicode version as the working copy. That way, if a conversion decision turns out to be wrong, you can redo just that paragraph instead of rebuilding the whole document.

Common mistakes and how to avoid them

  • Wrong font after conversion: the text is fine; change the font of the pasted paragraph to a Unicode Devanagari font.
  • Converting twice: converting already-Unicode text can produce meaningless output. Only paste legacy Preeti text into the left side.
  • Losing links: turn Preserve English & URLs back on if you disabled it for a test.
  • Skipping verification: search the converted document for one word you know was present before saving.

When you still need Unicode → Preeti

Some legacy office templates and government forms still require Preeti-encoded text. For those cases, use the Unicode to Preeti converter instead. It performs the reverse mapping while keeping English links and abbreviation periods intact. If you regularly write Nepali inside Microsoft Word, the Windows typing guide explains how to avoid switching fonts at all.

Frequently asked questions

Quick answers about conversion accuracy, broken files, and where this fits with the reverse direction.

Is Preeti to Unicode conversion lossless?
For ordinary text, yes: each Preeti key maps to a Devanagari code point, so the words and punctuation survive. What sometimes gets lost is formatting and characters that were never valid Preeti to begin with — smart quotes pasted from a PDF, stray half-formed glyphs, or English text that was accidentally encoded with a Preeti font. The sanitizer repairs those before conversion, and Preserve English & URLs keeps Latin text intact.
Why does my converted text still look wrong in Microsoft Word?
The text is probably correct Unicode, but Word is still displaying it with the old Preeti font. Select the converted paragraph and set the font to a Unicode Devanagari font such as Noto Sans Devanagari or Mukta. If individual words still look wrong, they were corrupted in the source document and need the auto-sanitize pass before conversion.
Can I convert Preeti text copied out of a PDF?
Yes, with caveats. Copy the text into the converter and leave auto-sanitize on. PDFs often insert line breaks inside words and replace quotation marks with look-alike glyphs; the sanitizer cleans common cases, but heavily damaged scans may need manual cleanup. Always compare the output against the original before using it in an official document.
Does the converter preserve website links and email addresses?
Yes. Leave Preserve English & URLs enabled and addresses such as https://nepal.gov.np, support@example.com, decimals like 3.14, dates like 2026-11-29, and ALL-CAPS acronyms stay in English instead of turning into garbled Preeti characters.
Does this work on a phone?
Yes. The converter runs entirely in the browser, so it works on Android and iPhone without installing anything. Paste the legacy text, copy the Unicode output, and use it wherever you need it.
How is this different from Unicode to Preeti?
This guide covers the forward direction: legacy font text into modern Unicode. If a legacy office template requires Preeti output, use the dedicated Unicode to Preeti converter instead. Both directions protect English tokens and Nepali abbreviation periods.

Start with one paragraph

Paste a short sample into the converter above and check the output before migrating a full document. If you find a word that converts incorrectly, send it to us with the Roman input and expected Nepali word — language data improves with real reports.