Text Encoding Detector

Guess the character encoding of a text file and show its BOM.

Text Encoding Detector

.txt · .csv · .srt

Runs in your browser — your file is not uploaded

What it does

Guesses the character encoding of a text file, such as UTF-8 or Windows-1252, and shows whether it has a BOM. Useful when accented letters show up as strange symbols. Knowing the encoding lets you open or convert the file correctly.

About the .txt format

.TXT file extension
File Type
Plain Text File
Category
Text Files
MIME
text/plain

The TXT file extension is a common file format that is used for storing text data.

Also works with

Text Encoding Detector questions

How do I use the Text Encoding Detector?

Drop the file on the box or choose it from your device, set the options and download the result.

Which files can I use?

.txt, .csv and .srt files.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.

Does renaming a file to .txt change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.