Convert integers and fractional values between bases 2 through 36. Check allowed digits, common base previews, bit length, byte length, and decimal reference in one place.
Converted result
11111111
From base
Hexadecimal
To base
Binary
Decimal reference
255
Prefixed form
0b11111111
Grouped view
1111 1111
Quick examples
Allowed digits
0123456789ABCDEF
Bit length
8
Minimum bytes
1
Digits
2
Sign / Fraction
Positive / Integer only
Binary
Base 2
11111111
1111 1111
Octal
Base 8
377
377
Decimal
Base 10
255
255
Hexadecimal
Base 16
FF
FF
Read the source value from right to left: each digit is multiplied by the source base raised to its position.
| Digit | Power | Decimal contribution |
|---|---|---|
| F | Base 16^1 | 240 |
| F | Base 16^0 | 15 |
A base defines how many symbols can be used to write a number. Binary uses 0 and 1, decimal uses 0-9, hexadecimal uses 0-9 and A-F, and base 36 uses 0-9 plus A-Z.
Base 36 uses 0-9 and A-Z. Lowercase letters are normalized automatically.
Integer conversion is exact. Fractional conversion is shown to the selected precision because many fractions repeat in another base.
Yes. Integer values are handled with BigInt, so very large values can be converted.
Keep exploring
Jump into related tools from the same category and popular picks across Gogotem.
Format, validate, and minify JSON payloads in one place.
Encode plain text to Base64 or decode Base64 back into text.
Encode and decode query-safe URL values for links and APIs.
Convert Unix timestamps into readable dates and back again.
Generate SHA hash values from plain text input.
Generate one or more UUID v4 values for development and testing.