Ctrl+K
Popular searches:

Number Base Converter

v1.0.0
DecimalRadix 10
Base 10 (0-9).
HexadecimalRadix 16
Base 16 (0-9, A-F). Prefix 0x allowed.
BinaryRadix 2
Base 2 (0 or 1). Prefix 0b allowed.
OctalRadix 8
Base 8 (0-7). Prefix 0o allowed.
Examples & Actions
Supports prefixes: 0x (hex), 0b (binary), 0o (octal). Negative numbers allowed.
  • Perform fraction calculations including addition, subtraction, multiplication, and division. Automatically simplifies results and converts improper fractions to mixed numbers. Perfect for math homework and everyday calculations.

  • BMI Calculator
    Similar tool

    Calculate your Body Mass Index (BMI) using metric or imperial measurements. Get your weight category classification and health insights. Supports kilograms/centimeters and pounds/feet/inches.

  • Free online percentage calculator. Calculate what percent of a number, percentage increase and decrease, percentage change between values, and solve reverse percentage problems. Includes formulas and examples.

  • Case Converter
    Similar tool

    Convert text to different letter cases, such as upper case, lower case, and more.

  • Image Resizer
    Similar tool

    Resize images to multiple dimensions simultaneously. Create responsive images, thumbnails, and optimized versions with custom scaling and exact dimensions.

  • Encode and decode base64 strings or files, commonly used for encoding binary data in text format.

  • JSON Data Query
    Similar tool

    Query JSON data using dot notation and array indexing to extract specific values from complex JSON structures.

  • Convert JSON data to YAML format for readable configuration and documentation.

  • Convert Markdown files to HTML format for web publishing and sharing.

  • Convert CSV files to JSON format for easier data manipulation and integration.

  • Convert JSON data into TypeScript interfaces for easy integration with your codebase.

  • Convert YAML configuration files to JSON format for easier processing and integration.

  • Convert JSON data into CSV format for easier data analysis and sharing.

  • Convert JSON data into Rust structs for easy integration with your codebase.

  • Convert JSON data into JavaScript object declarations with customizable variable names and export options.

  • Length Converter
    Similar tool

    Convert between different units of length, such as meters, feet, and miles.

  • Volume Converter
    Similar tool

    Convert between different units of volume, such as liters, gallons, and cubic meters.

  • Convert between different units of data storage, such as bytes, kilobytes, and gigabytes.

  • Convert between Celsius, Fahrenheit, and Kelvin temperature scales with ease.

  • Weight Converter
    Similar tool

    Convert between different units of weight, such as kilograms, pounds, and ounces.

What is a Number Base Converter?

A number base converter lets you switch a value between decimal (base 10), hexadecimal (base 16), binary (base 2), and octal (base 8). It is handy when you work with low-level code, color values, network masks, or debugging binary data.

How to use this tool

  1. Type a value into any base field (decimal, hex, binary, or octal). Prefixes such as 0x, 0b, and 0o are accepted.
  2. See instant conversions in the other bases. Copy any result with the copy button.
  3. Clear or reuse values at any time; quick presets like 42 or 65535 help you test quickly.

Common use cases

  • Checking bit masks and flags while debugging.
  • Converting color values or memory offsets.
  • Teaching or learning how different bases represent the same number.

Keep this converter nearby whenever you need fast, reliable base changes without leaving your browser.