Number Base & Bitwise Converter
Simultaneous real-time conversion between Decimal, Binary, Hexadecimal, and Octal with 8/16/32/64-bit binary masks, two's complement, and ASCII decoding. 100% private.
Fixed-Width Binary Masks & CPU Bit Formats
ASCII: N/ADecimal, Binary, Hexadecimal & Octal Equivalence (0 to 15)
| Decimal (Base 10) | 4-Bit Binary (Base 2) | Hex (Base 16) | Octal (Base 8) |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 8 | 10 |
| 9 | 1001 | 9 | 11 |
| 10 | 1010 | A | 12 |
| 11 | 1011 | B | 13 |
| 12 | 1100 | C | 14 |
| 13 | 1101 | D | 15 |
| 14 | 1110 | E | 16 |
| 15 | 1111 | F | 17 |
Bitwise Logical & Shift Operators Reference
| Operator | Name | Logic Rule | Example |
|---|---|---|---|
| & | Bitwise AND | 1 if both bits are 1; else 0 | 5 & 3 = 1 |
| | | Bitwise OR | 1 if at least one bit is 1 | 5 | 3 = 7 |
| ^ | Bitwise XOR | 1 if exactly one bit is 1 | 5 ^ 3 = 6 |
| << | Left Shift | Multiplies by 2^n | 5 << 1 = 10 |
| >> | Right Shift | Divides by 2^n | 10 >> 1 = 5 |
How to Convert Number Bases Online
- Enter Value in Any Base: Type a decimal number, binary stream, hexadecimal string, or octal digits into any corresponding box.
- Instant Synchronized Updates: The other three bases, fixed-width masks (8-bit, 16-bit, 32-bit), and two's complement recalculate simultaneously.
- 1-Click Clipboard Copy: Click "Copy" on any box to copy formatted strings directly.
Frequently Asked Questions
100% In-Browser Privacy
All base calculations, BigInt math, and bitwise operations execute locally on your machine with zero server interactions.
Complementary Tools
Other fast, free, and zero-upload utilities built for your workflow.
JSON Formatter & Schema Diff
Format, repair, diff, and inspect JSON in real time. Convert to TypeScript, Go structs, YAML, CSV tables, and JSON Schema.
Interactive Regex Tester & Explainer
Test regular expressions with real-time match highlighting, cheat sheet presets, and plain-English pattern explanations.
Unix Timestamp & Epoch Converter
Convert Unix timestamps to human-readable UTC/local dates and dates to epoch seconds or milliseconds. Live clock, millisecond precision, and batch conversion.
Cron Expression Generator & Explainer
Generate, validate, and translate crontab expressions into plain English. Interactive visual builder, next execution schedule preview, and presets.