Text To Hex / Hex To Text


Text to Hex / Hex to Text - convert text to hexadecimal codes of its characters and back. Works for text encoded in Windows-1251, UTF-16. Decodes the UTF-8 text with the Cyrillic alphabet, which when zakodirovana in JSON is translated regular option the php json_encode() in \uXXXX encoding.

In mathematics and computing, hexadecimal (also base 16, or hexadecimal) is a positional numeral system with base 16. It uses sixteen distinct symbols, most often 0-9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a, b, c, d, e, f) to represent values from ten to fifteen.

Hexadecimal digits are widely used by computer system developers and programmers. Because each hexadecimal digit represents four binary digits (bits), it allows a more human-friendly representation of binary coded values. One hexadecimal digit represents a piece (4 bits), which is half an octet or byte (8 bits). For example, a single byte can have values between 00000000 and 11111111 in binary form, but it can be more conveniently represented as 00 to FF in hexadecimal form.

In the context, not related to programming, the index usually is used to give rix, for example, the decimal value 10,995 it would be expressed in hexadecimal as 2AF316. Several notations are used to support hexadecimal representation of constants in programming languages that typically include a prefix or suffix. The prefix " 0x " is used in C languages and related languages, where this value can be designated as 0x2AF3.