Toolix

Developer Tool

Free Base Converter Online

Convert numbers between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36. Built for quick debugging, encoding checks, programming exercises, and API work.

Base 2 to 36Large whole numbersPrivate browser conversion

Base Converter

Convert binary, octal, decimal, hexadecimal, and any custom base up to 36.

Convert whole numbers between bases 2 and 36.
Base 16 to base 10

BIN · base 2

11111111

OCT · base 8

377

DEC · base 10

255

HEX · base 16

FF

Grouped output

255

Decimal value

255

Guide

How to convert number bases

Use this base converter to convert whole numbers between binary, octal, decimal, hexadecimal, and any base from 2 to 36. It is useful for programming, computer science practice, debugging IDs, encoding checks, and low-level data work.

  1. 1

    Enter the source number

    Type or paste the whole number you want to convert, such as a binary value, decimal ID, octal number, or hexadecimal string.

  2. 2

    Select the input base

    Choose the base your current number is written in, from base 2 through base 36.

  3. 3

    Select the output base

    Choose the target base, such as binary, decimal, hexadecimal, or a custom radix.

  4. 4

    Copy the converted result

    Copy the converted value and use it in your code, notes, debugging session, or programming exercise.

Common base conversion issues

  • Using digits that are not valid for the selected base, such as 2 in binary or G in hexadecimal.
  • Forgetting that hexadecimal uses A through F for values 10 through 15.
  • Converting large numbers with normal floating-point math instead of whole-number logic.
  • Mixing prefixes such as 0x or 0b with raw numeric input.
  • Losing leading zeroes that may matter for binary strings, colors, bytes, or fixed-width IDs.

Frequently asked questions

What number bases does this converter support?

Toolix Base Converter supports whole-number conversion between bases 2 through 36, including binary, octal, decimal, and hexadecimal.

Can I convert very large numbers?

Yes. The converter is designed for large whole-number conversions without ordinary JavaScript floating-point precision issues.

Can I convert decimal to binary or hex?

Yes. Enter a decimal number, set the input base to 10, then choose base 2 for binary or base 16 for hexadecimal.

Is my number sent to a server?

No. Base conversion runs locally in your browser, so the values you enter stay on your device.