Advertisement
top slot

Number Base Converter

Binary ↔ Octal ↔ Decimal ↔ Hex ↔ any base 2–36

Developer

Number Base Converter

Binary ↔ Octal ↔ Decimal ↔ Hex ↔ any base 2–36

Advertisement
top slot
Result

About this tool

Convert a number between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36. Uses arbitrary-precision BigInt arithmetic — handles numbers far larger than 64 bits with no rounding. Click any output to copy.
Advertisement
in-content slot

Formula

Each digit position d in base b contributes d × bⁿ
Decimal: 255 = 2·10² + 5·10¹ + 5·10⁰
Binary: 11111111 = 1·2⁷ + 1·2⁶ + … + 1·2⁰ = 255
Hex: FF = 15·16¹ + 15·16⁰ = 255

How to use

  1. 1 Type the number into the input field.
  2. 2 Pick the input base — what base your number is currently in.
  3. 3 All four standard bases (binary, octal, decimal, hex) appear instantly.
  4. 4 For an arbitrary base (e.g. base 36, base 7), use the custom output box.
  5. 5 Click any output card to copy that representation.

Examples

255 (decimal) → hex FF
11111111 (binary) → decimal 255
DEADBEEF (hex) → decimal 3735928559
1000 (decimal) → base 36 rs
-15 (decimal) → binary -1111

Frequently asked questions

Base 36 uses digits 0–9 and letters a–z (10 + 26 = 36). Going higher requires inventing new symbols, which is non-standard.
Yes — prefix the input with a minus sign. Output is shown with the same sign. For two's complement / bitwise representation use the Developer Calculator.
Limited only by browser memory. Toolenza uses BigInt, so a 100-digit decimal number converts cleanly. Large numbers may take a few milliseconds.
This tool is for pure base conversion of any size. The Developer Calculator focuses on bitwise operations and 64-bit arithmetic.

Related tools

Embed this tool on your site

Drop a one-line iframe snippet into any blog, lesson plan, or knowledge base. Powered-by-Toolenza link included.

Embed this tool

Paste this snippet into any HTML page. The tool runs entirely in your reader's browser.

Advertisement
bottom slot
Sticky ad — mobile-sticky

Number Base Converter

No reviews yet — be the first to share your thoughts.

Your rating
  1. No reviews yet — be the first to share your thoughts.
Powered by Codenzia
Sticky ad — mobile-sticky
↑↓ navigate open
Toolenza Brain
Tip: describe a result you want, not a tool. The Brain picks for you.
⌘⇧K to open · esc to close
Thanks! We read every message.