Our Network


Coming Soon


Coming Later

unicode to hex converter

world's simplest unicode tool

This browser-based utility converts Unicode text to base-16 hexadecimal data. Anything that you paste or enter in the text area on the left automatically gets printed as hex on the right. It supports the most popular Unicode encodings (such as UTF-8, UTF-16, UCS-2, UTF-32, and UCS-4) and it works with emoji characters. You can also customize the hexadecimal output format by enabling hex prefixing, padding and spacing. Created by encoding gurus from team Browserling.

᠎᠎᠎          Tool Options

Hex Prefix

Put prefix "0x" in front of
hexadecimal values.

Hex Padding and Separator

Put a zero in front of a single
character length hex values.
Put a single space character between
each hexadecimal value.

Code Point Encoding

Use this encoding for
Unicode code points.
Prefix hex output with the Byte
Order Mark. (This option works
with multi-byte encodings only.)

What is a unicode to hex converter?

This utility converts your input Unicode data into base-16 code points and then prints them one by one in the encoding you have chosen. Base-16 (also known as radix-16) is called the hexadecimal format, or simply the hex format. The hex format is made out of 16 symbols that consist of 0-9 and a-f (sometimes A-F). Before printing the hex code points, they are converted to one of nine encodings that we have added. They are – UTF8 that uses two to eight hex digits, then UTF-16-LE, UTF-16-BE, UCS-2-LE, and UCS-2-BE that use four or eight hex digits, then UTF-32-LE, UTF-32-BE, UCS-4-LE, and UCS-4-BE that use the maximum amount of storage, which is eight hex digits. For use in programming, you can add the prefix "0x" before hex values. For better output formatting, you can put a single space character between each hexadecimal value, as well as pad bytes that are an odd number hex characters in length with an additional zero to make all bytes an even length. For multibyte encodings, such as UTF-16, UCS-2, UTF-32, and UCS-4, you can also add the Byte Order Mark (BOM) endianness indicator. BOM for UTF-16-LE is 0xfffe, for UTF-16-BE it's 0xfeff, for UTF-32-LE it's 0xfffe0000, and for UTF-32-BE it's 0x0000feff.


Unicode to hex converter examples

Click to try

Magical Emoji Creatures

This example converts a couple of fantastic Unicode emoji creatures into the hexadecimal format. Before printing them to output, each emoji is encoded as UTF8. For convenience, we have added a prefix "0x" and separated all hexadecimal numbers with a single space.

🧙 - mage 🧚 - fairy 🧝 - elf 🧞 - genie 🧛 - vampire 🧟 - zombie
0xf0 0x9f 0xa7 0x99 0x20 0x2d 0x20 0x6d 0x61 0x67 0x65 0xa 0xf0 0x9f 0xa7 0x9a 0x20 0x2d 0x20 0x66 0x61 0x69 0x72 0x79 0xa 0xf0 0x9f 0xa7 0x9d 0x20 0x2d 0x20 0x65 0x6c 0x66 0xa 0xf0 0x9f 0xa7 0x9e 0x20 0x2d 0x20 0x67 0x65 0x6e 0x69 0x65 0xa 0xf0 0x9f 0xa7 0x9b 0x20 0x2d 0x20 0x76 0x61 0x6d 0x70 0x69 0x72 0x65 0xa 0xf0 0x9f 0xa7 0x9f 0x20 0x2d 0x20 0x7a 0x6f 0x6d 0x62 0x69 0x65
Required options
These options will be used automatically if you select this example.
Put prefix "0x" in front of
hexadecimal values.
Put a zero in front of a single
character length hex values.
Put a single space character between
each hexadecimal value.
Use this encoding for
Unicode code points.
Prefix hex output with the Byte
Order Mark. (This option works
with multi-byte encodings only.)

Latin Phrase

In this example, we convert the famous Latin phrase by Julius Caesar – "Veni, vidi, vici" – to hex base and UCS2-BE encoding. This phrase means "I came, I saw, I conquered". We prefix all hex digits with a "0x", pad them with zeros and separate with spaces. We also prefix the output hex stream with UCS2-BE's BOM, which is 0xfeff.

▓▒░ 𝓥𝓮𝓷𝓲 𝓿𝓲𝓭𝓲 𝓿𝓲𝓬𝓲 ░▒▓
0xfeff 0x2593 0x2592 0x2591 0x0020 0x0020 0xd835dce5 0xd835dcee 0xd835dcf7 0xd835dcf2 0x0020 0xd835dcff 0xd835dcf2 0xd835dced 0xd835dcf2 0x0020 0xd835dcff 0xd835dcf2 0xd835dcec 0xd835dcf2 0x0020 0x0020 0x2591 0x2592 0x2593
Required options
These options will be used automatically if you select this example.
Put prefix "0x" in front of
hexadecimal values.
Put a zero in front of a single
character length hex values.
Put a single space character between
each hexadecimal value.
Use this encoding for
Unicode code points.
Prefix hex output with the Byte
Order Mark. (This option works
with multi-byte encodings only.)

Grumpy Dancing Unicode Cat Man

In this example, we convert the grumpy dancing Unicode cat man into the hexadecimal radix. We use the least effective output encoding UCS-4-LE (which is the same as UTF-32-LE). This encoding uses eight hex digits per one code point. From other options, we've only selected the padding option, which means that we get a merged hexadecimal number where all code points follow one another as eight-digit zero-padded hex sequences.

⊂_ヽ   \\ Λ_Λ    \( ˇωˇ)     > ⌒ヽ    /   へ\    /  / \\    レ ノ   ヽ_つ   / /   / /|  ( (ヽ  | |、\  | 丿 \ ⌒)  | |  ) / `ノ )  Lノ (_/
822200005f000000fd3000000a00000000300000200000003cff00003cff0000200000009b0300003fff00009b0300000a0000000030000000300000200000003cff00002800000000300000c7020000c9030000c7020000290000000a000000003000000030000000300000200000003e0000000030000012230000fd3000000a0000000030000000300000003000002f000000200000000030000020000000783000003cff00000a0000000030000000300000200000002f00000000300000003000002f000000003000003cff00003cff00000a0000000030000000300000200000009aff000000300000ce300000003000000030000020000000fd3000005f000000643000000a00000000300000003000002f000000003000002f0000000a00000000300000200000002f000000003000002f0000007c0000000a00000000300000280000000030000028000000fd3000000a000000003000007c000000003000007c000000013000003cff00000a000000003000007c000000200000003f4e0000200000003cff00002000000012230000290000000a000000003000007c000000200000007c000000003000000030000029000000200000002f0000000a00000060000000ce300000200000002900000000300000003000004c00000089ff00000a000000280000005f0000000fff0000
Required options
These options will be used automatically if you select this example.
Put prefix "0x" in front of
hexadecimal values.
Put a zero in front of a single
character length hex values.
Put a single space character between
each hexadecimal value.

Pro tips Master online unicode tools

You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!

https://onlinetools.com/unicode/convert-unicode-to-hex?input=%F0%9F%A7%99%20-%20mage%0A%F0%9F%A7%9A%20-%20fairy%0A%F0%9F%A7%9D%20-%20elf%0A%F0%9F%A7%9E%20-%20genie%0A%F0%9F%A7%9B%20-%20vampire%0A%F0%9F%A7%9F%20-%20zombie&prefix=true&padding=false&spacing=true&output-encoding=utf8&bom=false

All Unicode Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Convert Unicode to Code Points

Quickly find code positions of all Unicode values.

Convert Code Points to Unicode

Quickly decode code positions to Unicode values.

Convert Unicode to UTF-8

Quickly encode Unicode values to UTF-8 encoding.

Convert Unicode to UTF-16

Quickly encode Unicode values to UTF-16 encoding.

Convert Unicode to UTF-32

Quickly encode Unicode values to UTF-32 encoding.

Convert Unicode to an Image

Quickly create a picture from Unicode symbols.

Generate Random Unicode

Quickly generate random Unicode text in a given range.

Generate Unicode Range

Quickly generate all Unicode values from the given code point interval.

Extract Unicode Range

Quickly filter Unicode symbols that are within the given code point interval.

Extract Graphemes

Quickly split Unicode data into graphemes.

Sort Graphemes

Quickly sort Unicode glyphs in increasing or decreasing order.

Count Unicode Characters

Quickly find the length of Unicode text.

Increment Unicode Values

Quickly increase Unicode code point values.

Decrement Unicode Values

Quickly decrease Unicode code point values.

Reverse Unicode

Quickly reverse the order of symbols in Unicode text.

Rotate Unicode Text

Quickly rotate Unicode characters to the left and right.

Repeat Unicode

Quickly create multiple copies of Unicode text.

Split Unicode Into Characters

Quickly extract all characters from Unicode text.

Split Unicode Into Fragments

Quickly split Unicode data into pieces.

Chunkify Unicode

Quickly split Unicode text into chunks of constant length.

Join Unicode

Quickly merge Unicode snippets together.

Truncate Unicode

Quickly shorten Unicode text to the given length.

Left-pad Unicode

Quickly left-pad Unicode text with any character.

Right-pad Unicode

Quickly right-pad Unicode text with any character.

Center Unicode

Quickly align Unicode data to the center.

Right-align Unicode

Quickly align Unicode data to the right.

Generate Unicode Numbers

Quickly convert ordinary numbers to fancy Unicode numbers.

Normalize Unicode Numbers

Quickly convert Unicode numbers back to regular numbers.

Generate Unicode Letters

Quickly convert ordinary letters to Unicode letters in various fonts.

Normalize Unicode Letters

Quickly convert Unicode letters back to regular Latin letters.

Generate Unicode Text

Quickly convert ordinary text to fancy Unicode text.

Normalize Unicode Text

Quickly convert fancy Unicode text back to regular text.

Add Combining Characters

Quickly combine input Unicode with diacritical marks.

Remove Combining Characters

Quickly delete diacritical marks from the Unicode text.

Spoof Unicode Text

Quickly spoof regular text using Unicode homoglyphs.

Unspoof Unicode Text

Quickly unspoof homoglyphs in text with regular letters.

Check Spoofed Unicode Text

Quickly check if the given Unicode text is spoofed or not.

Cyclically Shift Unicode

Quickly circularly rearrange Unicode symbols.

Escape Unicode

Quickly convert Unicode data to escape sequences.

Convert Unicode to HTML

Quickly encode Unicode data to HTML entities.

URL-encode Unicode

Quickly URL-escape Unicode symbols.

Convert Unicode to Base64

Quickly encode Unicode values to base64.

Convert Unicode to a Data URL

Quickly encode Unicode values to a data URI.

Convert Unicode to Bytes

Quickly convert Unicode characters to raw bytes.

Convert Unicode to Binary

Quickly convert Unicode data to base-2 (binary).

Convert Unicode to Octal

Quickly convert Unicode data to base-8 (octal).

Convert Unicode to Decimal

Quickly convert Unicode data to base-10 (decimal).

Convert Unicode to Hex

Quickly convert Unicode data to base-16 (hexadecimal).

Convert Unicode to ASCII

Quickly convert Unicode symbols to raw ASCII bytes.

Convert ASCII to Unicode

Quickly convert ASCII bytes to Unicode symbols.

Convert Unicode to a String Literal

Quickly convert Unicode text to a string literal.

Convert Emoji to an Image

Quickly create a picture from Unicode emojis.

Let Zalgo Destroy Unicode

Quickly release Zalgo on your Unicode text.

Remove Zalgo from Unicode

Quickly make Zalgo text readable again.


Coming Soon

These Unicode tools are on the way!
Edit Unicode

View and edit Unicode in a browser-based editor.

Name Unicode Symbols

Spell out the names of Unicode characters in the input text.

URL-decode Unicode

URL-unescape Unicode text.

Convert Binary to Unicode

Convert base-2 data to Unicode encoding.

Convert Octal to Unicode

Convert base-8 data to Unicode encoding.

Convert Decimal to Unicode

Convert base-10 data to Unicode encoding.

Convert Hex to Unicode

Convert base-16 data to Unicode encoding.

Convert Unicode to Any Base

Convert Unicode text to any radix.

Convert Any Base to Unicode

Convert any radix data to Unicode.

Convert Unicode to Latin1

Convert Unicode text to ISO-8859-1 encoding.

Convert Latin1 to Unicode

Convert ISO-859-1 encoded data to Unicode.

Convert Unicode to Latin2

Convert Unicode text to ISO-8859-2 encoding.

Convert Latin2 to Unicode

Convert ISO-8859-2 encoded data to Unicode.

Convert Unicode to Ecoji

Convert Unicode text to Ecoji encoding.

Convert Ecoji to Unicode

Convert Ecoji encoded data to Unicode.

Convert Bytes to Unicode

Convert raw bytes to Unicode.

Check Unicode Version

Check the Unicode version of the given Unicode characters.

Validate Unicode

Check if the given Unicode has valid encoding.

Convert Unicode to Punycode

Encode Unicode text to Punycode encoding.

Convert Punycode to Unicode

Decode Punycode encoding to Unicode.

Decode Base64 to Unicode

Convert base64 data to Unicode text.

Encode Unicode to Data URI

Convert Unicode to a valid data URL.

Decode Data URI to Unicode

Convert a valid data URL to Unicode text.

Convert HTML to Unicode

Decode HTML entities to Unicode data.

Convert UTF8 to Unicode

Decode UTF8 encoding to Unicode.

Convert UTF16 to Unicode

Decode UTF16 encoding to Unicode.

Convert UTF32 to Unicode

Decode UTF32 encoding to Unicode.

Convert Unicode to Uppercase

Convert all Unicode characters to uppercase.

Convert Unicode to Lowercase

Convert all Unicode characters to lowercase.

Print All Unicode Flags

Generate a list of all country flag icons.

Print All Unicode Arrows

Generate a list of all Unicode arrows.

Print All Unicode Animals

Generate a list of all Unicode animals.

Print All Unicode Flowers and Plants

Generate a list of all Unicode flowers and plants.

Print All Unicode Blocks

Generate a list of all Unicode block elements.

Print All Unicode Hieroglyphs

Generate a list of all Egyptian hieroglyphs.

Print All Unicode Currencies

Generate a list of all currency symbols.

Generate a Unicode Rainbow

Use Unicode colors to generate a rainbow.

Generate a Lenny Face

Create a smiley face from Unicode symbols.

Generate Random Emoji

Generate a list of random emojis.

Convert Unicode to Randomcase

Randomize case of all Unicode characters.

Convert Unicode to Lowercase

Convert all Unicode characters to lowercase.

JSON Stringify Unicode

Encode Unicode to JSON.

JSON Parse Unicode

Decode JSON to Unicode.

Shuffle Unicode Symbols

Randomly rearrange the order of input graphemes.

Convert Unicode to Alt Code

Generate Alt codes for Unicode characters.

Convert Alt Code to Unicode

Generate Unicode glyphs from Alt codes.

Analyze Unicode

Print statistics about Unicode data and code points.

Slice Unicode

Extract a part from Unicode data.

Draw a Unicode Wave

Generate waves with Unicode symbols.

Draw a Unicode Sparkline

Generate graphs using Unicode symbols.

Draw a Unicode Box

Wrap a message in a Unicode box.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋