Uttir

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.

Was Number Base Converter useful?

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

  1. Type a value

    In any of the four base fields — binary, octal, decimal, or hex.

  2. Read the conversions

    The other three fields update live.

  3. 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