UTF-8 Byte Viewer
Show the code point and UTF-8 bytes of each character.
What it does
Shows each character of a text with its Unicode code point and its UTF-8 bytes. Useful for finding why a character looks wrong, takes more space than expected or breaks a program. You get a table, one row per character.
About the .txt format
.TXT file extension.txt Plain Text File
Text Files
- 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.
Related tools
More in Encoding & Base64
Change Text Encoding
Convert a text file between UTF-8, Windows-1250, ISO-8859-2 and other encodings.
Remove BOM
Remove the byte order mark from the start of a text file.
Base64 Encode/Decode
Turn text into Base64 and back, with UTF-8 support.
URL Encode/Decode
Percent-encode text for a URL, or decode it back.
Image to Base64
Turn an image into a Base64 string or a data URI for CSS and HTML.
HTML Entities Encode/Decode
Escape <, >, & and quotes as HTML entities, or turn entities back into text.
JWT Decoder
Read the header and payload of a JSON Web Token and its expiry time.
Base64 to Image
Turn a Base64 string or data URI back into an image file.
UTF-8 Byte Viewer questions
How do I use the UTF-8 Byte Viewer?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
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.