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 前缀和正负号。
11111111377255ff常用数值进制对照
| 十进制 | 二进制 | 八进制 | 十六进制 |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 16 | 10000 | 20 | 10 |
| 64 | 1000000 | 100 | 40 |
| 255 | 11111111 | 377 | FF |
| 1000 | 1111101000 | 1750 | 3E8 |
| 65535 | 1111111111111111 | 177777 | FFFF |
使用说明
- 在输入框输入数值
- 选择源进制(2/8/10/16)
- 自动换算并显示其他进制的表示
- 点击对应结果一键复制
常见问题
- 数据处理安全吗? 全程浏览器本地计算,不联网
- 支持浮点数吗? 主要针对整数进制转换
- 最大位数? 超大整数可正常转换,但展示长度受限
补充说明
二进制逢 2 进 1、十六进制逢 16 进 1(用 A-F 表示 10-15),常用于底层与位运算场景。
More Developer
View allJSON Formatter
Format, minify, validate JSON, convert to Go struct / TS interface
JSON Field Search
Search JSON by field, value or path with highlights, supports jq expressions
Timestamp Converter
Convert between Unix timestamps and dates, seconds and milliseconds
Cron Expression
Generate and parse cron expressions, preview next run time
UUID Generator
Generate UUID v4 / v7 / ULID / NanoID
Hash Calculator
Compute MD5 / SHA1 / SHA256 / SHA512 of text or files
JWT Decoder
Decode JWT header and payload, view expiry time
URL Encoder / Decoder
Encode and decode URL / URI components
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.