メインコンテンツへスキップ

進数変換ツール

2進数から36進数まで、任意の基数間で数値を変換します — 2進数、8進数、10進数、16進数など。

Input
Input base:
0 chars | 0 bytes
Output
Decimal
Binary
Octal
Hexadecimal

Programmers regularly encounter numbers in bases other than 10: memory addresses in hexadecimal, file permissions in octal, network masks in binary, and custom encoding schemes in unusual bases. Mentally converting between them is slow and error-prone. A reliable base converter removes that friction, letting you focus on what the number means rather than its representation.

This tool converts any integer between base 2 and base 36, covering every base used in practice — binary, octal, decimal, hexadecimal, base32, base36, and everything in between. Paste a value, select its source base, and see the result in all common bases simultaneously. Useful for embedded development, cryptography, colour manipulation, and understanding compiler or assembler output.

進数変換をオンラインで行う方法

  1. 1

    数値と元の基数を入力

    数値を入力し、その基数(2〜36)を選択してください。2進数、8進数、10進数、16進数が一般的なプリセットです。

  2. 2

    すべての表現を確認

    2進数、8進数、10進数、16進数の出力が同時に更新されます。その他の変換には任意の対象基数を入力してください。

  3. 3

    大きな数値を処理

    ツールは任意精度整数にJavaScriptのBigIntを使用します。64ビット値以上も精度を失わずに変換できます。

How Base Conversion Works

Every positional numeral system represents an integer as a sum of digit values multiplied by powers of the base. The digits used for bases above 10 are the lowercase letters a–z, so base 16 uses 0–9 and a–f, and base 36 uses 0–9 and a–z — giving 36 distinct symbols. To convert from any base to another, the standard algorithm first converts the input string to a native integer by accumulating `digit * base^position` for each digit, then repeatedly divides that integer by the target base, collecting remainders as the output digits from least significant to most significant.

For large numbers, arbitrary-precision arithmetic is required — JavaScript's native numbers lose precision beyond 2^53, so this tool uses BigInt internally to handle arbitrarily large integers without rounding errors.

FileCrank 進数変換ツールを使う理由

  • ✓ 2進数から36進数まで任意の2つの基数間で変換。
  • ✓ 2進数、8進数、10進数、16進数を同時に表示。
  • ✓ 任意精度の大きな整数のBigIntサポート。
  • ✓ 完全にブラウザ内で動作 — データはサーバーに送信されません。

機能と仕様

最大ファイルサイズ
最大100 MB
プライバシー
ファイルは約1時間後に削除されます
料金
無料、登録不要
処理方式
100%クライアントサイド
データはブラウザの外に出ません — すべての処理はローカルです。アカウントや登録不要。使用制限なしで無料。

よくある質問

このコンバーターが対応できる基数は何ですか?

2〜36の任意の整数基数に対応。基数2は2進数、基数8は8進数、基数10は10進数、基数16は16進数です。基数11〜36は9を超える数字にA〜Zを使用します。

このコンバーターは精度を失わずに大きな数値を処理できますか?

はい。ツールはすべての計算にJavaScriptのBigIntを使用し、任意サイズの整数をサポートします。標準のJavaScript Numberは2^53 − 1(約9000兆)を超えると精度を失います。

16進数入力に'G'を入力するとエラーになるのはなぜですか?

有効な16進数の桁は0〜9とA〜F(大文字小文字を区別しない)です。'G'は有効な16進数の桁ではありません。ツールは無効な文字をインラインでハイライト表示します。

このツールと2進数、16進数、8進数コンバーターの違いは何ですか?

進数変換ツールは任意の2つの基数間の純粋な数値基数変換に焦点を当てています。2進数、16進数、8進数コンバーターは入力のテキスト(文字)表現も表示します — 単に数値ではなく文字列で動作します。

Browser Converter vs. Python int() vs. Programmer Calculator

Python's `int('ff', 16)` and `bin()` / `hex()` / `oct()` functions handle common bases elegantly, but require a REPL and only cover bases 2, 8, 10, and 16 natively. The Windows Programmer Calculator covers binary, octal, decimal, and hex but caps at 64-bit integers and is not available on every platform. A browser-based converter supports all bases 2–36, works on any OS, and shows all representations at once for quick cross-reference.

FileCrank 進数変換ツールはBigInt精度で2〜36の任意の基数間で整数を変換し、2進数、8進数、10進数、16進数を同時に表示します。ブラウザ内で動作します。

Advertisement

Ad