Back to Toolbox

Base Converter

Convert numbers in real-time between binary, octal, decimal and hexadecimal

文件零上传 · 即用即删
Quick convert:
2Binary
11111111
0b11111111
8Octal
377
0o377
10Decimal
255
255
16Hexadecimal
FF
0xFF

Base Reference Table

DecimalBinaryOctalHexadecimal
0000
1111
21022
510155
10101012A
16100002010
321000004020
64100000010040
100110010014464
1281000000020080
25511111111377FF
51210000000001000200
1000111110100017503E8
1024100000000002000400
40961000000000000100001000
655351111111111111111177777FFFF

Conversion is based on JavaScript parseInt, supporting max safe integer (2^53 - 1)

Introduction

Online number base converter. Supports conversion between binary, octal, decimal, and hexadecimal. Ideal for programming and computer science learning.

Usage

  1. 1在任意进制输入框中输入数字。
  2. 2其他进制的值实时同步转换更新。
  3. 3支持超大整数转换,无精度丢失。
  4. 4点击任意结果可一键复制。

Related Tools