Fix a Thai file that shows as garbage
Thai text turned into "สวัส", "ÊÇÑÊ´Õ" or "���"? Put the file here. The tool reads it every way Thai files are usually written, lets you pick the readable one and saves a file that opens anywhere (UTF-8). It runs 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 the file whose Thai is garbled, or paste the garbled text into the box.
- Look at the samples. The likely one is picked already; if it is still unreadable, pick another.
- Press "Save as UTF-8" for a file with the same name that opens on Windows, Mac, phones and the web.
Where each kind of garbage comes from
- "สวัส": a normal (UTF-8) file opened as a Western language. Fixable.
- "ÊÇÑÊ´Õ": an old-style Thai (TIS-620) file opened as a Western language. Fixable.
- "เธชเธงเธฑ": a normal (UTF-8) file opened as old-style Thai. Fixable.
- "���": if another program shows this but the file was not saved over, it is a TIS-620 file this tool reads. If it was saved over, the letters are really gone and cannot be brought back.
Good to know
- The tool guesses from the content: it counts Thai letters in a valid order (vowels and tone marks after a consonant) and takes points off for � and odd characters. A very short file, or one with little Thai, may be guessed wrong, so you see samples and can pick.
- It knows UTF-8, UTF-16 (with a BOM or recognisable as such), TIS-620/Windows-874 and the three kinds of garbage above. It does not know the encodings of other languages such as Chinese or Japanese.
- The saved file has exactly the same text; only the way the letters are stored changes. Line endings stay as they were.
- Files up to 100 MB. The result box shows the beginning only; the saved file has everything.
- For text files only: Word, Excel (.xlsx) and PDF files are not text files.
Your files stay on your device
Everything runs in your browser. The files and text you open or paste are 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 or copied (never the file name or content, and you can turn counting off at the bottom of the site; see the privacy policy).
Report a problem or suggest an idea
Found a file this tool cannot fix, or want it to do more? Tell us on the feedback page; no sign-up needed (do not attach files with personal data).
Other file converters
Thai text files
Subtitles
ZIP and TAR archives
- Unzip with Thai file namesZIPs from Thai Windows whose names show as garbage: extract or re-zip readable
- Extract ZIP filesOpen a ZIP, browse its folders, save files or extract to a folder, password ZIPs too
- Create a ZIP filePut files or a whole folder in a ZIP, with an AES-256 password if you like
- Open TAR, TAR.GZ, TGZ and GZOpen .tar.gz, .tgz, .tar or .gz files: save each file or all as a ZIP
- Create a TAR.GZ filePack files or a folder into .tar.gz or .tar, or gzip one file to .gz
File encryption
KDP books
Images
- SVG to PNG, JPG, WebPSVG to PNG at any size, transparent or coloured background, many files at once
- Image to SVG (vectorize)PNG or JPG to an SVG that scales without blur: logos, line art, flat cartoons
- Favicon and ICO generatorA favicon.ico with several sizes, and the full icon set with the code
- GIF to framesSplit a GIF into PNG frames with their delays, one by one or as a ZIP
- GIF maker from imagesMake an animated GIF from pictures: order, delays, size and loops
- BMP and TIFF converterTIFF to JPG or PNG, BMP to PNG, and pictures to BMP or TIFF
Excel and Word files
- Excel to CSV / JSONOpen an xlsx, pick a sheet, get a CSV that keeps Thai intact or JSON; every sheet in one ZIP
- CSV / JSON to ExcelA real xlsx: leading zeros and Thai kept, several files as several sheets
- Word to text / HTMLOpen a docx, get plain text, HTML or Markdown with headings, lists, tables, links and pictures
HTML, Markdown, JSON and XML
- HTML / Word / Google Docs to MarkdownPaste from Word, Google Docs or a web page and get Markdown with tables and lists
- Markdown to HTMLA .md file as a readable .html page or just the content
- JSON to XMLSet the root name; @name keys become attributes; Thai keys work
- XML to JSONRSS, sitemaps or exports to JSON, with the line of any mistake
Contacts and calendars
Audio
Video
Questions and answers
How to fix a Thai txt file that shows unreadable characters?
Open the file here. It is read several ways (UTF-8, TIS-620, UTF-16 and double-garbled forms) and the readable one is picked first; choose another if needed, then save as UTF-8.
Thai text turned into สวัส, can it be converted back?
Yes. That is UTF-8 read as a Western encoding. Paste the text or open the file, and the reading UTF-8 read as Western gives the Thai back.
Thai turned into ���, can it be recovered?
If the file was saved while it showed ���, the Thai is really gone and cannot be recovered: you need the original file. If it was only opened wrongly, open the original here and pick TIS-620.
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