🔢 Number Base Converter
Convert numbers between any base from 2 to 36. Real-time conversion with BigInt support for arbitrarily large numbers.
Free Number Base Converter
Convert numbers between any radix from 2 to 36 instantly. Supports binary, octal, decimal, hexadecimal, base 32, and base 36 with simultaneous output in all bases. Uses JavaScript BigInt for arbitrarily large numbers with no precision loss. Binary output is grouped into 4-bit nibbles and hexadecimal into 2-character byte pairs for easy reading. Includes a signed/unsigned toggle that shows two's complement representation for binary values. All processing happens in your browser.
What is a Number Base Converter?
A number base converter is a tool that translates numbers between different numeral systems, also known as radices. Every numeral system uses a specific set of digits to represent values. For example, the decimal system (base 10) uses digits 0 through 9, while binary (base 2) uses only 0 and 1. Hexadecimal (base 16) extends the digit set with letters A through F. Understanding how to convert between these bases is essential for programming, digital electronics, networking, and computer science in general.
This free online number base converter lets you instantly translate any number between bases 2 through 36 without installing software or signing up for an account. It is especially useful for developers working with binary data, memory addresses in hexadecimal, or file permission values in octal. Because the tool runs entirely in your browser using JavaScript BigInt, it handles arbitrarily large numbers without losing precision, making it suitable for cryptographic values, large integer calculations, and scientific computing.
How to Use This Tool
- Select your input base from the dropdown or click one of the quick-select buttons (BIN, OCT, DEC, HEX, B32, B36). You can also type any custom base from 2 to 36 in the custom base field.
- Type or paste your number into the input field. The tool accepts common prefixes like 0b for binary, 0o for octal, and 0x for hexadecimal. Spaces and underscores are ignored, so you can use grouping for readability.
- View the converted values displayed simultaneously in binary, octal, decimal, hexadecimal, base 32, and base 36. Each output card shows the formatted result with appropriate grouping.
- Click the Copy button on any output card to copy the value to your clipboard, complete with the standard prefix for that base. Enable the signed toggle to see two's complement representations for negative numbers.
Key Features
- Real-Time Conversion - Results update instantly as you type, with no need to press a button or wait for processing.
- BigInt Support - Handles numbers of any size without precision loss, unlike standard JavaScript number operations that cap out at 2^53.
- Grouped Output - Binary values are split into 4-bit nibbles and hexadecimal into byte pairs for easy reading and verification.
- Two's Complement Display - Toggle signed mode to see 8-bit, 16-bit, 32-bit, and 64-bit two's complement representations for negative numbers.
- Custom Base Range - Convert to and from any base between 2 and 36, covering all standard and many specialized numeral systems.
Frequently Asked Questions
What is the largest number this converter can handle?
There is no practical upper limit. The converter uses JavaScript BigInt, which supports integers of arbitrary length. Whether you need to convert a 256-bit cryptographic key or a simple byte value, the tool will produce accurate results without rounding or truncation.
Why would I need to convert between number bases?
Different number bases serve different purposes in computing. Binary is the native language of processors, hexadecimal provides a compact way to represent binary data (each hex digit maps to exactly 4 bits), and octal is commonly used for Unix file permissions. Developers, network engineers, and hardware designers regularly convert between these systems.
Is my data safe when using this tool?
Yes. All conversion happens directly in your browser using client-side JavaScript. No data is sent to any server, stored in any database, or shared with any third party. You can verify this by using the tool while disconnected from the internet.
What does two's complement mean?
Two's complement is the standard method computers use to represent signed integers in binary. It allows a fixed number of bits to represent both positive and negative values. For example, in an 8-bit two's complement system, values range from -128 to 127. This tool shows two's complement for 8, 16, 32, and 64-bit widths when the signed toggle is enabled.