# FM Abhaya to Unicode Converter - Fix Sinhala Text from Old FM Fonts

Page: https://hirantha.me/tools/sinhala-unicode-converter
Part of: Hirantha Sandaruwan Lakshan free tools (https://hirantha.me/tools)
Updated: 2026-10-28

Turn Sinhala typed in FM Abhaya or another FM font, which shows as letters like Y%S ,xld, into Unicode Sinhala that works everywhere.

This is a free tool that runs in the browser: open the page to use it. File tools process files on the visitor's own device; files are never uploaded or stored. No account, sign-up, payment or watermark.

Paste Sinhala that was typed in FM Abhaya, FM Malithi or another FM font and appears as English letters and symbols, and get Unicode Sinhala you can paste into Word, email, Facebook or a website. Y%S ,xld becomes ශ්‍රී ලංකා. It handles the kombuva, rakaransaya, yansaya and the joined letters of the FM fonts. Nothing you paste leaves your browser.

FM fonts are not real Sinhala fonts in the Unicode sense. They draw Sinhala shapes over the codes of ordinary English letters and symbols, so ශ්‍රී ලංකා is stored as Y%S ,xld. With the font installed it looks right; without it, or when the text is copied into a phone, an email or a search box, it turns back into letters.

The converter maps each FM code to its Sinhala letter or sign, then puts each syllable into the order Unicode stores it. FM text is typed in the order the shapes appear: the kombuva (ෙ) comes before its consonant, so fmdf;a has to become පොතේ, and a vowel sign can be typed before the rakaransaya, as in ;s% for ත්‍රි. Joined shapes such as ú (වි), § (දී) and ÷ (ඳු) are split back into letters.

The character map was checked against a published FM converter's table, and against Government Gazette pages whose FM text and printed Sinhala are both available. A full comparison over 1,480 letter and sign combinations found no difference in letters except where the other converter misses a rule or has a mistake.

Every Latin letter is a Sinhala letter in an FM font, so English words in the same text come out as Sinhala characters: convert the Sinhala parts on their own. DL, Kaputa and other legacy fonts use different layouts and are not covered. Proof-read names and numbers after converting.

Q: How do I convert FM Abhaya to Unicode?
A: Copy the text out of the document (it will look like English letters and symbols, for example Y%S ,xld), paste it into the box, and copy the Unicode Sinhala from the result. Y%S ,xld becomes ශ්‍රී ලංකා.

Q: Why does my Sinhala text turn into English letters?
A: Because it was typed in an FM font, which stores Sinhala shapes on the codes of English letters. Without that font, or after copying, you see the letters themselves. Unicode Sinhala does not have this problem.

Q: Does it work for FM Malithi and other FM fonts?
A: Yes, for fonts that use the FM layout, such as FM Abhaya and FM Malithi. DL fonts, Kaputa and other legacy fonts use different layouts and are not covered.

Q: Why did English words in my text change too?
A: In an FM font every Latin letter is a Sinhala letter, so the converter cannot tell English words apart. Convert the Sinhala parts on their own and keep the English as it is.

Q: Is my text uploaded?
A: No. The conversion runs in your browser, so the text you paste is not sent anywhere or stored.

Sources: Unicode Standard: Sinhala (U+0D80 to U+0DFF), the encoding the result uses, checked 2026-10-28 (https://www.unicode.org/charts/PDF/U0D80.pdf); Gazette Extraordinary No. 2054/9 of 15 January 2018 (FM text layer and printed Sinhala used as a test), checked 2026-10-28 (https://www.cmta.lk/downloads/2054-09_E.pdf)

Related tools:

- [Singlish to Sinhala converter](https://hirantha.me/tools/singlish-to-sinhala.md): Type Sinhala with English letters. A documented, predictable Singlish to Sinhala Unicode converter with a typing guide and a copy button.
- [Word & character counter](https://hirantha.me/tools/word-counter.md): Live word, character, sentence, and reading-time counts as you type.
- [Find and replace text](https://hirantha.me/tools/find-and-replace-text.md): Find and replace in pasted text with plain or regular expression matching, whole word and case options, several rules in order, a live match count and undo.
- [Remove line breaks and extra spaces](https://hirantha.me/tools/remove-line-breaks.md): Join lines into one: replace line breaks with a space, comma or your own text, collapse extra spaces, keep paragraphs, and rejoin words split by hyphens in PDF text.
- [Case converter](https://hirantha.me/tools/case-converter.md): Convert text to uppercase, lowercase, title case, or camelCase.
