./prontouso.com
CHUYỂN ĐỔI ĐƠN VỊ

Chuyển Đổi Hệ Cơ Số

Chuyển đổi giá trị số tức thì giữa hệ nhị phân (Binary - base 2), bát phân (Octal - base 8), thập phân (Decimal - base 10), thập lục phân (Hex - base 16) và các cơ số tùy chọn từ 2 đến 36.

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước

Dữ liệu đầu vào

Kết quả

BIN
11111111
OCT
377
DEC
255
HEX
FF

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

Chuyển Đổi Hệ Cơ Số là gì?

Convert integers between binary, octal, decimal, and hexadecimal, including large values that need BigInt precision.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

How to convert number bases

Accepted input

Choose the base of the number you are entering. Spaces and underscores are ignored, optional 0b, 0o, and 0x prefixes are accepted, and negative integers keep their sign.

Output formats

The result panel shows the same integer in BIN, OCT, DEC, and HEX. Hexadecimal output uses uppercase A-F for readability.

What it does not handle

  • Fractional values or decimal points.
  • Scientific notation such as 1e6.
  • Two's-complement width calculations for signed binary storage.

Conversion notes

The converter treats input as an integer value, not as a fixed-width memory representation. Add your own byte width when you need two's-complement interpretation.

Các Câu Hỏi Thường Gặp (FAQ)

Can I paste 0xFF or 0b1010?

Yes. Prefixes such as 0x, 0o, and 0b are stripped after the sign, as long as the selected input base matches the digits.

Why is my number rejected?

At least one digit is outside the selected base, such as 2 in binary or G in hexadecimal.

Does it support very large integers?

Yes. The conversion uses BigInt, so values larger than JavaScript's normal safe integer range remain precise.

Does it convert fractions?

No. This tool is for whole integers only.

Công Cụ Liên Quan