Unicode to UTF-8 Convert

UTF-8 Base
Convert Unicode symbols to UTF-8 in this base.
Enter the custom base here. (Possible values from 2 to 36.)
Byte Delimiter
Set the byte delimiter character here.
Byte Format
Use prefix "0b" for binary, prefix "o" for octal, and prefix "0x" for hex values.
Add zero padding to small values to make them all the same length.
Unicode to utf-8 converter examples Click to use
Napoleon Bonaparte's Quote
This example converts a Napoleon Bonaparte's quote to UTF8 bytes in radix of 8 (octal). The quote is written in bold-italic Unicode letters and the output is UTF8 encoding of these letters. It uses a space character between the octets and adds zeros in front of smaller bytes so that they are all 3 characters long.
𝑰𝒎𝒂𝒈𝒊𝒏𝒂𝒕𝒊𝒐𝒏 𝒓𝒖𝒍𝒆𝒔 𝒕𝒉𝒆 𝒘𝒐𝒓𝒍𝒅.
360 235 221 260 360 235 222 216 360 235 222 202 360 235 222 210 360 235 222 212 360 235 222 217 360 235 222 202 360 235 222 225 360 235 222 212 360 235 222 220 360 235 222 217 040 360 235 222 223 360 235 222 226 360 235 222 215 360 235 222 206 360 235 222 224 040 360 235 222 225 360 235 222 211 360 235 222 206 040 360 235 222 230 360 235 222 220 360 235 222 223 360 235 222 215 360 235 222 205 056
Required options
These options will be used automatically if you select this example.
Convert Unicode symbols to UTF-8 in this base.
Set the byte delimiter character here.
Use prefix "0b" for binary, prefix "o" for octal, and prefix "0x" for hex values.
Add zero padding to small values to make them all the same length.
Special Unicode Symbols
In this example, we convert four interesting Unicode characters to UTF8-encoded binary bytes. We add a prefix "0b" in front of the binary values to make it unambiguous that the base is binary and pad some of them with zeros to achieve the length of 8 characters.
☘ ✯ ☏ ☂
0b11100010, 0b10011000, 0b10011000, 0b00100000, 0b11100010, 0b10011100, 0b10101111, 0b00100000, 0b11100010, 0b10011000, 0b10001111, 0b00100000, 0b11100010, 0b10011000, 0b10000010
Required options
These options will be used automatically if you select this example.
Convert Unicode symbols to UTF-8 in this base.
Set the byte delimiter character here.
Use prefix "0b" for binary, prefix "o" for octal, and prefix "0x" for hex values.
Add zero padding to small values to make them all the same length.
Bakery Emojis in Base-21
In this example, we select a custom base from the output base dropdown and enter the value 21 in the custom base field. We then load a list of Unicode bakery products emoji as the input and UTF-8 encode them. We also use a dash symbol to separate base-21 output bytes.
🍞 Bread 🥐 Croissant 🥖 Baguette Bread 🥨 Pretzel 🥯 Bagel
b9-7c-6f-7b-1b-33-59-4h-4d-4g-a-b9-7c-7i-6i-1b-34-59-56-50-5a-5a-4d-55-5b-a-b9-7c-7i-73-1b-33-4d-4j-5c-4h-5b-5b-4h-1b-33-59-4h-4d-4g-a-b9-7c-7i-80-1b-3h-59-4h-5b-5h-4h-53-a-b9-7c-7i-87-1b-33-4d-4j-4h-53
Required options
These options will be used automatically if you select this example.
Convert Unicode symbols to UTF-8 in this base.
Enter the custom base here. (Possible values from 2 to 36.)
Set the byte delimiter character here.
Use prefix "0b" for binary, prefix "o" for octal, and prefix "0x" for hex values.
Add zero padding to small values to make them all the same length.