πŸ”’
πŸŽ“

Number Systems for Computer Science

Learn and verify binary, octal, hex conversions β€” perfect for CS students and exam prep.

Nid oes angen mewngofnodi
Input base:

Quick values

Education tips

πŸŽ“

Computer science courses cover all four bases. Use the quick-value buttons (7, 8, 15, 16) to explore where the boundaries between bases are.

πŸ’‘

Why hex? 1 hex digit = exactly 4 binary digits (a "nibble"). 2 hex digits = 1 byte (8 bits). This makes hex a compact way to write binary.

πŸ”’

Octal (base 8) groups binary digits in sets of 3. Less common today but still used in Unix file permissions (chmod 755 = rwxr-xr-x).

πŸ“Š

Use the grouped binary output to visualise how nibbles (4-bit groups) map to hex digits β€” it makes the hex↔binary relationship intuitive.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin