IP to Decimal

Convert an IPv4 or IPv6 address to its integer (decimal) form.

Every IP address is fundamentally a number. IPv4 addresses are 32-bit integers and IPv6 addresses are 128-bit integers. Converting to decimal is useful for databases, network math and reverse lookups.

All conversions run locally in your browser.

Related tools

Frequently asked questions

Why would I convert an IP to decimal?

Storing addresses as integers sorts correctly, indexes efficiently, and makes range math straightforward.