16 進コンバータ

この 16 進数コンバータは、16 進数の値を 10 進数、バイナリ、テキストに変換できるだけでなく、16 進数と 10 進数の値を加算、減算、乗算、除算することもできます。

1

入力形式を選択してください

2
0x

任意の 16 進数を入力します。任意の長さ、奇数桁でも問題ありません。

詳細オプション +
データ型
ビット幅
署名済み
3

変換結果

16進数 16 進数
10進数 10 進数
バイナリ ベース 2
文章 アスキー
バイト0
ビット0

A hex converter is a tool that translates values between hexadecimal, decimal, binary, and other number systems. It works by reading each hex digit as a power of 16, then converting that value into the target format you need. The tool offers 4 main benefits: instant conversion without manual math, error-free handling of large values, support for multiple formats in one place, and a clear view of how bytes map to human-readable numbers. People use a hex converter to read memory addresses, decode color codes, inspect blockchain data, debug network packets, and translate raw bytes into text. The main parts of a hex converter are the input field for the source value, the output field for the converted result, a format selector for choosing between hex, decimal, binary, octal, or text, and a copy button for grabbing the result.

What Is a Hex Converter?

A hex converter is a tool that changes a hexadecimal value into another number format, or changes another format into hex. You type a value into the input field, the tool reads each digit, and it returns the equivalent value in decimal, binary, octal, text, or another target format.

The tool removes the need for manual calculation. Converting 1D8A from hex to decimal by hand means multiplying four digits by powers of 16 and adding the results. A hex converter does this in the time it takes to press a key.

ライブで試してみる

HEX

DEC

BIN

What Is 16進数?

16進数 is a base-16 number system. It uses 16 symbols: the digits 0 through 9 and the letters A through F. The letters stand in for the values 10 through 15, since decimal only has 10 single-digit symbols to work with.

コンピューターはデータをビット単位で保存し、8 ビットで 1 バイトを形成します。バイナリで 1 バイトを書き込むには 8 文字かかります。同じバイトを 16 進数で書き込むには 2 文字かかります。これは、16 進数のそれぞれが正確に 4 ビット (ニブル) をカバーするためです。これが、プログラマが 1 と 0 の長い文字列を見つめることなくバイナリ データを読み取る必要がある場所 (メモリ アドレス、カラー コード、ハッシュ値、ファイル ヘッダーなど) に 16 進数が表示される理由です。

16 進値は、同じ数字を使用する 10 進数と区別するために、0xFF などの 0x プレフィックスを付けて書き込まれることがよくあります。

🔄 各塩基の数

HEX

What Can You Convert With a Hex Converter?

16 進数コンバータは、6 つの一般的な変換タイプを処理します。16 進数から 10 進数、10 進数から 16 進数、16 進数から 2 進数、2 進数から 16 進数、16 進数から 8 進数、16 進数からテキスト (ASCII または UTF-8) です。多くのツールは、Web カラーの 16 進数から RGB、エンコードされたデータの 16 進数から Base64、ネットワーク値の 16 進数から IP アドレスへの変換もサポートしています。

各変換タイプは異なるタスクを実行します。 16 進数を 10 進数に変換すると、生の値を使い慣れた用語で読み取ることができます。 16 進数から 2 進数へは、プロセッサーが動作する正確なビット パターンを示します。 16 進数をテキストに変換すると、バイト シーケンスが読み取り可能な文字にデコードされます。 Hex to RGB は、デザイン作業のために 6 文字のカラー コードを赤、緑、青のチャネル値に変換します。

🔀 変換経路

16 進数 → 12 進数
12月→16進数
ヘックス → ビン
ビン → 16 進数
16 進数 → テキスト
16 進数 → 10 月

16 進数体系

The hexadecimal number system uses a radix, or base, of 16. Each position in a hex number represents a power of 16, starting at 16⁰ on the right and increasing by one power for each position moved left.

16 進数では 16 個の値 (0 ~ 9、A ~ F) を保持できますが、10 進数では 10 個の値、2 進数では 2 個の値を保持できます。これにより、1 文字あたりの情報密度が 16 進数で増加します。 1 つの 16 進数は 4 ビットをエンコードするため、2 つの 16 進数はフルバイト (8 ビット) をエンコードし、4 つの 16 進数は 2 バイト (16 ビット) をエンコードします。

📐 プレイスバリューエクスプローラー

2

× 16² (256)

= 512

16 進コンバータの使用方法

入力フィールドに 16 進数値を入力し、出力フィールドで変換された結果を読み取ります。コンバーターは、0x プレフィックスの有無にかかわらず、大文字または小文字の値を受け入れます。通常、バイト ペア間に配置されたスペースやコロンは無視されます。

10 進数を 16 進数に変換するには、10 進数フィールドに整数を入力すると、ツールは等価な 16 進数を返します。ツールが 1 つのインターフェイスで両方向をサポートしている場合は、スワップまたはフォーマット セレクターを使用して方向を切り替えます。手動で再入力すると長いハッシュ値でエラーが発生するため、結果を選択して再入力するのではなく、コピー ボタンを使用して結果をコピーします。

📋 仕組み

🎯

ステップ1

フォーマットの選択

16 進数の変換式

16 進数と別の形式の間の各変換は、固定の式に従います。以下の 6 つの式は、人々が最も検索するコンバージョンをカバーしています。

16 進数から 10 進数への変換

16 進数から 10 進数への変換式は、10 進数 = Σ (桁 × 16ⁿ) で、すべての桁を合計します。ここで、n は 0 から右から左に数えた桁の位置です。 16 進数 1A3 は 10 進数 419 に変換されます: (1 × 16²) + (10 × 16¹) + (3 × 16⁰) = 256 + 160 + 3 = 419。

10 進数から 16 進数への変換

10 進数から 16 進数への公式は、商が 0 になるまで 10 進数を 16 で繰り返し割り、各余りを 16 進数として記録します。 10 進数 419 は 16 進数 1A3 に変換されます: 419 ÷ 16 = 26 余り 3、26 ÷ 16 = 1 余り 10 (A)、1 ÷ 16 = 0 余り 1。余りを逆にすると 1A3 になります。

16 進数から 2 進数への変換

16 進数から 2 進数への公式は、各 16 進数を同等の 4 ビット 2 進数で置き換え、次にグループを順番に結合します: binary = concat(digit → 4-bit binary)、桁ごとに適用されます。残りの各位置で 2 は 0010、A は 1010 であるため、16 進数 2AA は 2 進数 0010 1010 1010 に変換されます。

2進数から16進数への変換

2 進数から 16 進数への数式は、2 進数を右から 4 つのセットにグループ化し、4 桁未満の場合は左端のグループを 0 で埋めてから、各グループを 16 進数に変換します: hex = concat(4-bit group → digit)。 2 進数 1010101010 は 16 進数 2AA に変換されます。

16 進数から 8 進数への変換

16 進数から 8 進数への式は中間ステップとしてバイナリを実行します。各 16 進数を 4 ビット バイナリに変換し、完全なバイナリ文字列を右から 3 つのセットに再グループ化し、次に各 3 桁のグループを 8 進数に変換します。 FF は 2 進数 11111111 であり、011 111 111 としてグループ化されるため、16 進数 FF は 8 進数 377 に変換されます。

16 進数からテキストへの変換式

The hexadecimal to text formula splits the hex string into 2-character byte pairs, converts each pair to its decimal value using the hex-to-decimal formula, then maps each decimal value to its character using the ASCII or UTF-8 table: text = map(decimal(byte) → character). Hex 48656C6C6F converts to the text “Hello.”

📐 数式のクイックリファレンス

16 進数 → 12 進数imal
Σ (digit × 16n)
10進数 → Hex
n ÷ 16 → remainders ↑
ヘックス → ビンary
each digit → 4-bit group
16 進数 → 10 月al
hex → binary → group by 3

16 進数の変換例

A (10) × 16¹ + 3 × 16⁰ = 160 + 3 = 163 であるため、16 進数 A3 は 10 進数の 163 に変換されます。F (15) × 16¹ + F (15) × 16⁰ = 240 + 15 = 255 であるため、16 進数 FF は 10 進数の 255 に変換されます。 10 進数 7562、4 桁にわたって同じ桁ごとの乗算を実行します。

10 進数の 1500 は 16 進数の 5DC に変換されます。 10 進数の 255 は 16 進数の FF に変換されます。 10 進数 4132 は 16 進数 1024 に変換されます。

Hex 48656C6C6F converts to the text “Hello,” since each 2-character hex pair maps to one ASCII byte: 48 is H, 65 is e, 6C is l, 6C is l, and 6F is o.

🧮 段階的な計算ツール

例を選択すると、段階的な計算が表示されます。

16 進数の変換方法

16 進数と 10 進数間の変換には 2 つの主要な方法があります。1 つは 16 進数から 10 進数への桁拡張、もう 1 つは 10 進数から 16 進数への反復除算です。

桁拡張では、各 16 進数値に 16 の位置べき乗を乗算し、その結果を合計します。除算を繰り返すと、10 進数を 16 で何度も割り、各ステップで余りを記録し、その余りを逆の順序で読み取って 16 進数の値を構築します。

🔬 メソッドビジュアライザー

(Digit × 16^pos) + (Digit × 16^pos)…

Example: 1A = (1 × 16¹) + (10 × 16⁰) = 16 + 10 = 26

16 進数と 10 進数、2 進数、および 8 進数

16 進数、10 進数、2 進数、および 8 進数は、基数と、同じ値を表すために必要な桁数が異なります。バイナリ (基数 2) は 8 桁を使用して 1 バイトを表します。 8 進数 (基数 8) は 3 桁を使用します。 10 進数 (基数 10) は 1 ~ 3 桁を使用します。 16 進数 (基数 16) はちょうど 2 桁を使用します。

バイナリは、プロセッサが直接動作する形式です。 8 進数は初期のコンピューティングでは一般的であり、現在では主に Unix ファイル許可コードで生き残っています。 10 進数は、人々が日常の算術に使用する体系です。 16 進数は、バイナリへの直接マッピングとコンパクト性のバランスをとっているため、メモリ アドレス指定、カラー コード、および暗号化出力で主流となっています。

🎚️ 基数の比較

Value: 170

What is the 10進数 System?

10 進法は、0 ~ 9 の 10 桁を使用する 10 進法です。各桁の位置は、右側の 10⁰ から始まる 10 の累乗を表します。

The decimal system is the standard for daily arithmetic because humans count on 10 fingers. Computers don’t use decimal internally, so any decimal value entered into a system gets converted to binary or hex before processing.

🔟 10進数 vs Hex Density

10進数 (Base 10)
255
3 digits → 10 symbols each
16進数 (Base 16)
FF
2 digits → 16 symbols each

16進数 System (Hex System)

The hexadecimal system uses 16 symbols: 0-9 and A-F. Each digit represents a power of 16. The letters A through F stand for the decimal values 10 through 15.

Hex is used across computing because it aligns with byte boundaries. A single byte, made of 8 bits, converts cleanly to exactly 2 hex digits with no remainder or rounding. This clean mapping does not exist between bytes and decimal digits, which is why raw computer data is shown in hex rather than decimal.

🔠 The 16 Hex Symbols

0-9

Values 0-9

10進数 System

10 進数は、10 進数の位置数値体系です。各桁の値は、その桁自体と数値内のその位置の両方によって決まります。数字 500 の数字 5 は、5 × 10²、つまり 500 を表します。数字 50 の同じ数字 5 は、5 × 10¹、つまり 50 を表します。

10進数 は、小数点を使用して小数値を処理します。小数点以降の数字は、10 の負のべき乗 (10 分の 1、100 分の 1 など) を表します。

🔢 小数点以下の桁の値

5
× 10²
500

16 進数から 10 進数への計算方法

Multiply each hex digit by 16 raised to its position, counting positions from right to left starting at 0, then add the results together. The hex value 2AA converts to decimal 682: (2 × 16²) + (10 × 16¹) + (10 × 16⁰) = 512 + 160 + 10 = 682.

For long hex strings like cryptographic hashes, this calculation still works digit by digit, but the resulting decimal number grows large fast. A 64-character hex hash can produce a decimal number with 77 digits.

⚙️ ライブディジット拡張

上に 16 進値を入力すると、展開されて表示されます。

Convert 16進数 Value to 10進数 Value

Converting a hex value to decimal follows 3 steps: assign each digit its power of 16 based on position, multiply each digit by its power, and sum every result.

Example: hex 7DE converts to decimal 2014. (7 × 16²) + (13 × 16¹) + (14 × 16⁰) = 1792 + 208 + 14 = 2014.

📝 例: 16 進数 7DE から 10 進数へ

7 × 16²= 7 × 256= 1792
D (13) × 16¹= 13 × 16= 208
E (14) × 16⁰= 14 × 1= 14
合計= 2014

Convert 10進数 Value to 16進数 Value

Converting a decimal value to hex follows 4 steps: divide the decimal number by 16, record the remainder as a hex digit, use the quotient as the next number to divide, and repeat until the quotient reaches 0.

Example: decimal 7562 converts to hex 1D8A. 7562 ÷ 16 = 472 remainder 10 (A). 472 ÷ 16 = 29 remainder 8 (8). 29 ÷ 16 = 1 remainder 13 (D). 1 ÷ 16 = 0 remainder 1 (1). Reading the remainders from last to first gives 1D8A.

例: 10 進数の 7562 から 16 進数へ

7562 ÷ 16商:472残り:10 (A)
472 ÷ 16商:29残り:8
29 ÷ 16商:1残り:13 (D)
1 ÷ 16商:0残り:1
上に読んでください ⬆️ : 1D8A

Hex to バイナリ and バイナリ to Hex

Hex to binary conversion replaces each hex digit with its 4-bit binary equivalent, then joins the groups in order. Hex 2AA converts to binary 0010 1010 1010, since 2 is 0010, and A is 1010 in each of the remaining 2 positions.

バイナリ to hex conversion groups binary digits into sets of 4 starting from the right, padding the leftmost group with zeros when it has fewer than 4 digits, then converts each group to its hex digit. バイナリ 1010101010 converts to hex 2AA, using the same grouped values in reverse.

🧩 ニブルマッパー: Hex 2AA

2
16 進数
A
16 進数
A
16 進数
↓ 各4ビット ↓
0010
1010
1010

結果:0010 1010 1010

Hex to Octal

Hex to octal conversion runs through binary as a middle step: convert the hex value to binary, regroup the binary digits into sets of 3 from the right, then convert each 3-digit group to its octal digit. Hex FF converts to octal 377: FF is binary 11111111, grouped as 011 111 111, which reads as 3, 7, 7.

🔄 16 進数 FF → 2 進数を介した 8 進数

FF
↓ 8ビットバイナリに展開
1 1 1 1 1 1 1 1
↓ 3 ビットのチャンクに再グループ化する
011
→ 3
111
→ 7
111
→ 7

Octal 結果:377

Hex to Integer

16 進数から整数への変換では、データ型の幅に応じて、16 進数値を符号なし整数または符号付き整数として読み取ります。符号なし 8 ビット 16 進値の範囲は 00 ~ FF、または 10 進数では 0 ~ 255 です。符号付き 8 ビット 16 進値は 2 の補数を使用するため、00 ~ 7F は 0 ~ 127 を表し、80 ~ FF は -128 ~ -1 を表します。符号なし 8 ビット整数としての 16 進数 FF は 255 に相当しますが、符号付き 8 ビット整数としては -1 に相当します。

同じ符号付き規則と符号なし規則は、16 ビット、32 ビット、および 64 ビットの整数に拡張され、さらに多くの 16 進数にわたって拡張されます。つまり、16 ビットの場合は 4 桁の 16 進数、32 ビットの場合は 8 桁の 16 進数、64 ビットの場合は 16 桁の 16 進数になります。

± 署名付きと署名なし: 0xFF

符号なし8ビット255
0255
符号付き 8 ビット (2 の補数)−1
−128127
符号付き 16 ビット255
−3276832767
同じビットでも、異なる解釈。

16進数 Calculation—Add, Subtract, Multiply, or Divide

Hex arithmetic follows the same rules as decimal arithmetic, with 2 adjustments: digits above 9 use letters A through F, and carrying or borrowing moves in units of 16 rather than 10.

Hex Addition

Add hex digits the same way you add decimal digits, converting letters to their decimal values when needed, then carry any amount of 16 or more into the next column. Example: B (11) + 8 = 19 in decimal, which equals 13 in hex. Write down 3, carry 1 into the next column.

Hex Subtraction

上の桁が下の桁より小さい場合は、次の列から 16 を借りて、列ごとに 16 進数を減算します。例: 5D1C − 3AF では、右端の列には C (12) − F (15) が必要であり、これは負であるため、この列は次の桁から 16 を借用します: 16 + 12 − 15 = 13、つまり D。

16 進数の乗算

Multiply hex digits using their decimal equivalents, convert each partial product back to hex, then add the partial products together following normal hex addition. A hexadecimal multiplication table removes the need to convert on every step.

ヘックス部門

細長い除算を使用して 16 進数を除算し、乗算と減算の各ステップを 10 進数ではなく 16 進数で実行します。減算中の借入は依然として 16 単位で移動します。

16進数 Multiplication Table

×123456789ABCDEF
1123456789ABCDEF
22468ACE10121416181A1C1E
3369CF1215181B1E2124272A2D
448C1014181C2024282C3034383C
55AF14191E23282D32373C41464B
66C12181E242A30363C42484E545A
77E151C232A31383F464D545B6269
881018202830384048505860687078
99121B242D363F48515A636C757E87
AA141E28323C46505A646E78828C96
BB16212C37424D58636E79848F9AA5
CC1824303C4854606C7884909CA8B4
DD1A2734414E5B6875828F9CA9B6C3
EE1C2A38465462707E8C9AA8B6C4D2
FF1E2D3C4B5A69788796A5B4C3D2E1

🔢 16 進数演算

(163)
(28)
=
BF

(191)

Common 16進数 Values

Hex10進数バイナリASCII
00000000000NUL
0A1000001010LF (newline)
203200100000Space
3048001100000
416501000001A
619701100001a
7F12701111111DEL
FF25511111111Extended byte

これら 8 つの値は、境界をマークするため頻繁に表示されます。00 はヌル バイト、20 は ASCII で単語を区切るスペース文字、41 は大文字のアルファベットで始まり、61 は小文字のアルファベットで始まり、FF は最大のシングルバイト値をマークします。

🗺️ ASCII Map Explorer

00
09
0A
0D
20
30
39
41
46
5A
61
66
7A
7F

16 進数からテキスト、ASCII、および UTF-8

Hex to text conversion splits the hex string into 2-character byte pairs, converts each pair to its decimal value, then reads those bytes as characters. Hex 48656C6C6F decodes to “Hello,” since 48 is H, 65 is e, 6C is l, 6C is l, and 6F is o.

Hex to ASCII follows the same byte-pair method, but ASCII only covers byte values 0 through 127, or 00 to 7F in hex. Hex to UTF-8 extends this for byte values above 7F, where the converter reads 2, 3, or 4 hex bytes together to decode a single character.

🗺️ ASCII Map Explorer

00
09
0A
0D
20
30
39
41
46
5A
61
66
7A
7F

Text to Hex

Text to hex conversion converts each character to its byte value using its character encoding, then writes each byte value as a 2-character hex pair. Text “Hi” converts to hex 4869, since H equals decimal 72 (hex 48) and i equals decimal 105 (hex 69).

✏️ Text → Hex: “Hi”

H
ASCII 72
i
ASCII 105
↓ decimal → hex ↓
48
69

結果:4869

Hex to Base64

Hex to Base64 conversion regroups the raw bytes a hex string represents into sets of 3 bytes (24 bits), splits each 24-bit group into four 6-bit segments, then maps each 6-bit segment to one of 64 Base64 characters (A-Z, a-z, 0-9, +, /). Hex 48656C6C6F, which is 5 bytes, converts to Base64 SGVsbG8=, with padding added when the byte count doesn’t divide evenly by 3.

🔗 Hex → Base64 Pipeline

48 65 6C 6C 6F
↓ hex pairs → raw bytes
72101108108111
↓ group into 3-byte (24-bit) chunks → split into 6-bit segments
010010000110010101
↓ map to Base64 alphabet
SGVsbG8=

Hex Color Conversions

A hex color code is a 6-character hex value that represents a color using 2 digits each for red, green, and blue. The code FF5733 represents a red-orange color: FF (255) red, 57 (87) green, and 33 (51) blue.

Hex to RGB

Hex to RGB conversion splits a 6-character hex color into 3 pairs, then converts each pair to its decimal value. Hex FF5733 converts to RGB(255, 87, 51), following the red, green, blue pair order.

Hex to HSL

Hex to HSL conversion extracts the RGB values first, then calculates hue, saturation, and lightness from the relative brightness and range of the RGB channels. Hue is measured in degrees from 0 to 360, while saturation and lightness are both measured as percentages from 0 to 100.

Hex to HSV

Hex to HSV conversion also starts from the extracted RGB values, then calculates hue, saturation, and value (brightness). HSV differs from HSL in how it defines brightness: HSV’s value channel tracks the highest of the 3 RGB channels directly, while HSL’s lightness averages the highest and lowest channels.

Hex to CMYK

16 進数から CMYK への変換では、最初に RGB が抽出され、次に RGB 値が印刷用にシアン、マゼンタ、イエロー、キー (黒) のパーセンテージに変換されます。 CMYK 値は減法的であり、インクが光を吸収する量を表します。一方、RGB および 16 進数の値は加法的で、画面が発する光の量を表します。

Hex to Pantone

Hex to Pantone conversion matches a hex color against the closest entry in the Pantone Matching System (PMS) library, since Pantone uses named ink formulations rather than a mathematical RGB or CMYK formula. The match is an approximation: 2 different hex values can map to the same Pantone swatch, and print output can vary from the on-screen hex preview depending on paper stock and printing process.

🎨 Color Decomposer: #FF5733

FF
Red: 255
57
Green: 87
33
Blue: 51
HSL11°, 100%, 60%
HSV11°, 80%, 100%
CMYK0%, 66%, 80%, 0%

Hex in Blockchain

Blockchain systems store nearly all raw data in hex format. Transaction identifiers, block hashes, addresses, and smart contract data all use hex because it maps directly to the underlying bytes without losing structure.

Transaction IDs

A Bitcoin transaction ID (txid) is a 64-character hex string. It represents the double SHA-256 hash of the serialized transaction, compressed from 32 raw bytes into hex form for readability.

Block Hashes

A block hash is also a 64-character hex string, produced by hashing the 80-byte block header twice with SHA-256. Bitcoin’s proof-of-work difficulty target requires the hash to fall below a threshold, which in hex terms means the hash must start with a set number of leading zeros.

Addresses and Public Keys

A Bitcoin public key is 33 bytes in compressed form or 65 bytes uncompressed, shown in hex before conversion to Base58Check or Bech32 format. An Ethereum address is a 40-character hex string (20 bytes) with a 0x prefix.

Opcodes and Script

Bitcoin Script uses single-byte opcodes referenced by their hex values. A standard Pay-to-Public-Key-Hash script reads 76 A9 14 [hash] 88 AC in hex, where 76 is OP_DUP, A9 is OP_HASH160, 88 is OP_EQUALVERIFY, and AC is OP_CHECKSIG.

Smart Contract Data

Ethereum smart contract calls encode as hex data in a transaction’s input field. The first 4 bytes form a function selector, derived from the Keccak-256 hash of the function signature. An ERC-20 transfer() call starts with the selector 0xA9059CBB.

⛓️ Transaction Anatomy

01000000

01

7b1eabe0209b1fe794124575ef807057c77ada2138ae4fa8d6c4de0398a14f3f

00000000

494830450221008949…

ffffffff

Hover over fields to decode the raw hex transaction bytes.

Hex in Programming and Data

16進数 shows up across 6 common programming and data tasks beyond basic number conversion: floating-point encoding, byte order handling, bitwise operations, machine code inspection, raw file analysis, and identifier generation.

Hex to IEEE 754

Hex to IEEE 754 conversion reads a hex value as a floating-point number using the IEEE 754 standard, which splits the bits into a sign bit, an exponent, and a mantissa. A 32-bit (single-precision) float uses 1 sign bit, 8 exponent bits, and 23 mantissa bits. The hex value 3F800000 converts to the floating-point value 1.0 under this standard.

Hex Endian Converter

A hex endian converter reverses the byte order of a hex value between big-endian and little-endian formats. Big-endian stores the most significant byte first; little-endian stores the least significant byte first. The 4-byte hex value 12345678 in big-endian becomes 78563412 in little-endian, since the byte sequence reverses while each byte’s own 2 digits keep their order.

16 進数 XOR 計算機

A hex XOR calculator applies the bitwise XOR operation to 2 hex values, comparing them bit by bit and returning 1 where the bits differ and 0 where they match. Hex FF XOR 0F equals F0, since every bit position where the 2 values disagree produces a 1.

Hex to Assembly

Hex to assembly conversion, also called disassembly, translates raw machine code bytes back into readable assembly instructions for a specific processor architecture. Each hex opcode maps to one instruction mnemonic, such as MOV, ADD, or JMP, though the exact mapping depends on the instruction set: x86, ARM, or another architecture.

Hex Dump Converter

A hex dump converter takes a binary file and displays its raw bytes in hex format, usually alongside an ASCII column showing the printable character for each byte. Hex dumps let developers inspect file headers, verify file signatures, and debug binary data without a specialized parser for every file type.

Hex to UUID

Hex to UUID conversion formats a 32-character (16-byte) hex value into the standard UUID pattern: 8-4-4-4-12 hex digits separated by hyphens, such as 550E8400-E29B-41D4-A716-446655440000. A UUID is a 128-bit value used to identify records or objects with a near-zero chance of collision across systems.

🖥️ Programming Data Formats

📊
IEEE 754
3F800000 → 1.0 (32-bit float)
🔀
Endian Swap
12345678 ⇄ 78563412
XOR Operation
FF ⊕ 0F → F0
⚙️
Assembly: 90 → NOP
Opcodes map to instructions
🔑
UUID Format
32 hex → 8-4-4-4-12

Conversion Reference

Hex10進数バイナリASCII
00000000000NUL
0A1000001010LF
3048001100000
416501000001A
619701100001a
7F12701111111DEL
FF25511111111

📚 ASCII Control Chars

Hex10進数バイナリASCII
00000000000NUL
0A1000001010LF
3048001100000
416501000001A
619701100001a
7F12701111111DEL
FF25511111111

Common Hex Values in Crypto

Hex ValueNameContext
0x76OP_DUPDuplicates the top stack item
0xA9OP_HASH160Applies SHA-256 then RIPEMD-160
0xACOP_CHECKSIGVerifies a signature
0x6AOP_RETURNMarks an output as unspendable
0x88OP_EQUALVERIFYChecks equality and verifies
0xAEOP_CHECKMULTISIGVerifies a multisig condition
0xA9059CBBtransfer(address,uint256)ERC-20 function selector
0x095EA7B3approve(address,uint256)ERC-20 function selector
0x70A08231balanceOf(address)ERC-20 function selector

🪙 Web3 & Bitcoin Ops

Hex ValueNameContext
0x76OP_DUPDuplicates the top stack item
0xA9OP_HASH160Applies SHA-256 then RIPEMD-160
0xACOP_CHECKSIGVerifies a signature
0x6AOP_RETURNMarks an output as unspendable
0x88OP_EQUALVERIFYChecks equality and verifies
0xAEOP_CHECKMULTISIGVerifies a multisig condition
0xA9059CBBtransfer(address,uint256)ERC-20 function selector
0x095EA7B3approve(address,uint256)ERC-20 function selector
0x70A08231balanceOf(address)ERC-20 function selector

Hex vs Other Number Systems

Propertyバイナリ (Base-2)Octal (Base-8)10進数 (Base-10)Hex (Base-16)
Digits used0, 10-70-90-9, A-F
Bits per digit13~3.324
One byte requires8 digits3 digits1-3 digits2 digits
Common prefix0b0oNone0x
255 expressed as11111111377255FF
Primary useLogic gates, bit flagsUnix permissionsEveryday arithmeticMemory, crypto, colors

📊 Base Comparison

HEX

2 chars

FF

当社の専用ツールを詳しく見る

Frequently Asked Questions

What is hexadecimal?

16進数 is a base-16 number system that uses 16 symbols: the digits 0 through 9 and the letters A through F. Each hex digit represents 4 binary digits, so 2 hex digits always equal 1 byte. Computers use hex to display raw data in a form that stays short and readable.

What is a hex converter?

A hex converter is a tool that translates a value between hexadecimal and another number format, such as decimal, binary, octal, or text. You enter a value in one field, and the tool returns the equivalent value in the target format within the same step.

How do I convert hex to decimal?

Multiply each hex digit by 16 raised to its position, then add the results together. The hex value 1A3 converts to decimal 419: (1 × 256) + (10 × 16) + (3 × 1) = 256 + 160 + 3 = 419.

TRY IT →

How do I convert decimal to hex?

Divide the decimal number by 16, record the remainder as a hex digit, then repeat the division on the quotient until the quotient reaches 0. Reading the remainders in reverse order gives the hex value. 10進数 1500 converts to hex 5DC using this method: 1500 ÷ 16 = 93 remainder 12 (C), 93 ÷ 16 = 5 remainder 13 (D), 5 ÷ 16 = 0 remainder 5. Reading the remainders backward gives 5DC.

TRY IT →

How do I convert hex to binary?

Replace each hex digit with its 4-bit binary equivalent, then join the groups together in order. The hex value 2AA converts to binary 0010 1010 1010, since 2 is 0010, and A is 1010 in each of the two remaining positions.

TRY IT →

How do I convert binary to hex?

Group the binary digits into sets of 4, starting from the right, padding the leftmost group with zeros if it has fewer than 4 digits, then convert each group to its hex digit. The binary value 1010101010 converts to hex 2AA: grouped as 0010 1010 1010, which reads as 2, A, A.

How do I convert hex to octal?

Convert the hex value to binary first, then regroup the binary digits into sets of 3 from the right, then convert each group of 3 to its octal digit. The hex value FF converts to octal 377: FF is binary 11111111, grouped as 011 111 111, which reads as 3, 7, 7.

How do I convert hex to text?

Split the hex string into 2-character byte pairs, convert each pair to its decimal value, then read those bytes as characters using ASCII or UTF-8. The hex string 48 65 6C 6C 6F decodes to “Hello,” since 48 is H, 65 is e, 6C is l, 6C is l, and 6F is o.

TRY IT →

How do I convert hex to ASCII?

Convert hex to ASCII the same way as hex to text: split the hex string into byte pairs, convert each pair to decimal, then match that decimal value against the ASCII table. ASCII only covers byte values 0 through 127 (00 to 7F in hex), so any byte above 7F falls outside standard ASCII and needs UTF-8 decoding instead.

How do I convert hex to UTF-8?

For byte values 00 through 7F, hex to UTF-8 conversion works exactly like hex to ASCII, with 1 byte per character. For byte values above 7F, UTF-8 uses multi-byte sequences, so the converter reads 2, 3, or 4 hex bytes together to decode a single character correctly.

How do I convert text to hex?

Convert each character to its byte value using its character encoding, then write each byte value as a 2-character hex pair. The text “Hi” converts to hex 48 69, since H equals decimal 72 (hex 48) and i equals decimal 105 (hex 69).

TRY IT →

What is the difference between hex and binary?

バイナリ uses 2 symbols (0 and 1), while hex uses 16 symbols (0-9 and A-F). One hex digit always equals 4 binary digits, so hex represents the same data using a quarter of the characters. The byte 0xFF in hex is 11111111 in binary.

What does the 0x prefix mean?

The 0x prefix marks a value as hexadecimal rather than decimal. Without it, “10” is ambiguous between ten (decimal) and sixteen (hex). The prefix started in the C programming language and now appears across most programming languages and blockchain protocols. Ethereum addresses always carry the 0x prefix; Bitcoin usually does not.

Can hexadecimal numbers contain letters?

Yes, hexadecimal numbers contain 6 letters: A, B, C, D, E, and F. These letters represent the decimal values 10 through 15, filling the gap left by decimal’s 10 single-digit symbols (0-9) in a 16-symbol system.

Is hexadecimal case-sensitive?

No, hexadecimal letters are not case-sensitive for their numeric value. FF and ff both equal decimal 255, and most converters accept either case or a mix of both. One exception exists in Ethereum, where address checksums encode extra information in the letter casing, so changing the case of an Ethereum address can invalidate its checksum even though the underlying value stays the same.

How many bytes are in a hexadecimal value?

A hexadecimal value contains 1 byte for every 2 hex digits, since each hex digit represents 4 bits and a byte holds 8 bits. A 2-character value like FF is 1 byte, a 4-character value like 1A3F is 2 bytes, and a 64-character value, common for cryptographic hashes, is 32 bytes.

Can hex values contain spaces?

No, raw hex encoding does not include spaces as part of the data itself. Spaces or colons are sometimes added between byte pairs for readability, such as 48 65 6C 6C 6F or 48:65:6C:6C:6F. Most hex conversion tools strip these separators automatically before processing the value.

How large can a hex number be?

There is no fixed limit on the size of a hex number. Blockchain applications commonly use 32-byte (256-bit) values for hashes and 20-byte (160-bit) values for addresses. A 32-byte hex string runs 64 characters long and can represent numbers up to roughly 1.16 × 10⁷⁷ in decimal, which requires arbitrary-precision arithmetic to convert without rounding errors.

What is hexadecimal used for in blockchain?

16進数 represents nearly all raw blockchain data, including transaction IDs, block hashes, public keys, addresses, Script opcodes, and smart contract calldata. Hex maps directly to binary data, with 2 hex characters equal to 1 byte, which keeps low-level protocol data compact and readable at the same time.

Why do blockchain explorers show data in hex?

Blockchain explorers show data in hex because hex preserves the exact byte structure without interpretation. Opcodes, version bytes, address prefixes, and hash outputs stay visible and verifiable in hex. 10進数 would obscure the byte-level structure, and binary would take up too much space to read.

不適切な 16 進変換のトラブルシューティングを行うにはどうすればよいですか?

Check 5 common sources of error when a hex conversion looks wrong: leading or trailing whitespace in the input, an unremoved 0x prefix, byte order (endianness) mismatched between big-endian and little-endian reads, signed versus unsigned interpretation of the same bits, and a dropped leading zero that shifts every digit’s position. Comparing the value against a known conversion table entry, such as FF equaling 255, isolates which of these 5 causes applies.