Skip to main content
SiteIndex
開発者向けすぐに利用できます

2進数・10進数・16進数を相互変換

0以上の整数を2進数、10進数、16進数の間で変換します。同じ基数の数値リストもまとめて変換できます。

使い方ガイド

ツール操作エリア

アカウント不要
数値基数変換ツール

Binary (base 2)

0b11111111

Octal (base 8)

0o377

Decimal (base 10)

255

Hexadecimal (base 16)

0xFF

Base 10 → base 2: 0b11111111

112816413211618141211
Step-by-step conversion

Positional expansion in base 10: 2×10^2 + 5×10^1 + 5×10^0 = 255

Decimal to base 2, divide by the target base and read remainders from bottom to top:

  1. 255 ÷ 2 = 127 remainder 1
  2. 127 ÷ 2 = 63 remainder 1
  3. 63 ÷ 2 = 31 remainder 1
  4. 31 ÷ 2 = 15 remainder 1
  5. 15 ÷ 2 = 7 remainder 1
  6. 7 ÷ 2 = 3 remainder 1
  7. 3 ÷ 2 = 1 remainder 1
  8. 1 ÷ 2 = 0 remainder 1
一括変換

Convert a list of numbers in the selected input base, one value per line.

Quick reference (0–255)

DecimalBinaryHexOctal
0000
81000810
101010A12
16100001020
25511111111FF377

Hex is useful for compact byte values and memory addresses. Octal is used in Unix permissions (for example, 755). Binary can be grouped into fours to convert to hexadecimal.

Common questions: Base 16 uses digits 0–9 and A–F. Octal 755 represents file permissions. Prefixes 0b, 0o and 0x select binary, octal and hexadecimal automatically.

数値基数変換ツールとは

0以上の整数を2進数、10進数、16進数の間で変換します。同じ基数の数値リストもまとめて変換できます。

使い方

0以上の整数を2進数、10進数、16進数の間で変換します。同じ基数の数値リストもまとめて変換できます。

よくある用途

0以上の整数を2進数、10進数、16進数の間で変換します。同じ基数の数値リストもまとめて変換できます。

利用上の注意

結果はブラウザー、ネットワーク、入力内容、外部サービスによって異なる場合があります。このツールは情報提供を目的としており、専門的な診断や助言に代わるものではありません。

よくある質問
数値基数変換ツールとは
0以上の整数を2進数、10進数、16進数の間で変換します。同じ基数の数値リストもまとめて変換できます。

関連ツール