Base Conversion (Any Base)

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

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

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

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-13 · Reviewed by Nham Vu