Text file encoding converter
Some accounting software, government systems and older printers only take Thai in the old encoding (TIS-620), while the web and phones use UTF-8. Convert text files either way here, in your browser; the file is not sent anywhere.
Getting the tool ready…This tool needs JavaScript. If you still see this after a few seconds, JavaScript is switched off in your browser or the page did not load completely: turn JavaScript on or reload the page.
How to use it
- Choose a text file. The source encoding is guessed and the first lines are shown; if they look wrong, pick the source encoding yourself.
- Pick what to convert to: TIS-620 for older programs that only take old Thai, UTF-8 for the web, phones and today's programs.
- Press "Convert and save" to get the file, same name, in the new encoding.
Good to know
- TIS-620 holds only Thai, English, digits and basic signs (with the curly quotes and … of Windows-874). Emoji, Chinese, Japanese or other scripts cannot be stored: the tool says which characters and on which line, and lets you write ? instead or cancel.
- UTF-16 saved here always has a BOM, the way Windows calls "Unicode".
- The content and line breaks stay the same; only the way letters are stored changes.
- Files up to 100 MB, text files only (not Word, Excel .xlsx or PDF).
- If the file is already garbled, use fix garbled Thai text, which shows more choices.
Your files stay on your device
Everything runs in your browser. The file you open is not sent to freesabai's server or anyone else's, and nothing is kept in the browser: close the page and it is gone. The site only counts that this page was opened and how many times a result was saved (never the file name or content; you can turn counting off at the bottom of the site, see the privacy policy).
Report a problem or suggest an idea
Need another encoding, or found a file that converts wrong? Tell us on the feedback page; no sign-up needed.
Other file converters
Thai text files
Subtitles
ZIP files
Questions and answers
How to convert a UTF-8 file to TIS-620?
Choose the file, set the target to TIS-620 and save. If the text has characters TIS-620 does not have, such as emoji or Chinese, the tool lists them and asks whether to write ? instead or cancel.
Is TIS-620 the same as Windows-874?
The Thai letters are identical. Windows-874 adds a few marks such as curly quotes, dashes and the euro sign; this tool reads and writes those too.
What is a BOM and do I need it?
A BOM is three bytes at the start that say the file is UTF-8. Excel and older Notepad need it to read Thai, but some programs and scripts dislike it. If unsure, leave it out.
Rate this tool
Tap the stars, then add a word if you like
Thank you! Your rating helps make the tool better
No sign-up. No name or e-mail is kept; a comment is kept for 3 months · Details