2進数、8進数、10進数、16進数の間で数値を変換します。どのフィールドを編集しても即座に他が更新されます。大きな値も端数なく正確に変換します。
進数変換の使い方
4つのフィールドのいずれかに数値を入力してください。
入力と同時に他の進数が即座に更新されます。
大文字16進数の切り替えと、ワンクリックでの値のコピーができます。
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.
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.
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.
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.
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>関連ツール
CSVをMarkdownテーブルに、MarkdownテーブルをCSVに双方向で変換します。
JSON Webトークンをデコードしてヘッダーとペイロードを検査します。有効期限と発行時刻を人間が読める形式で表示します。すべてブラウザ内で実行されます。トークンはアップロードされません。
正規表現をリアルタイムでテキストに対してテストします。すべてのマッチをハイライト表示し、キャプチャグループとフラグを表示します。すべてブラウザ内で実行されます。
cron式を構築・確認します。プリセットを選択するか5フィールドを編集し、お使いのタイムゾーンでの次回実行時刻を確認できます。すべてブラウザ内で実行されます。