PrivTab

基数変換

2 進数、16 進数、10 進数を変換

ブラウザで動作 · アップロード不要

このツールとページ内の説明は、現在は英語のみです。動作は同じで、すべてブラウザ内で実行されます。

  • 何も端末から出ません
  • サーバーによるサイズ制限なし
  • 登録不要・透かしなし
  • 無料

How to convert between number bases

  1. Type the number and choose the base it is written in.
  2. Read it in binary, octal, decimal and hexadecimal (and one more base of your choice).
  3. Copy the results.

Good to know

  • Numbers of any length are converted exactly; they are not rounded like in most calculators.
  • Prefixes such as 0x (hex), 0b (binary) and 0o (octal) are understood, and spaces or underscores are ignored.
  • Two's complement shows how a negative number is stored in 8, 16, 32 and 64 bits.
  • Bases above 10 use letters after 9: a = 10, b = 11, up to z = 35.

よくある質問

Why does −1 show as 11111111?

Computers store negative numbers in two's complement: −1 in 8 bits is all ones (255 if read as unsigned).

Is anything sent anywhere?

No. The calculation happens in your browser as you type; nothing is sent anywhere.