Home โ€บ Developer Tools โ€บ Base Converter

Base Converter

Convert numbers between Binary (Base 2), Octal (Base 8), Decimal (Base 10), Hexadecimal (Base 16), or any custom base up to Base 36.

๐Ÿ“‹ Converted Value

โ€”

๐Ÿ”’ Calculated locally in your browser โ€” input values are never sent anywhere

Ad Space ยท AdSense code goes here later

How base conversions work

A numeral system (or base) defines the number of unique digits used to represent values. The standard system used by humans is Decimal (Base 10), which uses digits 0-9. Computers operate on Binary (Base 2), using 0 and 1, or Hexadecimal (Base 16), which includes letters A-F to represent values 10-15. This base converter translates values between different counting systems. You can even choose custom bases between 2 and 36, where letters are assigned to values above 9 (e.g. A=10, B=11, ..., Z=35).

FAQ

What custom bases are supported?
This tool supports any base from Base 2 up to Base 36. Base 36 represents numbers using the standard digits 0-9 followed by the letters A-Z (case-insensitive during input).
Does this support fractional numbers (decimals)?
Currently, this base converter is optimized for integers. Converting fractions across bases requires float division which is prone to rounding limits in Javascript.
Why did I get an "Invalid characters" warning?
Each base has a strict set of allowed digits. E.g. Binary (Base 2) only allows 0 and 1. Octal (Base 8) allows digits 0-7. Typing letters like "A" or digits like "9" in a binary/octal input is invalid and will trigger an error.

Related Tools