Integer base converter

Convert a number between different bases (decimal, hexadecimal, binary, octal, base64, ...)

Binary (2)
Octal (8)
Decimal (10)
Hexadecimal (16)
Base64 (64)
Custom:

User Guide & Notes

How to Use
  1. Enter a number in the "Input number" field
  2. Set the base of your input number (the default is 10 for decimal)
  3. View the number converted to various bases
  4. Use the Custom field to convert to any base between 2 and 64
  5. Click the copy button to copy any value to clipboard
Number Bases Explained
  • Binary (Base 2): Uses only 0 and 1. The foundation of all digital computing.
  • Octal (Base 8): Uses digits 0-7. Historically used in computing as a more compact representation of binary.
  • Decimal (Base 10): Our standard number system using digits 0-9.
  • Hexadecimal (Base 16): Uses digits 0-9 and letters A-F. Commonly used in computing for memory addresses, color codes, etc.
  • Base64: Uses 64 different ASCII characters (A-Z, a-z, 0-9, +, /) to represent binary data. Often used for encoding binary data in web applications.
Common Use Cases
  • Converting between decimal and hexadecimal for color codes in web development
  • Converting between decimal and binary for understanding bit operations
  • Working with memory addresses in hexadecimal format
  • Converting ASCII character codes between decimal and hex
  • Working with different number representations in programming languages