Murelio

Loading the features you need.

IPv4 to Integer

Convert a valid IPv4 address to its 32-bit unsigned integer value.

How to use

  1. Enter an IPv4 address and run the conversion.

Capabilities and scope

A dedicated runner validates all four octets and treats the first octet as the most significant byte in network order.

How it works

a.b.c.d becomes the unsigned value of (a<<24)+(b<<16)+(c<<8)+d.

Example

192.168.1.1 becomes 3232235777.

Useful for

  • Compare IPv4 addresses with integer values stored in databases or APIs

Before you use it

  • IPv6 is unsupported and systems using a different byte-order convention need separate interpretation.

Frequently asked questions

Can the result be negative?

No. The output is normalized to an unsigned 32-bit value from 0 to 4294967295.

Related tools