Base Conversion (Any Base)

Convert any number between any two bases from 2 to 36, including binary, octal, decimal, hexadecimal, and custom bases.

Use the Base Conversion (Any Base)

Input Number

(2–36)
(2–36)

Result

Enter a number to see the result

Common Representations

Enter a number above to see all representations.

Summary

This tool converts numbers between any two bases from 2 to 36. Enter a number in any base — binary (2), octal (8), decimal (10), hexadecimal (16), or any custom radix up to 36 — and get the equivalent value in your target base instantly. Digits above 9 use letters A–Z.

How it works

  1. Enter the number you want to convert in the input field.
  2. Set the source base (the base your number is already in).
  3. Set the target base (the base you want to convert to).
  4. The result appears instantly as you type.
  5. Click Copy to copy the result to your clipboard.
  6. Use the quick-select buttons to jump to common bases like binary, octal, decimal, or hex.

Use cases

  • Convert binary (base 2) to hexadecimal (base 16) for low-level programming.
  • Check decimal-to-octal conversions for Unix file permissions.
  • Explore number systems in mathematics or computer science coursework.
  • Convert between any custom radixes for encoding schemes or puzzles.
  • Verify manual base conversion work step-by-step.
  • Quickly switch between common number bases without memorizing conversion tables.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu