コード、データと QRツール

Integer Base 変換

「Integer Base 変換」はコード、データと QRに使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。

ブラウザ内で処理登録不要プライバシーの説明 ↗

Optional 0b, 0o, or 0x prefix; no decimals, separators, or whitespace.

使い方

使い方

  1. Enter a whole number and choose its input and output bases.
  2. Use a standard prefix when helpful, such as 0b for binary or 0x for hexadecimal.
  3. Convert, then copy or download the exact result.

Exact values, practical bases

Bases 2 through 36 are supported with digits 0–9 and letters A–Z. Conversion uses arbitrary-precision integers rather than floating point, so large values are not rounded.

Prefixes and signs

Binary, octal, and hexadecimal prefixes 0b, 0o, and 0x are accepted when they match the selected input base. An optional leading plus or minus sign is preserved in the result; separators, decimals, and scientific notation are rejected.

Private browser processing

Parsing, conversion, copying, and download preparation happen locally in your browser. The page does not upload or store your input.

よくある質問

あわせて知りたいこと

How large can an integer be?

There is no small fixed digit limit; the browser’s available memory is the practical limit. BigInt keeps conversion exact for very large integers.

Which prefixes are accepted?

Use 0b for base 2, 0o for base 8, and 0x for base 16. The prefix must match the selected input base.

Can I convert decimals or fractions?

No. This tool is for integers only. Decimal points, exponents, and fractional values are rejected.

Does this upload my number?

No. Conversion runs entirely in your browser.