IPv4 Notation Converter

IPv4 Notation Converter

Local Processing

Convert IPv4 addresses to and from integer, binary, hex and octal.

How It Works & Processing Standards

Convert IPv4 addresses to and from integer, binary, hex and octal.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Maximum input length: 100,000 characters

An IPv4 address is a 32-bit number made of four 8-bit octets. Choose a direction and format under "Task" to get an integer for databases, binary for subnet study and more.

What You Can Do

IPv4 ↔ integer
192.168.0.1 ↔ 3232235521, for storing IPs as numbers and range queries.
Binary
Each octet as 8 bits so subnet boundaries are visible.
Hex and octal
Convert to and from the notation used in packet dumps and configs.

How to Use IPv4 Notation Converter

  1. 1
    Choose a taskPick the direction and format.
  2. 2
    Enter a valueAn IP address, or an integer, binary, hex or octal value.
  3. 3
    CopyCopy the converted value.

Examples

IP → integer
Input: 192.168.0.1
Result: 3232235521 (0xc0a80001)
Integer → IP
Input: 3232235521
Result: 192.168.0.1
IP → binary
Input: 10.0.0.1
Result: 00001010.00000000.00000000.00000001
IP → hex
Input: 192.168.0.1
Result: c0.a8.00.01

Common Use Cases

  • Reading databases or logs that store IPs as integers
  • Seeing in binary where a subnet mask splits
  • Turning hex addresses from packet dumps into readable form

Frequently Asked Questions (FAQ)

Why store an IP as an integer?

Range queries such as "between 10.0.0.0 and 10.0.255.255" become one numeric comparison, and storage is just 4 bytes.

Have feedback or ideas for this tool? Suggest & Inquire →