Free2BoxFree2Box

IPv4 Address Converter

Convert IPv4 addresses between decimal, binary, hexadecimal, and integer formats

IPv4 Address
Convert IPv4 addresses between decimal, binary, hexadecimal, and integer formats
IPv4 Address Converter
Convert IPv4 addresses between decimal, binary, hexadecimal, and integer formats
Decimal (Dotted)
192.168.1.1
Binary
11000000.10101000.00000001.00000001
Hexadecimal
0xC0A80101
Integer
3232235777
IPv6-mapped
::ffff:192.168.1.1

How to Use

1

Enter Your Values

Fill in the input fields with your numbers or parameters.

2

Get Instant Results

Results update automatically as you type — no submit button needed.

3

Copy or Save

Copy results to clipboard or use them in your workflow.

Why Use This Tool

100% Free

No hidden costs, no premium tiers — every feature is free.

No Installation

Runs entirely in your browser. No software to download or install.

Private & Secure

Your data never leaves your device. Nothing is uploaded to any server.

Works on Mobile

Fully responsive — use on your phone, tablet, or desktop.

IT & Developer Guide

IPv4 Address Formats: Decimal, Binary, Hex, and Octal

Key Takeaways

  • An IPv4 address is a 32-bit number that can be represented in dotted decimal, binary, hexadecimal, and integer formats.
  • Understanding different IPv4 representations is essential for network debugging, firewall rules, and low-level protocol analysis.
  • All address conversion happens in your browser — your IP addresses are never transmitted to any server.

IPv4 addresses are most commonly written in dotted-decimal notation (192.168.1.1), but the underlying 32-bit integer can be expressed in many formats. Binary representation reveals subnet boundaries, hexadecimal is used in packet captures and memory dumps, and integer format appears in some database storage schemes. Converting between these formats is a frequent task in network administration and security analysis.

There are approximately 4.3 billion possible IPv4 addresses (2^32), with less than 15% remaining unallocated.

IPv4 Address Space

Key Concepts

1

Dotted Decimal Notation

The standard format (192.168.1.1) represents each of the four octets as a decimal number (0-255) separated by dots. This is the most human-readable format used in configuration.

2

Binary Representation

Each octet is an 8-bit binary number. 192.168.1.1 = 11000000.10101000.00000001.00000001. Binary is essential for understanding subnetting and mask operations.

3

Hexadecimal Format

Each octet as two hex digits: 192.168.1.1 = C0.A8.01.01 or 0xC0A80101. Hex appears in packet captures (Wireshark), memory addresses, and low-level network programming.

4

Integer (Long) Format

The entire 32-bit address as a single integer: 192.168.1.1 = 3232235777. Some databases store IP addresses as integers for efficient range queries and indexing.

Pro Tips

Use binary format to visualize subnet boundaries — the network/host boundary falls at the subnet mask's transition from 1s to 0s.

Store IPv4 addresses as 32-bit integers in databases for 4x storage savings and faster range queries compared to string storage.

Be aware that some systems interpret leading zeros as octal — 010.010.010.010 may be parsed as 8.8.8.8, not 10.10.10.10.

Use hex format when analyzing network packets in Wireshark or writing raw socket programs.

All IPv4 address conversion is performed entirely in your browser. Your IP addresses and network information are never transmitted to any external server.

Frequently Asked Questions