Developer

Number Base Converter — Binary, Octal, Decimal, Hex Online Free

Convert numbers between binary, octal, decimal, and hex with live output, bit-level views, signed/unsigned interpretations, and ASCII lookup — all in your browser.

Also searched as: number base converter · binary to decimal · hex to decimal · octal converter · base conversion online

Bases 2–36Live ConvertBit PanelFree
Input base

Converted values

Binary (base 2)
0b11111111
Octal (base 8)
0o377
Decimal (base 10)
255
Hexadecimal (base 16)
0xFF

Bit representation

Nibbles (4-bit groups)
1111 1111
WidthBinaryUnsignedSigned
8-bit11111111255-1
16-bit0000000011111111255255
32-bit00000000000000000000000011111111255255

ASCII lookup

Type a character to see its numeric code in decimal, hex, and binary.

Decimal
65
Hexadecimal
0x41
Binary
0b1000001

How to Use

Step-by-step guide to get the most from this tool

  1. 1

    Enter a number

    Type a value in the input field.

  2. 2

    Select input base

    Choose a preset (2, 8, 10, 16) or enter a custom base from 2–36.

  3. 3

    Read live outputs

    Binary, octal, decimal, and hex update as you type — copy any row.

  4. 4

    Inspect bits or ASCII

    Use the bit panel for nibble/byte views, or the ASCII lookup for character codes.

Features

What makes this tool stand out

🔢

Bases 2–36

Presets plus custom input base.

Live conversion

Outputs update as you type.

🧮

Bit panel

Nibbles, bytes, signed/unsigned 8/16/32-bit.

🔤

ASCII lookup

Character to decimal, hex, and binary.

📋

One-click copy

Copy any converted value.

🔒

Private

100% client-side — no network calls.

Related Tools

More free utilities you might find useful

Frequently Asked Questions

Quick answers to common questions

What number bases are supported?+

Binary (2), octal (8), decimal (10), hexadecimal (16), and any custom base from 2 to 36.

How do I convert binary to decimal?+

Enter your binary number, select base 2 as the input base, and read the decimal output row instantly.

What characters are valid in hexadecimal?+

Digits 0–9 and letters A–F (case insensitive). For bases above 16, letters extend through Z.

Can I convert negative numbers?+

Yes. Enter a leading minus sign. The bit panel shows signed and unsigned interpretations for 8, 16, and 32 bits.

Is there a size limit?+

JavaScript safely represents integers up to Number.MAX_SAFE_INTEGER (2^53 − 1). Larger values may lose precision.

Is my data sent to a server?+

No. All conversion uses native parseInt and toString in your browser.