Sinhala Transliterator is a Java library for converting Sinhala script into Latin characters using predefined mapping rules. It transliterates the writing, not the meaning: සිංහල becomes siṁhala in the project’s documented example.
What Sinhala Transliterator does
The project describes a Java library that maps Sinhala script to Latin characters. In Irosh Perera’s words, “Transliteration represents text in another writing system. It does not translate the meaning into English.” In other words, the output represents how text is written; it is not an English translation of what the Sinhala text means.
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
Learn Sinhala for Beginners, My First 1000 Words: Bilingual Sinhala - English Language Learning Book... | $11.99 | Buy on Amazon |
As an Amazon Associate I earn from qualifying purchases.
The README says the library supports Sinhala vowels, consonants and diacritics, as well as special characters, digits and punctuation. It also says unsupported characters are ignored while input integrity is preserved. These are the project’s documented behavior claims, not independently verified results. Its example is:
Free tools Windows power users keep installed
One-click scans. No signup required.
සිංහල → siṁhala
See the Sinhala Transliterator repository for the project documentation.
#1 Best Overall
How to add it to a Java project
Check the current artifact coordinates and version before copying a dependency into your build. The repository’s README shows conflicting group IDs in its Maven and Gradle examples, while the reviewed Sonatype listing is for version 1.0.0 rather than the README’s 1.1.0. The available information therefore does not establish a single, independently confirmed current coordinate.
| Source | Published dependency detail | What to check |
|---|---|---|
| Repository README, Maven example | io.github.iroshperera:sinhala-transliterator:1.1.0 |
Confirm the artifact and version are currently available. |
| Repository README, Gradle example | com.webmotech:sinhala-transliterator:1.1.0 |
The group ID differs from the README’s Maven example. |
| Sonatype listing reviewed | io.github.iroshperera:sinhala-transliterator:1.0.0 |
The displayed POM is for 1.0.0, not 1.1.0. |
Check the Sonatype listing for version 1.0.0 and the repository’s current build instructions before adding the dependency. Its displayed POM sets Java source and target to 21 for that version; that alone does not establish the minimum runtime requirement for another release or the project overall.
What the documentation says—and what it does not establish
The repository identifies Apache License 2.0, but the Sonatype POM displayed for version 1.0.0 lists both Apache 2.0 and MIT entries. If the license affects your project’s use or distribution, inspect the current repository LICENSE file and the exact artifact’s metadata rather than relying on either listing alone.
The reviewed project and registry materials do not provide an independent accuracy evaluation, speed benchmark, or adoption figure. Treat the mapping behavior and character coverage as project claims, and test representative input from your own application before relying on specific output conventions.
Do not confuse this with Singlish conversion
This library’s stated direction is Sinhala script to Latin characters. It is not established as a tool for converting informal Latin-script Sinhala—often called Singlish or Romanized Sinhala—back into Sinhala script.
Those are distinct tasks. A 2024 study of the reverse direction discusses ambiguity in informal Latin-script input and reports that its Transformer approach captured more ad-hoc patterns than a rule-based baseline in that study. That finding does not evaluate this Java library or its Sinhala-to-Latin direction. The 2024 reverse-transliteration study is relevant context, not evidence of compatibility.
The Swa-bhasha Resource Hub paper, published as an arXiv preprint on July 12, 2025, catalogs Romanized Sinhala-to-Sinhala tools and data resources from 2020 to 2025. It likewise does not establish reverse-direction support in Sinhala Transliterator.
How it compares with other Java libraries
Other Java-accessible transliteration projects are not automatically substitutes. The reviewed documentation describes different language coverage, and it does not support a like-for-like accuracy or feature ranking.
| Library | What the reviewed source establishes | Fit for Sinhala-to-Latin |
|---|---|---|
| Sanscript.java | Focused on Sanskrit, with partial support for other languages; its README says Java 8 or higher and lists supported schemes. | Sinhala is not among the default Brahmic schemes shown in the reviewed README, so it is not established as a drop-in alternative. |
| Indic transliteration | Sonatype describes version 1.6 as a Scala/Java library for character-level processing and script/encoding transliteration for Sanskrit and other Indic languages. | The listing does not establish a specific Sinhala-to-Latin mapping; confirm the required capability before adopting it. |
If you are evaluating candidates for production, verify these points for each exact release:
Quick Recap
- Whether it supports Sinhala and the required conversion direction.
- Which romanization scheme it uses, including whether it emits diacritics such as the macron and dot in
siṁhala. - How it treats unsupported characters, punctuation, digits and mixed-script text.
- Java runtime compatibility and the health of the published dependency coordinates.
- License, maintenance activity and available tests.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




