πŸ”’
🌐

Convert Numbers for Networking

Convert subnet masks, port numbers, and IP address octets between binary and decimal.

Nid oes angen mewngofnodi
Input base:

Quick values

Networking tips

🌐

IP address octets are in decimal (0–255). Each octet is one byte β€” 8 bits. 192.168.1.1 means 11000000.10101000.00000001.00000001 in binary.

πŸ“‘

Subnet masks like 255.255.255.0 are 11111111.11111111.11111111.00000000 in binary. The number of 1s = prefix length (/24 in this case).

πŸ’‘

Port numbers 0–65535 fit in 16 bits (2 bytes). Port 80 = 0x50 = 01010000 binary. Port 443 = 0x1BB = 110111011 binary.

πŸ”’

MAC addresses are 6 hex bytes (e.g. FF:FF:FF:FF:FF:FF). Convert each colon-separated byte to see its decimal and binary equivalent.

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