All Tools › IPv4 Converter

IPv4 to Binary / Decimal / Hex

Convert an IPv4 address between formats.

Convert an IPv4 address to binary and hex

An IPv4 address like 192.168.0.1 is really four bytes, and seeing it in binary, decimal, or hexadecimal helps when you're working with subnet masks, writing low-level code, or learning how addressing works. This converter shows an IPv4 address across those representations at once.

How to use it

  1. Enter an IPv4 address.
  2. Read it in binary, decimal, and hexadecimal.
  3. Copy the form you need.

Where it helps

Questions people ask

Why is each part at most 255? Each of the four parts is one byte — eight bits — which tops out at 255.

Is my input stored? No — conversion runs in your browser.