Text encoding tools
Translate text and bytes between Base64, UTF-8, hexadecimal, binary, and ASCII.
What you can do
Inspect encoded data, prepare values for an API, or recover readable text from bytes. The tools below cover the common boundaries between strings, code points, and byte representations.
- Encode text for transport
- Read hexadecimal and binary payloads
- Check whether byte sequences are valid UTF-8
Choose a tool
Pick the input and output that match your current task.
Base64 Encode
Convert plain text to base64 encoded format instantly
Base64 Decode
Convert base64 encoded strings back to plain text instantly
Convert UTF8 to Hex
Convert UTF-8 text to hexadecimal representation for debugging and analysis
Convert Hex to UTF8
Convert hexadecimal representation back to UTF-8 text
Convert Binary to UTF8
Convert binary representation back to UTF8 text
Convert Unicode to UTF8
Convert Unicode code points to UTF8 encoded bytes
Validate UTF8
Check if text is valid UTF8 encoded
Convert Bytes to ASCII
Convert byte values to ASCII characters
How to choose
Text encodings map characters to bytes, while Base64 and hexadecimal turn bytes into text-safe representations. They do not encrypt the underlying content.
Choose the converter that matches both the current representation and the output you need. If the source should be UTF-8, validate it before decoding so malformed byte sequences do not produce misleading text.