Monu Tools

進数変換

2進数、8進数、10進数、16進数の間で数値を変換します。どのフィールドを編集しても即座に他が更新されます。大きな値も端数なく正確に変換します。

進数変換の使い方

  1. 01

    4つのフィールドのいずれかに数値を入力してください。

  2. 02

    入力と同時に他の進数が即座に更新されます。

  3. 03

    大文字16進数の切り替えと、ワンクリックでの値のコピーができます。

What it does

This number base converter switches whole numbers between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Every field is editable, so you can type into any base and read the equivalent in the others instantly.

How number bases work

A number base is just how many distinct digits a system uses before it rolls over to the next position. Decimal uses ten (0 to 9), binary uses two (0 and 1), and hexadecimal uses sixteen, adding a to f for the values ten to fifteen, which is why a single hex digit neatly represents four binary bits.

Exact results with big integers

Conversions use arbitrary-precision integers (BigInt), so even very long values stay exact, without the rounding errors that affect ordinary floating-point numbers once they get large.

Why bases matter in low-level work

Bases come up all over low-level work: hexadecimal for colors, bytes and memory addresses, binary for flags and network masks, and octal for Unix file permissions. Reading the same value across bases makes debugging and bit-twiddling much easier.

Input rules and limits

A leading minus sign is supported for negatives, spaces are ignored so you can group digits for readability, and an option shows hexadecimal in upper or lower case.

It converts integers only; fractional base conversion is a separate problem and is intentionally left out so the results stay exact. Everything runs in your browser.

よくある質問

対応している進数は何ですか?

2進数(基数2)、8進数(基数8)、10進数(基数10)、16進数(基数16)に対応しています。いずれのフィールドも編集でき、他の値はそれに従って更新されます。

非常に大きな数値も処理できますか?

はい。任意精度整数(BigInt)を使用しているため、非常に大きな値でも通常の浮動小数点数に影響する丸め誤差なしに正確に変換できます。

負の数値も入力できますか?

はい。先頭のマイナス記号に対応しています。スペースは無視されるため、読みやすさのために数字をグループ分けすることもできます。

小数や分数に対応していますか?

いいえ。整数のみを変換します。小数の進数変換は別の問題であり、結果を正確に保つために意図的に除外されています。

このツールを埋め込む

このツールをご自身のウェブサイトに追加できます。下のコードをコピーしてください。内容は自動的に最新の状態に保たれます。

<iframe src="https://monu.tools/embed/ja/number-base-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

関連ツール