Unicode
aあБ
UTF-8 Text
aãÐ
UTF-8 Hex
\x61\xe3\x81\x82\xd0\x91
UTF-16
\u0061\u3042\u0411
UTF-32
u+00000061u+00003042u+00000411
Base64
YeOBgtCR
URL (%)
a%E3%81%82%D0%91
Decimal
000971235401041
White space represent by \x20 \u0020 u+00000020 %20
Unicode Converter - Free online Encode/Decode String Characters
ConvertCodes, the free online Unicode converter website in real-time by javascript. Support for all Unicode type such as UTF-8, UTF-16, UTF-32, Base64, URL and Decimal encoding. We can convert across among these encoding whatever you need.
Unicode Converter - What is Unicode ?
Unicode is a Universal Character Set (UCS), the standard characters encoding which does not depend on any platform systems. Today, Unicode become the most of system encoding to represent characters as integers. That means every character in the world including number, language alphabet, symbol or emoticon will be assigned a unique number for the Unicode system which we call its code-point. Unicode can be encoded by several type encodings such as UTF-8, UTF-16, UTF-32, and some other legacy encoding.
How to encode Unicode format ?
Unicode defines a mapping method by Unicode Transformation Format (UTF). As we mentioned before, UTF encoding map all characters on code points, which is a unique sequence of bytes. There are many types of UTF encoding which defined by prefix UTF-N. “N” is a numeric to defines the number of bits per code value.
UTF-8
8 bits encoding and also used in most of the website(WWW). Compatibility with ASCII because the first 128 Unicode code points are the same as ASCII and no need Byte Order Mark (BOM). UTF-8 is a default encoding in XML and HTML
UTF-16
16 bits encoding (Extend from UCS2) is require Byte Order Mark (BOM U+FEFF) for use at the beginnings of text files. Javascript also uses UTF-16 as standard character encoding.
UTF-32
32 bits encoding is widely used as an internal representation of text in programs including Python programming language since Python version 2.2
Unicode encoding table
UTF-8 | UTF-16 | UTF-32 | |
A | \x61 | \u0061 | u+00000061 |
Б | \xd0\x91 | \u0411 | u+00000411 |
あ | \xe3\x81\x82 | \u3042 | u+00003042 |
\xf0\x9f\x9a\x97 | \ud83d\ude97 | u+0001f697 |
Why there are serveral type of UTF ?
As we see in the Unicode encoding table, each version of UTF requires various resources.
UTF-8 required lower space of disk and memory because it uses 8 bits to store the data. The lower code range (000000 – 00007F) which is used for ASCII (Most of the American standard characters) will take this benefit completely. However, for other languages particularly on Asia alphabet require more than 2 bytes to store in each character. The consequence is the system needs to compute 2 times for a character.
UTF-16 become more friendly programming on Asia alphabets and special symbols. The point is located space is the same as UTF-8 but it is easier to compute faster for middle range characters (000080 – 00FFFF).
UTF-32 is not widely used at the present because it needs amounts of space. It has become more effective for high range characters or new emoticon symbol.
“The conclusion is UTF with lower bits encoding will save the space resource but consume more compute resource. UTF with higher bits encoding will gain the opposite resource consuming.”
Base64 Converter - Encode / Decode
Base64 is a kind of data encryption. Base64 transform and encode original data to text format. These encode data is unreadable by a human. The method of Base64 encoding is encoded to replacing the data with 64 ASCII characters (Text characters). That why we call its Base64 encode.
Base64 index table
Index | Char | Index | Char | Index | Char | Index | Char | |||
---|---|---|---|---|---|---|---|---|---|---|
0 | A |
16 | Q |
32 | g |
48 | w
| |||
1 | B |
17 | R |
33 | h |
49 | x
| |||
2 | C |
18 | S |
34 | i |
50 | y
| |||
3 | D |
19 | T |
35 | j |
51 | z
| |||
4 | E |
20 | U |
36 | k |
52 | 0
| |||
5 | F |
21 | V |
37 | l |
53 | 1
| |||
6 | G |
22 | W |
38 | m |
54 | 2
| |||
7 | H |
23 | X |
39 | n |
55 | 3
| |||
8 | I |
24 | Y |
40 | o |
56 | 4
| |||
9 | J |
25 | Z |
41 | p |
57 | 5
| |||
10 | K |
26 | a |
42 | q |
58 | 6
| |||
11 | L |
27 | b |
43 | r |
59 | 7
| |||
12 | M |
28 | c |
44 | s |
60 | 8
| |||
13 | N |
29 | d |
45 | t |
61 | 9
| |||
14 | O |
30 | e |
46 | u |
62 | +
| |||
15 | P |
31 | f |
47 | v |
63 | /
|
How to convert Unicode ?
Convertcodes, We offer the free online converter website. You can enter any text or encoding type you want to convet in the specific input box. This website has been embedded with javascript encoding function, so it can be convert in real-time response.
- UTF8 Converter (Unicode to UTF-8 Encoding)
- UTF16 Converter (Unicode to UTF-16 Encoding)
- UTF32 Converter (Unicode to UTF-32 Encoding)
- Base64 Converter (Unicode to Base64 Encoding)
- URL Converter (Unicode to URL Encoding)
- Decimal Converter (Unicode to Decimal converter)