Text to Hex

Text to Hexadecimal (HEX) Conversion is a site that provides tools that can convert characters, sentences, and strings of plain text into hexadecimal (HEX) characters, sentences, and strings. Simply paste plain text to convert it to hexadecimal (HEX). It is free to use.

Hex

Text

How to use

  1. Paste plain text characters, sentences, and strings.
  2. Automatically converted to hexadecimal (HEX).
  3. The converted hexadecimal (HEX) characters, sentences, and strings can be "copied" and "downloaded" by clicking the icon in the upper right.

What is Hexadecimal?

Hexadecimal is a way of expressing numbers using 10 numbers from 0 to 9 and 16 letters from the six alphabets from A to F. It is also called "HEX", an abbreviation of the English "Hexadecimal".

The hexadecimal number is expressed as "0x10" because it is confusing to use the same "10" as the decimal number.

The reason that the hexadecimal number system is often used in the digital world is that four digits in binary can be expressed with one digit in hexadecimal, so hexadecimal is often used as a way to reduce the number of characters that would be too long in binary.

Hexadecimal formula

  • Convert hexadecimal to decimal: 0x3A = 3 x 16¹ + 10 x 16⁰ = 58

Decimal vs. Hexadecimal Comparison Table

Decimal Hexadecimal Hexadecimal Notation
0 0 0x0
1 1 0x1
2 2 0x2
3 3 0x3
4 4 0x4
5 5 0x5
6 6 0x6
7 7 0x7
8 8 0x8
9 9 0x9
10 A 0xA
11 B 0xB
12 C 0xC
13 D 0xD
14 E 0xE
15 F 0xF
16 10 0x10

Notes

This tool is available for free.

※This program is created and confirm the operation in PHP8.1.22.
※If you have any inquiries, opinions, or requests that you would like to make, please fill out the following form