X Xerobit

Number Base Converter

Convert between binary, octal, decimal, hexadecimal, and UTF-8 text. Two modes: single number (one big value, BigInt-backed for arbitrary length) or byte sequence (each value is a byte, useful for binary data and ASCII strings).

Pick source format, type a value.

Live Market Insight

DataForSEO · 2026-04-25
Cluster volume
81,700
"binary to text" + variants
CPC
$28.35
Cluster size
5+ kws
5 directions covered
Top competitor
youtube.com
1/10 SERP — wide open

Single number vs byte sequence

The two modes serve different needs:

Quick reference

DecimalBinaryOctalHexASCII
00000000000000NUL
10000010100120ALF (newline)
320010000004020(space)
650100000110141A
970110000114161a
25511111111377FF(non-printable)

BigInt support

The single-number mode uses JavaScript BigInt, so values are not limited to 64 bits. A 1000-digit decimal number converts cleanly to its binary or hex representation. This matters for crypto keys, blockchain identifiers, and prime factor work.

Common conversion contexts

Frequently asked questions

What's the prefix notation (0b, 0o, 0x)?

Standard programming notation: 0b for binary, 0o for octal, 0x for hex. The tool accepts inputs with or without these prefixes and shows them in the output for clarity.

Can I convert negative numbers?

Yes — single-number mode preserves the sign. Negative binary uses a leading minus, not two's complement. For two's-complement representation, work with bytes directly in byte-sequence mode.

Why does my text-to-decimal output a giant number?

Single-number mode treats the UTF-8 bytes of your text as one big-endian number. "Hi" → 0x4869 → 18537. Use byte-sequence mode if you want each character/byte separately.

Does it handle Unicode (non-ASCII)?

Yes. UTF-8 is the encoding used. "🦊" → bytes F0 9F A6 8A → 4 bytes. Multi-byte characters work seamlessly.

Related tools

Pillar

Part of Encoding & Crypto — Base64, URL, JWT, hashes, UUID, QR, password.


Written by Mian Ali Khalid. Last updated 2026-04-25.