Single number vs byte sequence
The two modes serve different needs:
- Single number — treats the input as one large value.
FFin hex =255in decimal =11111111in binary. Useful for cryptography, ID values, large integers. - Byte sequence — each space-separated value is a byte.
48 65 6C 6C 6F="Hello". Useful for binary protocol debugging, ASCII analysis, hex dumps.
Quick reference
| Decimal | Binary | Octal | Hex | ASCII |
|---|---|---|---|---|
| 0 | 00000000 | 000 | 00 | NUL |
| 10 | 00001010 | 012 | 0A | LF (newline) |
| 32 | 00100000 | 040 | 20 | (space) |
| 65 | 01000001 | 101 | 41 | A |
| 97 | 01100001 | 141 | 61 | a |
| 255 | 11111111 | 377 | FF | (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
- Binary to text: CTF challenges, debugging serial protocols, exploring how strings encode.
- Hex to text: reading raw memory dumps, hex-encoded strings in PCAP files, parsing JWT signatures.
- Decimal to hex: converting RGB values, IP addresses, port numbers, color codes.
- Octal: Unix file permissions (
chmod 755means binary111 101 101).
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
- Base64 Encoder / Decoder — Encode and decode Base64 strings and files. Client-side, safe for sensitive data.
- URL Encoder / Decoder — Percent-encode and decode URLs per RFC 3986.
- UUID Generator — Generate UUID v4 and v7 identifiers in bulk.
- Hash Generator — Generate MD5, SHA-1, SHA-256, and SHA-512 hashes client-side.
Pillar
Part of Encoding & Crypto — Base64, URL, JWT, hashes, UUID, QR, password.
Written by Mian Ali Khalid. Last updated 2026-04-25.