All tools / IP

Subnet mask converter

Convert a subnet mask between prefix length, dotted decimal, hexadecimal, and binary.

In the browser

Accepted forms are /24, 24, 255.255.255.0, 0xffffff00, and 32 binary bits. A mask with holes is rejected.