Base Converter

Convert between binary, octal, decimal, hex and any base 2-36

Overview

Our online base converter supports quick conversion between binary, octal, decimal, and hexadecimal, along with flexible conversion for any base from 2 to 36. Using BigInt high-precision calculation, it handles very large numbers without losing accuracy. Enter a single value to see all format results simultaneously, with optional ASCII character reference display.

Features

  • Binary/Octal/Decimal/Hex conversion
  • 2-36 arbitrary base support
  • BigInt high-precision calculation
  • All common formats displayed simultaneously
  • One-click copy results
  • Floating-point base conversion
  • ASCII/Unicode character reference

How It Works

  1. Select the base format of your input value
  2. Type the number to convert in the input field
  3. The tool calculates and displays conversion results in all bases in real-time
  4. Click the copy button to get the result in your desired format

Tips

  • Hex input can use 0x prefix, binary can use 0b prefix, and octal can use 0o prefix
  • No need to worry about precision with very large numbers — BigInt ensures fully accurate results
  • Click any result area to quickly copy the value in that format

FAQ

Why use BigInt instead of regular numbers?

JavaScript's Number type has a maximum safe integer of 2^53-1. Beyond that, precision loss occurs. BigInt handles integers of arbitrary precision, ensuring accurate conversion results for large binary, hexadecimal, and other values.

Does it support decimal (floating-point) conversion?

Yes. You can enter numbers with decimal points for conversion. The tool processes the integer and fractional parts separately. The precision of the fractional part can be adjusted through settings.

What does 2-36 arbitrary base mean?

In addition to common bases like 2, 8, 10, and 16, the tool supports any base from 2 to 36. Bases above 10 use letters a-z (a=10, b=11, ... z=35) to represent values, useful for special encoding scenarios.

Tags

Base, Binary, Hex

⌘/Ctrl K
Search apps, tools or expressions
Base Converter
B

Base Converter

Convert between binary, octal, decimal, hex and any base 2-36

Overview

Our online base converter supports quick conversion between binary, octal, decimal, and hexadecimal, along with flexible conversion for any base from 2 to 36. Using BigInt high-precision calculation, it handles very large numbers without losing accuracy. Enter a single value to see all format results simultaneously, with optional ASCII character reference display.

Features

  • Binary/Octal/Decimal/Hex conversion
  • 2-36 arbitrary base support
  • BigInt high-precision calculation
  • All common formats displayed simultaneously
  • One-click copy results
  • Floating-point base conversion
  • ASCII/Unicode character reference

How It Works

  1. Select the base format of your input value
  2. Type the number to convert in the input field
  3. The tool calculates and displays conversion results in all bases in real-time
  4. Click the copy button to get the result in your desired format

Tips

  • Hex input can use 0x prefix, binary can use 0b prefix, and octal can use 0o prefix
  • No need to worry about precision with very large numbers — BigInt ensures fully accurate results
  • Click any result area to quickly copy the value in that format

FAQ

Why use BigInt instead of regular numbers?

JavaScript's Number type has a maximum safe integer of 2^53-1. Beyond that, precision loss occurs. BigInt handles integers of arbitrary precision, ensuring accurate conversion results for large binary, hexadecimal, and other values.

Does it support decimal (floating-point) conversion?

Yes. You can enter numbers with decimal points for conversion. The tool processes the integer and fractional parts separately. The precision of the fractional part can be adjusted through settings.

What does 2-36 arbitrary base mean?

In addition to common bases like 2, 8, 10, and 16, the tool supports any base from 2 to 36. Bases above 10 use letters a-z (a=10, b=11, ... z=35) to represent values, useful for special encoding scenarios.

Tags

BaseBinaryHex
京ICP备16061460号-4 | Sitemap
京ICP备16061460号-4 | Sitemap