Number Base Converter
Convert binary, decimal, hexadecimal, octal, and any base from 2 to 36.
Enter digital value
Use the example or paste your own binary, text, base, or address value.
Results update locally in your browser.
Convert whole numbers between any base from 2 to 36. Spaces and underscores are ignored; 0b/0x/0o prefixes are accepted for binary, hex, and octal.
Representation workspace
Cross-check formats before copying the result into code, notes, or network docs.
What this means
CalcShelf reads the input as base 2 and rewrites the same integer in base 16, plus signed/unsigned interpretation at 8 bits.
Copy output
Copy the converted formats without saving anything server-side. Use individual buttons when a destination expects one exact format.
| Representation | Value | Use case |
|---|---|---|
| Base 16 | D6 | primary converted output |
| Binary | 11010110 | bits, flags, low-level formats |
| Decimal | 214 | human-readable numeric form |
| Octal | 326 | primary converted output |
| Hexadecimal | D6 | colors, memory, addresses |
- Value
- D6
- Use case
- primary converted output
- Value
- 11010110
- Use case
- bits, flags, low-level formats
- Value
- 214
- Use case
- human-readable numeric form
- Value
- 326
- Use case
- primary converted output
- Value
- D6
- Use case
- colors, memory, addresses
Signed / unsigned bit interpretation
| Bit width | Unsigned | Signed two’s complement | Grouped binary | Hex | Sign bit |
|---|---|---|---|---|---|
| 8 | 214 | -42 | 1101 0110 | 0xD6 | Set |
| Two’s complement step | Sign bit is set, so two’s complement reads this as -42. | 0010 1001 + 1 = 42 | Invert bits, then add 1 for negative values. | 0xD6 | 1 |
- Unsigned
- 214
- Signed two’s complement
- -42
- Grouped binary
- 1101 0110
- Hex
- 0xD6
- Sign bit
- Set
- Unsigned
- Sign bit is set, so two’s complement reads this as -42.
- Signed two’s complement
- 0010 1001 + 1 = 42
- Grouped binary
- Invert bits, then add 1 for negative values.
- Hex
- 0xD6
- Sign bit
- 1
Watch-outs
- Encoding details matter: ASCII, Unicode code points, UTF-8 bytes, and binary text are related but not always identical.
- Large values can be long in binary; copy carefully if using the result in code or network documentation.
- These are utility conversions, not cryptography, validation, or forensic tooling.
Notes
These are utility conversions for valid input formats. Text encoding can be nuanced: ASCII, Unicode code points, and UTF-8 bytes are not always the same thing.
Get a better answer from the Number Base Converter
- Start with the example values to see how the tool behaves.
- Swap in your own numbers, even if they are rough first-pass estimates.
- Change one input at a time so you can see what actually moves the result.
What the result means
The result shows the same data in a different digital format, such as binary, hex, text, bytes, or code points.
How to use it
Use the detail rows to see how the value is broken apart. That makes it easier to spot padding, byte, encoding, or formatting issues before pasting into code.
What can change it
Computers can treat the same-looking value differently depending on encoding, signedness, byte order, separators, and escape format.
Good for
Convert numbers between arbitrary bases.
Check next
Compare your result with Binary Decimal Hex Converter, Binary to Text Converter, Data Storage Converter when you want more context.
Best habit
Run a conservative case and an optimistic case. The gap between them is often more useful than a single answer.
Common uses
- Convert numbers between arbitrary bases.
- Check binary, decimal, octal, and hex values.
- Work with base 36 IDs and compact codes.
Common questions
Is the Number Base Converter private?
Yes. CalcShelf calculators run without an account, do not save calculator entries, and do not put raw inputs into shareable URLs or analytics events.
How accurate is the Number Base Converter?
It uses common data-format rules. Encoding, byte order, separators, signedness, and escape requirements can change how a receiving system reads the same value.
What should I check after using the Number Base Converter?
Verify the expected encoding, byte boundaries, separators, escape format, and destination-system requirements before pasting into code or config.
Which calculator should I try next?
Use the related calculators below to cross-check the same decision from another angle before you act.
Method behind the estimate
Digital tools use standard base, byte, ASCII, Unicode, UTF-8, IPv4, and representation rules to convert values in the browser.
Why the detail matters
Encoding and formatting context matters. Verify byte order, padding, signedness, character encoding, and destination syntax before copying into code or docs.
Privacy guardrail
Your calculator values are for you. CalcShelf does not require an account, save calculator entries, put your numbers into shareable URLs, or use raw inputs as analytics events.
Copy or print safely
Use any copy, print, or worksheet controls as local handoff tools for your own notes, supplier calls, lender questions, or implementation checklist. They are there to help you explain the result to a human.
Before acting
Treat the result as a decision draft, not a verdict. Recheck the source numbers, run a downside case, and verify the real-world rule, quote, label, or spec that controls the final answer.
Last reviewed: May 11, 2026. See methodology and editorial policy for formulas, assumptions, rounding, review approach, and limitations. For code, data migration, security, or production systems, confirm the expected encoding and destination format.