Number Base Converter

Convert between binary, octal, decimal, and hexadecimal (BigInt support)

100% In-BrowserNo Server UploadFree, No Signup
Math & Calculation
For EngineersFastPass - AI Career Agent

AI analyzes your skills and matches you with the best opportunities. Get a free market value assessment.

Get Started Free

How to Use

  1. Enter a number

    Enter the number to convert. Use 0b (binary), 0o (octal), or 0x (hex) prefixes, or select the input base from the toolbar.

  2. Click Convert

    Press "Convert" to see the number in binary, octal, decimal, and hexadecimal.

  3. Copy result

    Use the "Copy" button to copy the results to your clipboard.

Number Base Converter Examples

Decimal conversion

Input
255
Output
Binary (BIN):  11111111
Octal (OCT):   377
Decimal (DEC): 255
Hex (HEX):     ff

Hexadecimal conversion

Input
0xDEADBEEF
Output
Binary (BIN):  11011110101011011011111011101111
Octal (OCT):   33653337357
Decimal (DEC): 3735928559
Hex (HEX):     deadbeef

Features

  • Binary, octal, decimal, and hexadecimal conversion
  • Auto-detect 0b/0o/0x prefixes
  • Manual input base selection via toolbar
  • BigInt support for numbers beyond 64-bit
  • Real-time conversion (auto-updates on input)
  • Local processing (your input is not sent to servers)
  • Dark mode support

FAQ

Can it convert negative numbers?

Currently only positive integers are supported. Negative inputs are treated as absolute values.

Can it accurately convert very large numbers?

Yes. BigInt is used for all integer conversions, so numbers beyond 64-bit are converted accurately.

Is my data sent to a server?

No. All conversion happens locally in your browser via JavaScript. No data is ever transmitted externally.