Myanmar Zawgyi to Unicode Converter
Paste Burmese text and see whether it is Zawgyi or Unicode, then convert it either way, line by line for mixed text, with a CSV report and font preview.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste or open text
Paste Burmese text or open a .txt or subtitle file.
- 2Read the detector
Check the verdict, the evidence meter and the reasons list.
- 3Choose a direction
Detect each line, force Zawgyi to Unicode, or go back to Zawgyi.
- 4Check line by line
Open the table to see each line, its verdict and the output.
- 5Compare fonts
Use the preview to see the text in both kinds of font.
- 6Copy or download
Copy the result, save a TXT file or a CSV report.
About this tool
For more than a decade most Burmese text on phones and the web was written in Zawgyi, a font that reused Unicode code points for its own glyph shapes. Myanmar officially moved to Unicode in 2019, yet huge amounts of older posts, documents, subtitles and databases are still in Zawgyi. Text in the wrong encoding shows up as broken stacks and misplaced vowels, and it cannot be searched or sorted properly. This converter takes a text, works out which encoding it is in and converts it to Unicode or back to Zawgyi. The conversion uses the rule set of Rabbit, a widely used open-source converter released under the MIT licence; its ordered replacement rules are reproduced here unchanged and run entirely in your browser. Detection reads the text two ways. Read as Unicode, a Zawgyi text breaks Unicode spelling order, for example a vowel sign ေ sitting before its consonant or a virama with nothing after it. Read after conversion, a Unicode text breaks the same rules instead. The side with fewer errors wins, and the frequency of the two different asat characters settles short texts. The panel lists each piece of evidence, so you can see why it decided. Mixed files are common, so the Detect mode checks every line separately and converts only the Zawgyi lines. A line-by-line table, a CSV report and a font preview help you check the result before you publish it.
Zawgyi and Unicode in short
| | Zawgyi | Unicode | |---|---|---| | Vowel sign ေ | stored before the consonant | stored after the consonant | | Medial ra (ya-yit) | U+103B, before the consonant | U+103C, after the consonant | | Asat (killer) | U+1039 | U+103A | | Stacked letters | separate glyph codes U+1060-U+1097 | virama U+1039 plus the letter | | Fonts | Zawgyi-One | Pyidaungsu, Myanmar Text, Noto Sans Myanmar, Padauk |
The direction menu has three choices. Detect converts only the lines that look like Zawgyi, which is safe for a file that is already partly converted. Zawgyi to Unicode and Unicode to Zawgyi force a conversion of the whole text whatever the detector says, which is useful for a single word or a very short line where the evidence is thin. Use result as input lets you run a second pass or reverse the direction to compare.
Worked example
The Zawgyi greeting မဂၤလာပါ (Mingalaba) converts to the Unicode မင်္ဂလာပါ, where the stacked ga is written as င, ် and ္ followed by ဂ instead of one Zawgyi glyph. The line Rabbit ကြန္ဗက္တာကို သိလား becomes Rabbit ကွန်ဗက်တာကို သိလား, and both outputs match the test strings published with the Rabbit project. In the four-line sample, the detector marks three lines as Zawgyi and one as Unicode, and converts only those three.
Limits
Detection is a rule-based heuristic, not the statistical model that Google's myanmar-tools uses, so a very short line spelt the same in both encodings is reported as not sure. Converted text is not proofread, and rare spellings, Pali stacks and Shan or Mon letters may need a manual check. This page does not install fonts; the Zawgyi preview needs Zawgyi-One on your device.
Worked example
မဂၤလာပါ in Zawgyi becomes မင်္ဂလာပါ in Unicode, and ကြန္ဗက္တာ becomes ကွန်ဗက်တာ.
Quick facts
- Category: Text & Writing
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Rabbit converter rules (Rabbit-Converter, MIT licence) and the Unicode Myanmar block
Frequently asked questions
How do I know if my Burmese text is Zawgyi or Unicode?
Paste it in and read the Detected box and the evidence meter. The panel below lists the patterns it found, such as a vowel sign before its consonant. If the text looks broken on a modern phone with a Unicode font, it is very likely Zawgyi.
Which converter rules does this use?
It uses the conversion rules of Rabbit, an open-source Zawgyi and Unicode converter published under the MIT licence. The rules are applied in the same order as the original, and the results match the project's own test strings.
Can it convert a file that mixes both encodings?
Yes. Choose Detect each line, then to Unicode, and every line is checked on its own. Only lines that look like Zawgyi are converted, and the line-by-line table and CSV report show what happened to each one.
Can I convert Unicode back to Zawgyi?
Choose Unicode to Zawgyi in the direction menu. This is handy for older apps, signs or printers that still expect Zawgyi, but use Unicode for anything new because it is the national standard and searches correctly.
Why does the Zawgyi preview look wrong?
The Zawgyi box uses the Zawgyi-One font, which this page does not download. If it is not installed, your browser falls back to a Unicode font and Zawgyi text looks scrambled there, which is expected.
Is my text uploaded?
No. Detection and conversion run in your browser, and text files you open stay on your device. Your last text and settings are saved in this browser so you can come back to them.
