Convert IPv4 addresses to decimal format and back. Useful for networking and IP calculations.
Auto-detection: lines with dots → IPv4; digits only → decimal; contains : → IPv6 (unsupported). Comma-separated paste is converted to newlines. Blank lines preserved.
All conversion runs in your browser and no IP addresses are stored.
192.168.1.1
↓
3232235777
| IP Address | Decimal |
|---|---|
| 127.0.0.1 | 2130706433 |
| 192.168.1.1 | 3232235777 |
| 8.8.8.8 | 134744072 |
| 1.1.1.1 | 16843009 |
| 10.0.0.1 | 167772161 |
| 172.16.0.1 | 2886729729 |
| 255.255.255.255 | 4294967295 |
Common IPs like 127.0.0.1, 192.168.1.1, 8.8.8.8, and 1.1.1.1 are frequently converted into decimal integers for database storage and network programming. Use the table above or paste values into the converter to get results instantly.
To convert an IP address to an integer, each octet is multiplied by powers of 256 and summed:
(octet1 × 256³) + (octet2 × 256²) + (octet3 × 256) + octet4
Example: 192.168.1.1 → (192×16777216) + (168×65536) + (1×256) + 1 = 3232235777. This tool uses bitwise operations for the same result.
Converting IP addresses to integers (decimal) is common in development and infrastructure:
This IP to decimal converter converts IPv4 addresses to decimal (integer) and decimal back to IP. It supports bulk conversion: paste multiple IPs or decimals, one per line. Blank lines are preserved. Invalid lines are shown inline with a clear error. All processing runs in your browser—no data is sent to any server. Developers often combine this tool with subnet calculators, CIDR calculators, and IP range tools when working with network data.
Explore these related free tools to enhance your productivity and workflow.
Convert between binary, hex, octal, decimal number systems
Parse URLs and extract all components including query parameters
Extract domains from URLs with optional subdomain removal
Test regular expressions with match highlighting and common patterns
Format, validate, and minify JSON code with syntax highlighting
IPv4 decimal format is the 32-bit unsigned integer representation of an IP address. Each octet is weighted by powers of 256: (a×256³)+(b×256²)+(c×256)+d. For example, 192.168.1.1 becomes 3232235777. Used in databases and IP range calculations.
Converting IP to decimal is useful for database storage (compact integer column), IP range comparisons, firewall rules, and network programming where IPs are compared or stored as numbers. Many APIs and configs use decimal or integer IP format.
Enter an IP address (e.g., 192.168.1.1) in the input. The tool auto-detects IPv4 and converts it to its decimal representation using bitwise operations. You can paste multiple IPs, one per line. Blank lines are preserved.
Each IPv4 octet is multiplied by powers of 256 and summed. This tool performs the conversion instantly using bitwise operations.
Enter a decimal number (0 to 4294967295) in the input. The tool detects numbers and converts them to dotted-decimal IP format. Multiple decimals are supported, one per line.
IP to decimal represents an IPv4 address as a single 32-bit unsigned integer. It is useful for database storage, IP range calculations, and network programming where IPs are stored or compared as integers.
The decimal representation of an IPv4 address ranges from 0 (0.0.0.0) to 4294967295 (255.255.255.255). Any number outside this range is invalid for IPv4.
Yes! The IP converter is 100% free, with no registration, no usage limits, and no hidden fees. All conversion runs in your browser.
No. All conversion happens locally in your browser. We do not store, save, or have access to any IP addresses you convert.
Converting IPs to decimal is useful for database storage (as integers), IP range calculations, network programming, and comparing IP addresses numerically.
The formula is: (octet1 × 256³) + (octet2 × 256²) + (octet3 × 256) + octet4. The tool uses equivalent bitwise operations for performance.
Yes. The tool works with any valid IPv4 address, including private ranges (192.168.x.x, 10.x.x.x, 172.16–31.x.x) and public IPs. Leading zeros in octets (e.g. 192.168.001.1) are rejected.
The maximum decimal value for IPv4 is 4294967295, which represents 255.255.255.255.
No. This tool only supports IPv4 (32-bit). IPv6 uses a 128-bit format. If you paste an IPv6 address, the tool shows: This tool currently supports IPv4 only.