IP to Decimal Converter
IP to Decimal Converter
Convert IPv4 to decimal integer and convert decimal back to IPv4 instantly. Use this online tool instantly.
Configuration
Converted Output
About The IP to Decimal Converter
The IP to Decimal Converter turns dotted IPv4 addresses into their unsigned 32-bit integer form, and converts those integers back into readable IPv4 notation. It is useful when logs, databases, firewalls, or network scripts store addresses as numbers instead of dotted octets.
The conversion runs locally in your browser and supports IPv4 only. Decimal values must fit inside the unsigned 32-bit IPv4 range.
Common Use Cases
- Convert an IPv4 address before storing or comparing it as an integer.
- Decode decimal IP values found in logs, exports, firewall rules, or older systems.
- Check whether a numeric IP value is inside the valid IPv4 range.
- Learn how four IPv4 octets map to one 32-bit decimal number.
How to Convert IP and Decimal Values Online
- Enter a dotted IPv4 value such as
192.168.1.10and click IP -> Decimal. - Enter a whole number from
0to4294967295and click Decimal -> IP. - Use Swap Fields when you want to move the current values between the two inputs before running the opposite conversion.
- Copy the output when you need the result in a script, query, ticket, or note.
Choosing Options Correctly
Conversion direction:
Use IP -> Decimal when you have dotted IPv4 text. Use Decimal -> IP when you have a stored integer value.
Quick FAQ
Why is my decimal value rejected?
It may be outside the IPv4 32-bit range, contain separators, or not be a whole number.
Does this support IPv6?
No. IPv6 addresses are 128-bit and need a different representation.
Is this conversion sent to a server?
No. IPv4 decimal conversion is designed to run in the browser.
Why do leading zeros matter?
Some systems historically interpreted leading zeros differently. Use normal dotted decimal IPv4 notation to avoid ambiguity.
Related Tools
IPv6 Tools
Expand, compress, and validate IPv6 addresses for network diagnostics.
IP Viewer
View detected client IP, IP version, and forwarding headers instantly.
IP Lookup Tool
Look up IP or hostname with address resolution, reverse DNS, and geo/network metadata.
DNS Lookup Tool
Query A, AAAA, CNAME, MX, TXT, and NS DNS records from one interface.