Base Converter

Convert between binary / octal / decimal / hex

Base Converter is a free online Developer tool. Convert between binary / octal / decimal / hex Related terms: 进制 · binary · hex · decimal · octal · 二进制. Use it on this page without signing in.

支持大整数(BigInt),可带 0x / 0b / 0o 前缀和正负号。

二进制(基 2
11111111
八进制(基 8
377
十进制(基 10
255
十六进制(基 16
ff

常用数值进制对照

十进制二进制八进制十六进制
0000
1111
21022
81000108
10101012A
16100002010
64100000010040
25511111111377FF
1000111110100017503E8
655351111111111111111177777FFFF
Help

使用说明

  1. 在输入框输入数值
  2. 选择源进制(2/8/10/16)
  3. 自动换算并显示其他进制的表示
  4. 点击对应结果一键复制

常见问题

  • 数据处理安全吗? 全程浏览器本地计算,不联网
  • 支持浮点数吗? 主要针对整数进制转换
  • 最大位数? 超大整数可正常转换,但展示长度受限

补充说明

二进制逢 2 进 1、十六进制逢 16 进 1(用 A-F 表示 10-15),常用于底层与位运算场景。

More Developer

View all

FAQ about Base Converter

What can Base Converter do?

Base Converter is a Developer tool. Convert between binary / octal / decimal / hex You can finish the job on this page.

Who should use Base Converter?

Anyone handling 进制 · binary · hex · decimal · octal · 二进制 who does not want to install desktop software can use Base Converter in the browser.

Is Base Converter safe? Is my data uploaded?

This tool runs in your browser. We do not collect the content you enter into Base Converter just because you used it.

What similar tools exist?

Related tools in the same Developer group are listed at the bottom of this page.