Skip to content
BCBinary Code Translator
Menu

Online Converter

Base Converter

Convert numbers between bases 2 through 62, including binary, decimal, hexadecimal, Base32, Base36, Base58, and Base62. Runs locally with clear examples.

Preview in Common Bases

Understanding Number Bases

A number base (or radix) defines how many unique digits are used to represent numbers in a positional numeral system.

Common Bases:

  • Binary (Base 2): Uses digits 0 and 1. Used by computers.
  • Octal (Base 8): Uses digits 0-7. Sometimes used in computing.
  • Decimal (Base 10): Uses digits 0-9. Standard for human calculations.
  • Hexadecimal (Base 16): Uses digits 0-9 and A-F. Common in programming.

Example: The number 42 in decimal equals 101010 in binary, 2A in hexadecimal, and 52 in octal.

Common Number Conversions

Here are some common number conversions across different bases:

Decimal Binary Octal Hex
1 1 1 1
10 1010 12 A
16 10000 20 10
42 101010 52 2A
255 11111111 377 FF

Extended Bases (32, 36, 58, 62)

  • Base 32: Uses 0-9 followed by A-V.
  • Base 36: Uses 0-9 followed by A-Z and is case-insensitive on input.
  • Base 58: Uses 0-9, A-Z, and a-v; it does not remove look-alike characters.
  • Base 62: Uses 0-9, A-Z, and a-z, with uppercase and lowercase treated as different digits.

These modes are positional number bases built from the shared alphabet 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz. Base 32 here is not RFC 4648 Base32, and Base 58 here is not the Bitcoin Base58 alphabet or Base58Check encoding. Use the dedicated encoding tools when you need those formats.

Frequently asked questions

What is a base converter?

A base converter translates numbers between different numeral systems (bases). The most common bases are binary (2), octal (8), decimal (10), and hexadecimal (16).

What bases are supported?

This converter supports bases 2 through 62, including Binary (2), Octal (8), Decimal (10), Hexadecimal (16), Base 32, Base 36, Base 58, and Base 62.

How do I convert between bases?

Simply select your source base, enter the number, and select your target base. The conversion happens automatically in real-time.

Why use different number bases?

Different bases provide different positional number representations. This tool uses the same digits-first alphabet for every base from 2 to 62; its Base 32 and Base 58 modes are not the specialized Base32 or Bitcoin Base58 encodings.

Related tools

View all tools

Cookie Preferences

Manage your cookie preferences. Necessary cookies cannot be disabled.

Necessary

Required

Required for language selection, privacy choices, and basic site functionality.

Cookies: NEXT_LOCALE

Analytics

Optional analytics cookies help us understand traffic and improve the website.

Cookies: _ga, _gid, _gat, _clck, _clsk

Advertising

Optional advertising cookies may be used to show relevant ads and measure performance.

Cookies: __gads, _gcl_au, IDE