Binary text translator
Translate text to UTF-8 binary or hexadecimal bytes, and decode valid byte sequences back into text.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Choose the direction and binary or hexadecimal format.
- Enter text or bytes, then run the converter. Encoded bytes can be joined or separated by whitespace. Copy or download the result.
Things to know
- Up to 20,000 input characters. Binary must contain complete 8-bit bytes and hex complete 2-digit bytes. Invalid UTF-8 is rejected, not replaced silently.
- This translates UTF-8 bytes, not a mathematical number base or file format. A leading UTF-8 byte-order mark is preserved.
- Processing stays on your device. Results are not saved between visits.
Sources
You might also need
More in encoding & generatorsASCII code table and lookup
Look up all 128 ASCII codes in decimal, hexadecimal and binary, with printable characters and named control codes.
Number-base converter
Convert arbitrarily large integers between bases 2 to 36.
Binary hex viewer
Inspect the bytes of a local file as offsets, hexadecimal and printable ASCII.
Morse code translator
Translate text to International Morse code or decode dots and dashes, with an optional playable WAV download.
Caesar cipher decoder and encoder
Encode or decode a Caesar shift, apply ROT13, or inspect every possible letter shift for a puzzle.
Base64 converter
Encode UTF-8 text or decode strict Base64 and URL-safe Base64.
Unicode escape converter
Convert text to Unicode escape sequences and decode Unicode escapes.
HMAC generator
Generate an HMAC for a message with a UTF-8 or hexadecimal secret key.
Character-encoding converter
Decode Base64 bytes using a character encoding or encode text into downloadable bytes.