進位制轉換
在二進位制、八進位制、十進位制和十六進位制之間轉換數字。
在您的瀏覽器中執行。您的檔案不會離開裝置。 瞭解如何驗證
…
使用方法
- 1填寫各項
輸入數字或選擇所需選項。
- 2檢視結果
更改任何值時,答案會立即更新。
- 3使用結果
複製結果或記下來。不會向任何地方傳送任何內容。
About this tool
Type a number and choose the base it is written in. You get the same number in binary, octal, decimal, hexadecimal, base 32 and base 36. Large numbers are handled exactly. Handy for computing, networking and electronics.
When to use it
Convert numbers between binary, octal, decimal and hexadecimal.
Tips
Use prefixes 0b, 0o and 0x in code.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
計算示例
With the boxes at their starting values (Number: 255; Written in base: Decimal (10)), the tool shows: Binary: 11111111; Octal: 377; Hexadecimal: FF; Base 32: 7V; Base 36: 73; Decimal: 255. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.
獲得最佳結果的提示
在相信結果之前先檢查每一個輸入項,因為一個錯誤的數字就會改變整個答案。請使用工資單、賬單、證書或合同上的準確數字,並記下計算日期。稅率、門檻和規則會不時變化,因此對於稅費和法律事務,請將結果視為估算,並與本頁註明的官方來源核對。您可以嘗試任意多個方案;不會儲存或傳送任何內容,重新整理頁面會清空輸入。
要點
- 分類: 文件
- 在瀏覽器中執行,無需註冊,無需上傳。
- 您輸入的資訊保留在裝置上。
- 提供多種語言。
- 內容最後稽核日期:
常見問題
Which digits are allowed?
Binary uses 0 and 1. Octal 0 to 7. Hexadecimal 0 to 9 and A to F.
Does it handle negative numbers?
Yes. Put a minus sign in front.
What is hex?
Base 16, using 0 to 9 and A to F.
How do I convert binary?
Each digit is a power of two.