Number Base Converter
Convert between binary, octal, decimal, and hexadecimal. Type in any field and the other three update live.
Number Base Converter — Computers represent numbers in different bases. Decimal (base 10) is what humans use. Binary (base 2) is what computers actually use internally. Octal (base 8) and hexadecimal (base 16) are compact ways to write binary, used in file permissions, color codes, memory addresses, and more.
Math runs locally. No data leaves your browser.
What is number base converter?
Computers represent numbers in different bases. Decimal (base 10) is what humans use. Binary (base 2) is what computers actually use internally. Octal (base 8) and hexadecimal (base 16) are compact ways to write binary, used in file permissions, color codes, memory addresses, and more.
Type a value in any of the four fields and the other three update live. Handles arbitrary-precision integers up to 2^53 cleanly; for very large numbers, use the BigInt-safe API.
How to use it
-
Type a value
In any of the four base fields — binary, octal, decimal, or hex.
-
Read the conversions
The other three fields update live.
-
Copy
Select and copy whatever form you need.
Examples
A typical byte
255 in every base.
Result: Bin 11111111 · Oct 377 · Dec 255 · Hex FF
IPv4 octet
192.168.0.1 — each octet in decimal, binary, hex.
Result: 192 → 11000000 → C0 · 168 → 10101000 → A8
Frequently asked questions
Related tools
Binary, Hex & Octal Converter
Convert numbers between binary, octal, decimal, and hexadecimal instantly.
Cron Expression Generator
Build cron expressions from a simple form, or pick a common preset. See plain-English explanations.
Regex Tester
Test and debug regular expressions with live matches, capture groups, and highlighted results.