freesabai

File converters

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

  1. Choose a text file. The source encoding is guessed and the first lines are shown; if they look wrong, pick the source encoding yourself.
  2. 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.
  3. Press "Convert and save" to get the file, same name, in the new encoding.

Good to know

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

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.