Number Base Converter

Free online number base converter. Convert numbers between binary, octal, decimal, and hexadecimal bases instantly in your browser. — runs 100% in your browser, client-side only. No data is sent to any server. Free to use, no account required.

Free Client-Side No Login No Storage
Loading tool...

How to Use the Number Base Converter

  1. Select the source base (binary, octal, decimal, hex).
  2. Enter the number and click Convert.

Supports arbitrarily large numbers via BigInt. Outputs in all four bases simultaneously.

What is Number Base Converter?

A number base converter transforms numbers between different radixes: binary (base-2), octal (base-8), decimal (base-10), hexadecimal (base-16), and any custom base from 2 to 36.

Why Use This Tool

Different bases serve different purposes — binary for bit patterns, hex for bytes, octal for Unix permissions. Converting between them is essential for low-level programming and debugging.

When to Use It

Use base conversion when working with memory addresses, understanding binary data, converting Unix permissions, debugging bit patterns, or learning number systems.

Common Uses

  • Converting between hex, decimal, and binary
  • Understanding Unix permission values
  • Debugging bit patterns

Frequently Asked Questions

Why does programming use different bases?

Each has advantages: binary shows individual bits, hex is compact for bytes (2 digits = 1 byte), octal maps to 3-bit groups (used in Unix permissions). Decimal is human-readable.

What bases are supported?

Any base from 2 to 36. Bases above 10 use letters: A=10 through Z=35. Common bases are 2 (binary), 8 (octal), 10 (decimal), 16 (hex).

How do I convert manually?

To convert to decimal: multiply each digit by base^position (right-to-left). To convert from decimal: repeatedly divide by target base, remainders form digits.