# Binary, Hex & Octal Converter

> Convert numbers between binary, octal, decimal, and hexadecimal instantly.

URL: https://uttir.com/binary-hex-converter
Categories: converters
Privacy: Conversions run locally in your browser — nothing is sent to a server.

## About

Programmers juggle number bases every day: IP addresses in decimal, memory addresses in hex, masks and flags in binary. Converting between them by hand is tedious and error-prone.

Type a number in any of the four common bases — binary, octal, decimal, or hexadecimal — and see it converted into all the others instantly, with optional prefixes for convenience.

## How to use

1. **Pick the input base** — Choose binary, octal, decimal, or hexadecimal for what you are typing.
2. **Type a number** — The other three representations update live as you type.
3. **Copy what you need** — Each result has a copy button, with or without prefixes like 0x and 0b.

## Examples

### The byte 255

The maximum value of a single byte in every base.

Input:

```
decimal 255
```

Output:

```
binary 11111111 · octal 377 · hexadecimal FF
```

## FAQ

### What is a base?

A base is how many digits a number system uses. Binary uses 0–1, octal 0–7, decimal 0–9, and hexadecimal 0–9 plus A–F. The same quantity can be written in any base.

### Why does hex use letters?

Base 16 needs 16 digits, so after 0–9 it continues with A=10, B=11, C=12, D=13, E=14, F=15.

### Can I convert negative numbers?

Yes. A leading minus sign is preserved through every base, though it is not a two’s-complement representation.

## Related tools

- [Unit Converter](https://uttir.com/unit-converter) — Convert length, weight, temperature, area, volume, speed, time, and data units instantly.
- [HEX to RGB](https://uttir.com/hex-to-rgb) — Convert any HEX color code to its RGB and HSL equivalents.
- [Base64 Encoder](https://uttir.com/base64-encoder) — Encode any text — including emoji and non-Latin scripts — into standard Base64.

---

For the full HTML page with the live tool, visit https://uttir.com/binary-hex-converter.
This file is the markdown rendering at https://uttir.com/binary-hex-converter.md. See https://uttir.com/llms.txt for a site-wide summary.
