IP to Integer

Convert an IPv4 address into its 32 bit unsigned integer, hexadecimal and binary forms.

Convert an IPv4 address to a number

Integer: —
Hexadecimal: —
Binary: —
Class and range: —
—
Every octet must be a whole number from 0 to 255, and each one is checked before the 32 bit value is built.

How to use the IP to Integer

  1. Type the IPv4 address you want to convert in dotted decimal form.
  2. Press Convert to check each octet and build the 32 bit value.
  3. Read the integer, the hexadecimal form and the full binary form.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online ip to integer.

Type the address and press Convert. Each octet is checked, then the four values are combined into one 32 bit unsigned number.
An IPv4 address is 32 bits, so the largest possible value is 4294967295, which is the address 255.255.255.255.
The first octet is multiplied by 16777216, the second by 65536, the third by 256 and the fourth is added unchanged.
Anything without exactly four octets, any octet with letters or a sign and any octet above 255 is rejected with a message.
Hexadecimal groups the same 32 bits into eight digits, which is convenient for network masks, logs and low level code.
It reports the historical address class and flags loopback, multicast and reserved ranges so you know how the address behaves.
Yes. Use the matching integer to IP tool, which turns any value up to 4294967295 back into dotted decimal form.
No. The conversion happens in your browser and the address is never sent to a server or saved anywhere.

Last updated: October 10, 2026