Number Base Converter

Base
Value
Explanation
211011111101010010Binary
8337522Octal
10114514Decimal
161bf52Hexadecimal (lowercase)
266daaNumbers + uppercase letters, excluding ILOU
323fqiNumbers + lowercase letters
362gcyNumbers + uppercase and lowercase letters
52GiaNumbers + uppercase and lowercase letters, excluding 0O1I
58y2mNumbers + uppercase and lowercase letters
62tN0Numbers + uppercase and lowercase letters
Overview
Generated by AI

Quickly convert numbers between different base systems, supporting bases 2-62 in mainstream encoding systems. Suitable for programming, cryptography, data encoding, and other scenarios, providing real-time conversion with detailed explanations.

Supported Base Systems

Binary (Base 2)

  • Character Set: 0-1
  • Uses: Computer low-level representation, bitwise operations, digital circuits
  • Example: 1110010 = 114

Octal (Base 8)

  • Character Set: 0-7
  • Uses: Unix file permissions, traditional computer systems
  • Example: 162 = 114

Decimal (Base 10)

  • Character Set: 0-9
  • Uses: Human daily number system
  • Example: 114 = 114

Hexadecimal (Base 16)

  • Character Set: 0-9, a-f (lowercase)
  • Uses: Memory addresses, color codes, hash values, binary data representation
  • Example: 72 = 114

Base 26

  • Character Set: Numbers + uppercase letters (except I, L, O, U)
  • Uses: Unambiguous identifier systems
  • Features: Removes easily confused characters

Base 32

  • Character Set: Numbers + lowercase letters
  • Uses: Human-readable encoding, URL-safe identifiers
  • Features: Case-insensitive, avoids 0/O and 1/I confusion

Base 36

  • Character Set: Numbers + case-insensitive letters
  • Uses: Short URLs, compact identifiers
  • Features: Maximum case-insensitive base system

Base 52

  • Character Set: Numbers + case-sensitive letters (except 0, O, 1, I)
  • Uses: High-density encoding while avoiding confusion
  • Features: Removes confusing characters while maintaining high encoding efficiency

Base 58

  • Character Set: Numbers + case-sensitive letters
  • Uses: Bitcoin addresses, IPFS hashes
  • Features: Removes 0, O, I, l and other easily confused characters

Base 62

  • Character Set: Numbers + case-sensitive letters
  • Uses: Short link generation, database ID encoding
  • Features: Maximum character set, highest encoding density

Use Cases

Programming

  • Convert memory addresses (hexadecimal ↔ decimal)
  • Handle bitwise operations (binary)
  • Debug network packets (hexadecimal)
  • Understand data encoding formats

Data Encoding

  • Generate short URLs (Base 62)
  • Encode database auto-increment IDs (Base 36/62)
  • Create human-readable identifiers (Base 32)
  • Compress data representation

Cryptography

  • View different representations of hash values
  • Analyze encrypted data
  • Handle blockchain addresses (Base 58)
  • Understand encoding mechanisms

Education

  • Understand computer number representation
  • Learn base conversion algorithms
  • Master different base application scenarios
  • Practice mathematical calculations

How to Use

  1. Enter number to convert in input box
  2. Select current number's base from dropdown menu
  3. View conversion results for all bases in results table

Tool converts automatically in real-time without button clicking.

Conversion Principles

Basic approach for base conversion:

  1. Any base → Decimal: Multiply each digit by its positional weight (power of base) then sum
  2. Decimal → Any base: Continuously divide by target base, taking remainders in reverse order

This tool uses a universal algorithm, first converting input to decimal, then to target base.

Base Selection Guide

  • Binary: Understand low-level logic
  • Hexadecimal: View memory and data
  • Octal: Unix permission system

Data Encoding

  • Base 62: Shortest encoding for short links
  • Base 36: Case-insensitive compact encoding
  • Base 58: Unambiguous Bitcoin addresses

Human-readable

  • Base 32: URL-safe and case-insensitive
  • Base 26: Pure letter encoding
  • Decimal: Daily use

Important Notes

  • Input must be valid number characters conforming to selected base's character set
  • Different bases have different character sets; note case sensitivity
  • Very large numbers may be limited by JavaScript number precision
  • Some bases use lowercase letters, others use uppercase

Common Application Examples

Color Code Conversion

Hexadecimal #FF5733 → Decimal RGB (255, 87, 51)

File Permissions

Octal 755 → Binary 111 101 101
Meaning: rwxr-xr-x
Decimal 123456789 → Base 62 8M0kX
Saves characters, easy to share

Tool Comparison

Compared to online calculators, this tool simultaneously displays multiple base results without repeated conversions. Compared to programming language built-in functions, this tool provides visual interface with detailed explanations, better for learning and verification.

Show more