Skip to main content
Tool Factory
  • English
  • Español · Review pending
  • Français · Review pending
  • Deutsch · Review pending
  • Português · Review pending
  • 日本語 · Review pending
  • 简体中文 · Review pending

Encoding & Number Bases

Decimal, Hex, Binary and Octal Converter

Convert decimal to hex, hex to decimal, binary, or octal. Preserve large integer precision and convert signed numbers directly in your browser.

Tool workspace

Your input stays in this browser.

The tool is ready to run.

Ready

Run the tool when your input is ready.

Input

Ready for a result

Convert decimal to hex, hex to decimal, binary, or octal. Preserve large integer precision and convert signed numbers directly in your browser.

The converter uses integer arithmetic to change notation without floating-point rounding.

The result contains digits in the selected output base.

  • Read a hex memory address, error code, or color channel as a decimal number.

Write 2026 in another base

Input: 2026

Settings: Input base Decimal (10); Output base Hexadecimal (16)

Result: 7EA

Divide by 16 and keep the remainders: 2026 ÷ 16 = 126 r 10 (A), 126 ÷ 16 = 7 r 14 (E), 7 ÷ 16 = 0 r 7. Read the remainders upward to get 7EA. Check: 7 × 256 + 14 × 16 + 10 = 2026.

Choose integer bases and preserve large values

  1. Enter an integer without prefixes or separators.
  2. Choose Input base and Output base.
  3. Select Convert.
  • Supported bases are binary, octal, decimal, and hexadecimal.
  • Negative values use a minus sign, not two’s complement.
  • The operation converts integers, not encoded text bytes.