Công cụ chuyển đổi hệ số miễn phí
Chuyển giữa binary, octal, decimal và hex theo thời gian thực. Nhập giá trị ở bất kỳ hệ nào và xem các biểu diễn phổ biến cập nhật ngay - hữu ích cho lập trình cấp thấp, mạng và debug.
Dùng BigInt bên dưới để các giá trị binary và hex lớn vẫn chính xác. Mọi thứ chạy cục bộ trong trình duyệt.
Frequently Asked Questions
What number bases are supported?
Convert between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter a value in any base and all representations update instantly.
Can it handle large numbers?
Yes. Dokall uses BigInt internally, so very large binary and hexadecimal values (beyond JavaScript's Number.MAX_SAFE_INTEGER) stay accurate. Useful for crypto keys, bitmask operations, and 64-bit integers.
How do I convert decimal to hex?
Enter a decimal number in the decimal field. The hexadecimal field updates automatically. For example, 255 becomes FF, 4096 becomes 1000.
What are common uses for base conversion?
Developers use base conversion for bitwise operations, color codes (hex), memory addresses, network subnet calculations, and debugging low-level data. Students use it for computer science coursework.
Does it support negative numbers?
Yes. Negative values are converted using two's complement representation in binary. Enter a negative decimal and see the corresponding binary, octal, and hex values.