UTF-8 File Validator

UTF-8 File Validator: Check UTF-8 validity and inspect BOM, character count, and newline styles in a local text file.

UTF-8 File Validator

UTF-8 File Validator: Select a plain UTF-8 text file to check its bytes, character count and the number of LF, CRLF and CR line endings.

Loading the tool...

✓ Your inputs stay in this browser

How to use UTF-8 File Validator

Select a plain UTF-8 text file to check its bytes, character count and the number of LF, CRLF and CR line endings.

Example

An English source file with Windows line endings might show 12 CRLF lines and no standalone LF line endings.

What to know

Files larger than 8 MB, malformed UTF-8 and files containing NUL bytes are rejected. This tool does not convert other encodings.