Back to tools

Advanced Base Converter

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.

Coding Waiting for result
Report issue

Converted result

11111111

From base

Hexadecimal

To base

Binary

Decimal reference

255

Prefixed form

0b11111111

Grouped view

1111 1111

Quick examples

Value and base settings

Allowed digits

0123456789ABCDEF

Bit length

8

Minimum bytes

1

Digits

2

Sign / Fraction

Positive / Integer only

Common base previews

Binary

Base 2

11111111

1111 1111

Octal

Base 8

377

377

Decimal

Base 10

255

255

Hexadecimal

Base 16

FF

FF

How to read this result

  • task_altUse binary and hex previews for code, debugging, and bit masks.
  • task_altUse decimal reference to check whether a custom base value is reasonable.
  • task_altIncrease fraction digits when converting decimals that repeat in the target base.

Place value check

Read the source value from right to left: each digit is multiplied by the source base raised to its position.

DigitPowerDecimal contribution
FBase 16^1240
FBase 16^015

What is base conversion?

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.

Usage notes

  • Each digit is multiplied by a power of the source base.
  • The integer part is handled with BigInt so very large values can be converted safely.
  • The fractional part is converted with repeated multiplication up to the selected precision.

Frequently asked questions

Which digits are used in base 36?expand_more

Base 36 uses 0-9 and A-Z. Lowercase letters are normalized automatically.

Are decimal fractions exact?expand_more

Integer conversion is exact. Fractional conversion is shown to the selected precision because many fractions repeat in another base.

Can I enter long hexadecimal values?expand_more

Yes. Integer values are handled with BigInt, so very large values can be converted.

Keep exploring

More tools to try next

Jump into related tools from the same category and popular picks across Gogotem.

View all tools arrow_forward