Saved
Developer tools·Networking

IP Address Converter

Convert IPv4 addresses between dotted decimal, binary, hexadecimal, and 32-bit integer formats instantly. Free browser tool — no uploads or sign-up required.

Added Jun 1, 2026

Quick examples

Input

Result

Enter a value for value to see your result.

How it works

Converts an IPv4 address between dotted-decimal, binary, hexadecimal, and unsigned 32-bit integer representations. Useful for debugging network configs, understanding bitwise subnet math, and working with APIs that store IPs as integers.

Step by step

  1. 01Select the format of your input value (dotted decimal, binary, hex, or integer).
  2. 02Enter the IP address or numeric value.
  3. 03All four representations are computed and shown simultaneously for easy copy-paste.

Examples

Dotted decimal 192.168.1.1

192.168.1.1 is a common default gateway — 3232235777 as a 32-bit integer.

Inputs

Input format:
dotted
Value:
192.168.1.1

Result

Dotted decimal:
192.168.1.1
Hexadecimal:
C0.A8.01.01
Unsigned 32-bit integer:
3232235777

Hex C0.A8.01.FF

0xC0A801FF is the broadcast address for a 192.168.1.0/24 subnet.

Inputs

Input format:
hex
Value:
C0.A8.01.FF

Result

Dotted decimal:
192.168.1.255
Unsigned 32-bit integer:
3232236031
Note: Binary input accepts dotted (8-bit groups) or continuous 32-bit strings. Hex input accepts dotted octets (C0.A8.01.01) or a continuous hex string. Integer output is unsigned — the full 32-bit range is 0 to 4 294 967 295.

Frequently asked questions

Why would I convert an IP to an integer?

Some databases, APIs, and geolocation libraries store IPv4 addresses as unsigned 32-bit integers for fast numeric comparison and sorting. Converting 192.168.1.1 to 3232235777 lets you query or compare addresses without string parsing.

How is an IP address converted to binary?

Each of the four octets is converted to 8 binary digits separately. 192.168.1.1 becomes 11000000.10101000.00000001.00000001 — 32 bits total representing the address in base 2.

What is the hex format for IP addresses?

Each octet is written as two hex digits: 192 → C0, 168 → A8, 1 → 01. So 192.168.1.1 becomes C0.A8.01.01. Hex is compact and common in low-level networking and packet captures.