Skip to content
Handy Browser Tools

Number Base Converter

Enter a number and pick its base to see it in binary, octal, decimal and hexadecimal at once, plus any custom base from 2 to 36. Conversions use BigInt, so even very large numbers stay exact.

Private by default: processing stays on your device
YOUR NUMBER

Enter a value, pick its base

Converts as you type, with exact arbitrary-precision arithmetic.

All bases, at once.

Binary, octal, decimal, hex — plus your custom base.

Good to know

Large integers convert exactly — no floating-point rounding. Custom bases 2–36 use digits 0–9 then a–z.

Example: 255 in every base

Input

255 (decimal)

Output

binary: 11111111
octal: 377
hex: ff
Share this page X LinkedIn Reddit

These buttons share the page link, not your input.

Frequently asked questions

What bases are supported?

Any base from 2 to 36 in both directions. Binary, octal, decimal and hexadecimal are shown automatically, and the custom base field covers everything in between (digits 0-9 then a-z).

Does it handle very large numbers?

Yes. Conversions run on JavaScript BigInt, so there is no 2^53 precision limit. 40-digit numbers convert exactly. Negative numbers and a leading 0x/0o/0b prefix are accepted too.

Can I paste grouped digits like 1010_1010?

Yes. Spaces and underscores are ignored, so grouped binary or long hex values paste cleanly.

Is my input sent anywhere?

No. Every conversion happens locally in your browser; nothing is uploaded.

Hash Generator

Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from text online.