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
Decode standard Base64 text as UTF-8 in your browser
Convert UTF8 to Hex
Encode UTF-8 text as hexadecimal bytes
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
Map decimal or 0x byte values to single-byte 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.