時間/数値
進数変換ツール
2進数、8進数、10進数、16進数、および任意の基数(2-36)の間で双方向に変換 — いずれかのフィールドに数値を入力してください。
Number systems are just different ways of writing the same number. Binary (base 2) is what processors use at the lowest level, hexadecimal (base 16) is a compact way to write binary data in code, and decimal is the everyday human notation.
How to use it
- Enter a number in any field (binary, octal, decimal, hexadecimal, or a custom base 2-36) — every other field updates instantly.
- For a custom base, pick any value from 2 to 36 — handy for less common systems, like base36 used in short identifiers.
- Characters invalid for the selected base (like a "2" in binary) are flagged as an input error.
Common uses
- Converting a hex color or byte value into a decimal number for calculations.
- Checking a bitmask or set of flags written in binary.
- Working with low-level code (network protocols, embedded systems) where values are often given in hex or octal.
Things to keep in mind
In hexadecimal, the letters A-F (or a-f) stand for the values 10-15 — case usually doesn't matter.
For bases above 16, digit symbols keep going further down the alphabet (G, H...) up to Z for base 36.
よくある質問
コンバーターはどの数体系をサポートしていますか?
2進数、8進数、10進数、16進数への素早いアクセスに加え、2から36までの任意の基数 — 9を超える桁はラテン文字A-Zで表されます。
負の数や非常に大きな整数を変換できますか?
はい、数値の前の「-」記号はすべての基数でサポートされており、数値のサイズに固定の32/64ビット制限はありません — 計算は任意精度で行われます。
データはサーバーに送信されますか?
いいえ、すべての変換はJavaScriptを介してブラウザ内で即座に行われます — 入力した数値はどこにも送信されません。
進数変換とBase64はどう違いますか?
これらは根本的に異なるものです。進数変換ツールは同じ数値を位取り記数法(BIN/OCT/DEC/HEX)の間で変換しますが、Base64は任意のバイナリデータ(ファイル、画像)をテキスト用のチャネルで送信するためにテキスト文字列にエンコードします。
なぜ16進数ではA-Fの文字が使われるのですか?
基数16には16種類のユニークな数字が必要ですが、アラビア数字は0-9の10種類しかありません——そのため10〜15の値にはラテンアルファベットの最初の数文字A-Fが使われます。16を超える基数(36まで)でも、アルファベットの使用は続きます。