How to use this tool: Text encodings
Recover readable text from a legacy file by selecting its original encoding. Conversion stops when the output encoding cannot represent a character.
Steps
Choose a text file and its original encoding, then select the encoding for output. Check that the preview is readable.
Example
Windows-1251 → UTF-8UTF-16LE → UTF-8What to check
If the preview shows garbled characters, check the source encoding instead of only setting UTF-8 as the output. Verify a few lines after converting.
Common tasks and examples
Start with a small sample. Compare the structure before and after a format conversion, or check that only the intended characters changed in a text operation.
KOI8-R → UTF-8Shift_JIS → UTF-8UTF-8 → UTF-16LE
Task reference
- Windows-1251 → UTF-8
- Settings: Encoding: Windows-1251 · To: UTF-8 · What to expect: TXT · UTF-8
- Shift_JIS → UTF-8
- Settings: Encoding: Shift_JIS · To: UTF-8 · What to expect: TXT · UTF-8
- GB18030 → UTF-8
- Settings: Encoding: GB18030 · To: UTF-8 · What to expect: TXT · UTF-8
- UTF-8 → UTF-16LE
- Settings: Encoding: UTF-8 · To: UTF-16LE · What to expect: TXT · UTF-16LE
- UTF-8 → Windows-1251
- Settings: Encoding: UTF-8 · To: Windows-1251 · What to expect: TXT · Windows-1251