Number System Converter
A number system converter rewrites a whole number in another base, such as decimal 255 as binary 11111111 or hexadecimal FF. This tool converts between any bases from 2 to 36, shows binary, octal, decimal and hex together, accepts 0b, 0o and 0x prefixes, and uses arbitrary-precision arithmetic so very large numbers stay exact.
Free, no signup. Runs entirely in your browser; files and text are not uploaded.
How to use the Number System Converter
- Type the number in the Number box.
- Choose its base in From, such as Decimal (base 10).
- Choose the base you want in To, such as Binary (base 2).
- Read or copy the result; the table below shows binary, octal, decimal and hex together.
Features
- Any base from 2 to 36, with binary, octal, decimal and hex listed first
- Exact results for numbers of any size (BigInt arithmetic)
- Negative numbers supported
- Accepts 0b/0o/0x prefixes, spaces and underscores
- Clear message naming the invalid digit
- Binary grouped in 4-bit nibbles; copy buttons for every base
Frequently asked questions
How do I convert binary to decimal?
Multiply each bit by its power of two and add them. For example, 1011 = 8 + 0 + 2 + 1 = 11. Choose Binary in From and Decimal in To to do it automatically.
How do I convert decimal to hexadecimal?
Divide by 16 repeatedly and read the remainders backwards, using A–F for 10–15. For example, 255 is FF in hexadecimal.
Can it convert very large numbers?
Yes. It uses arbitrary-precision integers, so values beyond 2^53, such as 18446744073709551615 (FFFFFFFFFFFFFFFF), convert exactly.
Does it support fractions or two’s complement?
Not yet. It converts whole numbers and shows negative values with a minus sign rather than a fixed-width two’s complement pattern.
Related tools
- Text Converter – Change case, URL encode/decode, Base64 and text-to-binary in one tool
- Color Converter – Convert HEX, RGB, HSL, HSV and CMYK color codes
- File Size Converter – Convert bytes, KB, MB, GB and TB in decimal (1000) and binary (1024) units
- Hash Generator – Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files and verify checksums
Built and reviewed by Naqash Thaheem, Technical Project Manager. Last reviewed 2026-09-24.