Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal.
Convert integers across binary, octal, decimal and hexadecimal
Parse one integer in its declared base and inspect exact equivalent representations without floating-point conversion.
10
input base
0
digits
Waiting
status
Source number
Integer inputAbout the Number Base Converter
Different number systems suit different jobs: binary for bits, hexadecimal for colours and memory, octal for permissions, and decimal for everyday maths.
Enter a number and its base, and this tool shows the same value in binary, octal, decimal and hexadecimal at once.
It uses arbitrary-precision integers, so even very large numbers convert accurately, all in your browser.
Key features
- Binary, octal, decimal and hex together
- Handles very large integers precisely
- Copy any result in one click
- Runs entirely in your browser
How to use
- 1Type a number and pick the base it is written in.
- 2See the value in every other base instantly.
- 3Copy the result you need.
Examples
255FF (hex), 11111111 (binary)The same value is shown in base 16 and base 2.
Frequently asked questions
- How big a number can it handle?
- It uses arbitrary-precision integers, so it converts numbers far larger than a normal 64-bit value without losing accuracy.
- Does it support prefixes like 0x or 0b?
- Yes. Common prefixes such as 0x, 0b and 0o are ignored so you can paste values directly.
- Which bases does it convert between?
- It converts between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16).
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Security & CryptographyHash Generator
Generate MD5, SHA-1, SHA-2 and SHA-3 hashes from any text.
Open tool - Featured toolDeveloper ToolsBase64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text.
Open tool - Featured toolDeveloper ToolsUnix Timestamp Converter
Convert Unix timestamps to dates and back, in seconds or milliseconds.
Open tool
