ToolHop.

ADVERT

🔢 Number Base Calculator

Convert numbers between binary, octal, decimal, and hexadecimal instantly.

Number Base Calculator

Instantly convert values between binary, octal, decimal, hexadecimal, and base-36. Perfect for programmers, electronics hobbyists, and anyone translating between human-readable and machine-friendly formats.

  • Type once and view every base side-by-side with live updates.
  • Tap any conversion card to copy the result for quick pasting.
  • Validate input automatically so you only see accurate number representations.
Binary
101010
Octal
52
Decimal
42
Hex
2A
Base36
16

How to use this tool

  1. Select the base that matches your input and type the value into the field.
  2. Review the converted results across all supported bases instantly.
  3. Click any card to copy the conversion for use in code, documentation, or calculators.

Developer workflows

  • Translate hardware register flags between binary masks and hex constants.
  • Generate Base36 coupon codes from decimal IDs for shorter URLs.
  • Validate user-entered serial numbers by confirming their representation in multiple bases.

Input guidance

  • The calculator blocks invalid characters per base, keeping results trustworthy.
  • Use uppercase letters when copying hexadecimal or base36 values for readability.
  • Whitespace is trimmed automatically—paste values directly from logs or spreadsheets.

FAQ

Can I convert fractions?
This version focuses on integers. For fractional conversions, consider using a floating-point specific tool.
Why is my large number rounding?
JavaScript parses values into 53-bit safe integers. Extremely large inputs may lose precision in any conversion.
Does it support negative numbers?
Yes. Prefix the value with a minus sign and the conversions maintain the sign across every base.

ADVERT

ADVERT