Text Converter
Type or paste any text and instantly see it converted to nine different formats: ASCII decimal codes, binary, hexadecimal, octal, Base64, URL encoding, uppercase, lowercase, and reversed. Each output has its own copy button for quick use.
ASCII Codes
Enter text above
Binary
Enter text above
Hexadecimal
Enter text above
Octal
Enter text above
Base64
Enter text above
URL Encoded
Enter text above
UPPERCASE
Enter text above
lowercase
Enter text above
Reversed
Enter text above
Frequently Asked Questions
How do computers represent text as numbers?
Every character you type is stored as a numeric code. ASCII assigns values 0 through 127 to English letters, digits, and symbols. For example, the letter A is stored as decimal 65, which equals 01000001 in binary and 41 in hexadecimal. Extended encodings like UTF-8 use the same principle for characters from all writing systems, using one to four bytes per character.
What is the difference between binary, hex, and octal representations?
Binary (base-2), hexadecimal (base-16), and octal (base-8) are different ways to write the same number. Binary uses only 0 and 1, making it closest to how hardware stores data. Hexadecimal uses 0 through F and compresses every 4 binary digits into one character, so programmers favor it for memory addresses and color codes. Octal uses 0 through 7 and appears mainly in Unix file permissions.
When would I need to convert text to multiple formats at once?
Debugging encoding issues is the most common reason. When text appears garbled in a database, API response, or log file, comparing the raw byte values in hex or binary against expected values helps pinpoint where the corruption happens. Developers also convert text to Base64 for embedding in JSON payloads, to URL encoding for query strings, or to ASCII codes when writing low-level protocol handlers.