Number Base Converter
Convert between binary, octal, decimal, and hexadecimal — edit any field and the others update automatically.
How to use
- Enter a value in the "Binary", "Octal", "Decimal", or "Hex" field
- The other three fields are automatically converted to the same value
- Negative integers (e.g.
-1a) are also supported
Example
Entering 255 in "Decimal" shows 11111111 in binary, 377 in octal, and ff in hex.
FAQ
Are decimal (fractional) numbers supported?
No, only integers are supported.
Can hex letters be entered in either upper or lower case?
Yes, both cases are recognized correctly (the display is always normalized to lowercase).
Is there a limit on the number of digits?
No practical limit — it uses JavaScript's BigInt, so very large integers convert accurately.
Is my data stored anywhere?
No. Everything runs in your browser and disappears when you reload the page.
Category:Converters
Tags:binaryhexoctaldecimalconverterdeveloper
Tools to use next
- Convert between Unix timestamps and dates. Supports seconds and milliseconds, showing both UTC and local time.
- Generate a QR code image from text or a URL and download it as a PNG.
- Convert length, weight, and volume units between metric and imperial systems.