123024.com · Base Convert

Base Converter

Base conversion represents the same integer in binary, octal, decimal, hex, or higher bases. Permission bitmasks, color values, short-link codes, and some ID designs all use non-decimal forms. This tool covers common base ranges and converts automatically after you pick From/To.

How to use

Choose From and To bases, then paste a number. After you stop typing — or when you change bases — the tool converts automatically. No Convert button, and no panel Swap (use ⇄ to swap From/To bases).

Typical scenarios

Move hex-related color values to decimal, inspect flag bits in binary, or understand character sets in base36/base62 schemes.

Characters must be valid for the selected base; strip prefixes like 0x before converting so they are not treated as illegal characters.

Tips

  • Auto-convert runs after input pauses and again whenever From/To changes; a short hint confirms the conversion.
  • Confirm unsigned integer semantics before interpreting the result.
  • This tool uses BigInt, so values beyond Number.MAX_SAFE_INTEGER still convert correctly within the supported alphabets.
  • Digits must belong to the From alphabet — for hex use 0-9a-f; strip 0x / spaces first if needed.