Number Base Converter
Convert between binary, octal, decimal, hexadecimal and any base from 2 to 36, live in every direction, for numbers of any size.
Runs in your browser. Nothing leaves this device.
Open Number Base Converter
Free, no account, no watermark and no daily limit.
How to use Number Base Converter
- 1Type a number in any box: binary, octal, decimal, hex or a base you pick.
- 2Every other box updates as you type.
- 3Group the digits for reading, and see the two’s complement of negative numbers.
Questions
Can I use prefixes like 0x or 0b?
Yes. 0x, 0o and 0b are understood in the matching box, and spaces and underscores are ignored.
How are negative numbers shown?
With a minus sign in every base. The two’s complement form a computer stores is shown separately.
Is there a size limit?
No practical one. Whole-number maths of any size is used, so long values never lose digits.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.
- DeveloperRegex TesterTest JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.