Digital & Computing

Number Base Converter

Convert binary, decimal, hexadecimal, octal, and any base from 2 to 36.

Step 1

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.

Results are educational utility conversions, not cryptography or forensic tooling.
Details

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.

RepresentationValueUse case
Base 16D6primary converted output
Binary11010110bits, flags, low-level formats
Decimal214human-readable numeric form
Octal326primary converted output
HexadecimalD6colors, memory, addresses
RepresentationBase 16
Value
D6
Use case
primary converted output
RepresentationBinary
Value
11010110
Use case
bits, flags, low-level formats
RepresentationDecimal
Value
214
Use case
human-readable numeric form
RepresentationOctal
Value
326
Use case
primary converted output
RepresentationHexadecimal
Value
D6
Use case
colors, memory, addresses

Signed / unsigned bit interpretation

Bit widthUnsignedSigned two’s complementGrouped binaryHexSign bit
8214-421101 01100xD6Set
Two’s complement stepSign bit is set, so two’s complement reads this as -42.0010 1001 + 1 = 42Invert bits, then add 1 for negative values.0xD61
Bit width8
Unsigned
214
Signed two’s complement
-42
Grouped binary
1101 0110
Hex
0xD6
Sign bit
Set
Bit widthTwo’s complement step
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.

Try next

  • Compare signed vs unsigned before pasting values into code or device registers.
  • Use prefixes like 0b or 0x only when the destination system expects them.
  • If the result is very long, paste it into a monospace editor before using it.

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.

Use it well

Get a better answer from the Number Base Converter

  1. Start with the example values to see how the tool behaves.
  2. Swap in your own numbers, even if they are rough first-pass estimates.
  3. 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.