How to Type Thai Online with the Kedmanee Layout and Tone Marks
Type Thai in the browser on any keyboard, learn where tone marks and vowels go, find letters by sound and class, and fix text typed on the wrong layout.

Thai has 44 consonants, dozens of vowel forms and four tone marks, all fitted onto an ordinary keyboard. That makes the Thai layout look crowded at first, but it follows clear rules. The Thai Online Keyboard lets you type Thai on any computer without changing a setting, and adds a helper that finds letters by sound for learners.
The Kedmanee layout
Nearly every Thai keyboard uses the Kedmanee layout, standardised as TIS 820-2538. The common letters are on the plain layer, the less common ones on the Shift layer. The page reads the position of each key you press, so even on a computer set to English, the D key gives ก, the K key gives า and the F key gives ด.
The on-screen keyboard shows the layout with the Latin key in each corner. Press the on-screen Shift to see the second layer, which holds rarer consonants, some vowels, three of the tone marks and the Thai digits.
Typing in writing order
The most important thing to understand is that Thai text is stored in the order it is written, which is not always the order it is spoken. Some vowels are written to the left of their consonant: เ, แ, โ, ใ and ไ. Even though you say the consonant first, you type the vowel first. The syllable เก, ke, is typed เ then ก.
After the consonant come the vowel marks written above or below it, and then the tone mark, which sits on top. So the order for a syllable is: leading vowel if any, consonant, vowels above or below, tone mark, then any final consonant or trailing vowel. Typing in this order produces correct Unicode that searches, sorts and displays properly everywhere.
Tone marks
The four tone marks are on easy keys: H gives ้ mai tho and J gives ่ mai ek on the plain layer, while Shift with U gives ๊ mai tri and Shift with J gives ๋ mai chattawa. The extra keys row under the keyboard inserts them with a tap, along with the silencing mark ์, the repetition sign ๆ, the abbreviation sign ฯ, the baht sign and the Thai digits.
Finding a letter by sound
For learners, the phonetic helper is the most useful part of the page. Type a sound into its search box, for example kh, s or ch, and every consonant that makes that sound appears, with its class and its traditional name, such as ข kho khai or ค kho khwai. Tap one to insert it. Vowels are listed too, with ◌ standing for the consonant so you can see where the vowel goes.
Why are there so many letters for one sound? Thai borrowed letters from Sanskrit and Pali that no longer sound different, but they still matter, because each consonant belongs to a class: mid, high or low. The class, the tone mark and the type of syllable decide the tone. A table on the page shows the tone each mark gives for each class in a live syllable, which covers most everyday words.
Fixing text typed with the wrong layout
If you type Thai with the English layout switched on, you get strings like l;ylfu. Paste them into the fixer and the page turns them into the Thai you meant, สวัสดี, by swapping each key for the Thai letter in the same position. It also works backwards, which is a neat way to find out which keys spell a word.
Fonts and saving
Thai uses your system font by default. If the tone marks look crowded or misplaced, press the Noto Sans Thai button: a clear font downloads for this visit and is also used in the PNG image.
Copy the text for any app; it is standard Unicode Thai. You can download TXT or a picture, print, or keep texts in the Saved texts list. Everything is stored only in your browser.
Learning tip
Thai children learn the consonants in a fixed order with a word for each: ก is ko kai, chicken, and ข is kho khai, egg. The helper lists them in that order with their names. Saying the name while you tap the letter is a quick way to remember both the sound and the shape.


&c=%23c2410c&k=education)
