Dev Tools

Base Converter

Convert numbers between binary, decimal, and hexadecimal.

Input
Base
Decimal
255
Hex
0xff
Binary
0b11111111
Was this page helpful?

Related tools

About Base Converter

Convert numbers between binary, octal, decimal, hexadecimal, and arbitrary bases. A quick reference when working with bit masks, color values, or low-level protocols.

How to use

  1. Enter a number and its current base.
  2. Pick the target base (or several).
  3. Copy the converted values.

Frequently asked questions

Can I convert very large numbers?
Yes — conversions handle large integers beyond the usual 53-bit safe range.
Does it support custom bases?
Yes — in addition to 2, 8, 10, and 16 you can convert to other bases up to 36.