Your files stay on your device

# Number Base Converter: Binary, Hex, Octal, Any Base

Integers across bases 2 to 36, bitwise ops, and f32/f64 bit views. Mixed radix is refused, not guessed.
BigInt exact · bases 2-36 · IEEE 754 bit views · prefixes refused (the base is declared, not carried)ClearNumberFrom base281016Custom target base (2-36; 2/8/10/16 always shown)

- Binary (base 2)11111111
- Octal (base 8)377
- Decimal (base 10)255
- Hex (base 16)FF
ANDORXORNOT a<<>>AB

Negative operands are refused for AND/OR/XOR/shifts and NOT (BigInt is arbitrary width. Negatives have no fixed two's-complement form to show).
Decimal numberf32f64

0100000000001001000111101011100001010001111010111000010100011111
Sign0Exponent10000000000 ( 1024 )Mantissa1001000111101011100001010001111010111000010100011111Hex0x 40091EB851EB851FValue3.14

Bits colored sign / exponent / mantissa, MSB first: exactly what sits in memory via DataView.
Try 0xBEEF sample (as plain hex digits)

## Next door in Text

- [Escape / Unescape](/text/escape)
- [Unit converter](/converters/units)
[All text tools](/text)

---

Canonical HTML: https://nutter.tools/text/number-bases
Markdown version: https://nutter.tools/text/number-bases/index.md
Plain-text version: https://nutter.tools/text/number-bases/index.txt
Agent index: https://nutter.tools/llms.txt

