Integer base converter

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

About Integer base converter

Converts an integer between number bases from 2 to 64: binary, octal, decimal, hexadecimal, base64-style digits and anything in between. Handles numbers far beyond 64 bits without losing precision.

When you would use it

How to use it

  1. Type the number and set the base it is written in (2 to 64).
  2. Read it in binary, octal, decimal and hexadecimal at once.
  3. Set a custom output base at the bottom for anything else, for example base 36 or 58.

Things worth knowing

Frequently asked questions

Why is my hexadecimal input rejected?
Probably because of uppercase letters or a 0x prefix. Hex digits must be lowercase a-f here (uppercase letters are digits of bases above 36), and the prefix must be removed.
What is base 36 or base 58 used for?
Base 36 (0-9, a-z) gives compact, case-insensitive identifiers such as short URLs. Base 58 is used by Bitcoin addresses, although Bitcoin's alphabet differs from the one here, so results are not interchangeable.

All the tools