Base Converter
About this tool
Memory dumps, Unix modes, and color values hop between bases. Four fields stay in sync: edit one, the others follow. BigInt means no silent 32-bit wrap. Integers only—fractions belong in a calculator.
Features
- Binary, octal, decimal, and hex update together
- Accepts 0b, 0o, and 0x prefixes
- Arbitrary-size integers, not a 32-bit register
How to use
- Type a number in any field, with or without a prefix.
- The other three bases update immediately.
- Use the sample chips such as 255 for a known value.
- Copy one field or the whole comparison.
When to use it
- 0xFF or 0xFFFF needs to be decimal in a config
- A Unix mode 755 should be read as bits
- A hex address in a log should become decimal before you search
Examples
- Decimal 255 is binary 11111111, octal 377, and hex FF.
- 0xFF and 255 are the same integer; the prefix only names the base.
FAQ
What is 0xFF in decimal?
Hex FF is 255, or eight 1-bits. Type FF or 0xFF in the HEX field to see the other bases.
How do I read Unix mode 755 as binary?
755 is octal. Put it in OCT and read BIN. rwx meaning still follows Unix permission rules.
Fractions?
Integers only. A decimal point is invalid here.
Negatives and two’s complement?
Negative integers convert with a sign. Two’s complement still depends on bit width in your language.
Why does my language disagree?
Some runtimes truncate to a fixed width. This page uses big integers, so long hex does not wrap.
Is the number uploaded?
No. Conversion stays in the browser.
Back to Encoding Tools Hub