★LocalHost Run Under Construction
  • Home
  • Articles
  • Tools
http://localhost
HomeArticlesTools
All tools›Number Tools›Radix Converter

Radix Converter

Convert numbers between binary, octal, decimal, and hexadecimal. Supports multiple lines, optional 0b/0o/0x prefixes, and negative integers.

Input Numbers

​

Converted Output

​

Tool options

Conversion Options

Decimal (base 10)
​

Source numeral system of the input values.

Hexadecimal (base 16)
​

Target numeral system for the output.

Use A–F instead of a–f in hexadecimal output.

Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.


Radix Converter Examples

Click to try!

Decimal to Hexadecimal

Convert common decimal values to hexadecimal with 0x prefix. Useful when reading memory addresses or color codes.

​
​

Conversion Options

Decimal (base 10)
​

Source numeral system of the input values.

Hexadecimal (base 16)
​

Target numeral system for the output.

Use A–F instead of a–f in hexadecimal output.

Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.

Binary to Decimal

Convert binary strings to decimal. Input may include an optional 0b prefix.

​
​

Conversion Options

Binary (base 2)
​

Source numeral system of the input values.

Decimal (base 10)
​

Target numeral system for the output.

Use A–F instead of a–f in hexadecimal output.

Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.

Hexadecimal to Binary

Expand hex values into binary representation for bit-level inspection.

​
​

Conversion Options

Hexadecimal (base 16)
​

Source numeral system of the input values.

Binary (base 2)
​

Target numeral system for the output.

Use A–F instead of a–f in hexadecimal output.

Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.


All Number Tools


  • Sum — Calculate sum of numbers
  • Generate — Generate random numbers in specified ranges
  • Arithmetic Sequence — Generate arithmetic sequences
  • Random Port Generator — Generate random network ports
  • Random Number Generator — Generate random numbers in custom ranges
  • Byte Converter — Quickly convert values between byte units
  • Ohm's Law — Calculate voltage, current, or resistance in electrical circuits using Ohm's Law
  • Round trip voltage drop in cable — Calculate voltage drop and power loss in electrical cables based on length, material, and current
  • Area of a Sphere — Calculate the surface area of a sphere based on its radius
  • Volume of a Sphere — Calculate the volume of a sphere using radius or diameter
  • Slackline Tension — Calculate the approximate tension of a slackline or clothesline. Do not rely on this for safety.

LocalHost Run · Contact · Privacy Policy · Terms of Use

© 2026 LocalHost Run · localhost guides, articles, and developer tools · localhostrun.com
Visitors: 1025Best viewed in Netscape Navigator · 800×600© LocalHost Run