Base64 Encode / Decode
Encode text to Base64, or decode it back.
Convert text to a hexadecimal string.
Hex encoding writes each byte as two hexadecimal characters (0-9, a-f), handy for debugging and data work. Encode: text to a continuous hex string Decode: hex string to text (the length must be even)
Output is lowercase hexadecimal with no separators and no 0x prefix: two digits per byte, so the length is always twice the byte count.
Text is converted to UTF-8 bytes first, so one Chinese character becomes three bytes — six hex digits.
No cosmetic grouping or upper-casing is applied; add that yourself on the output if a target format needs it.
Type the text
Each UTF-8 byte is turned into two hexadecimal digits.
Copy the result
One continuous lowercase string. Add 0x prefixes or space grouping in your editor if needed.
To restore it
Use Hex decode, which tolerates spaces and line breaks but requires an even total length.
Because UTF-8 bytes are encoded, not characters: a common Chinese character takes three bytes, which is six hex digits. That is UTF-8, not padding.
The output has no separators. Add 0A 1B style grouping with a search-and-replace in your editor — the decode side already tolerates spaces.
Encode text to Base64, or decode it back.
Produce URL-safe Base64 without padding characters.
Encode or decode text using the Base32 alphabet.
Encode or decode numbers and text in Base36.
Encode or decode with Base58, the alphabet Bitcoin addresses use.
Turn text into its 0 and 1 representation.