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

  1. Enter a dotted IPv4 value such as 192.168.1.10 and click IP -> Decimal.
  2. Enter a whole number from 0 to 4294967295 and click Decimal -> IP.
  3. Use Swap Fields when you want to move the current values between the two inputs before running the opposite conversion.
  4. 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.