Integer to IPv4 Converter

Convert a 32-bit integer back into its dotted-decimal IPv4 address. Accepts decimal, hexadecimal, octal, and binary input and shows the IP plus its hex and binary forms, all in your browser.

Enter a number from 0 to 4294967295. Decimal, 0x hex, 0o octal, and 0b binary are accepted.

ToolsSoup's Integer to IPv4 Converter turns a single 32-bit integer back into the familiar dotted-decimal IPv4 address it represents. Paste a decimal number like 3232235521 and you instantly get 192.168.0.1, along with the hexadecimal and binary octet forms. It accepts hex (0x), octal (0o), and binary (0b) input too, and validates that the value fits in an unsigned 32-bit range. Everything runs locally in your browser, so no value you enter is ever sent to a server.

What does integer to IPv4 mean?

Every IPv4 address is really a 32-bit number; the dotted form just splits that number into four 8-bit octets for readability. Converting an integer to an IPv4 address reverses that packing: you take the four bytes of the number, from most significant to least significant, and write each as a decimal octet joined by dots. For example 3,232,235,521 in binary is 11000000 10101000 00000000 00000001, which is 192.168.0.1. This is the exact inverse of an IPv4-to-integer conversion.

How to convert an integer to an IPv4 address

It only takes a moment:

  1. Type a 32-bit integer such as 3232235521 into the box, or paste a 0x hex, 0o octal, or 0b binary value.
  2. Click Convert, or simply press Enter.
  3. Read the dotted IPv4 address plus its hexadecimal and binary octet forms, and use the Copy button to grab the one you need.

Why convert integers back to IP addresses?

Databases and logs often store IP addresses as plain integers because numbers are compact, sort numerically, and support fast range comparisons. When you read that data back, though, a number like 3232235521 means nothing at a glance. Turning it back into 192.168.0.1 makes log lines, exported reports, and BETWEEN range queries human-readable again. Functions such as MySQL's INET_NTOA do exactly this on the server; this tool does the same conversion right in your browser.

Why use this integer to IPv4 converter?

  • Accepts decimal, hexadecimal (0x), octal (0o), and binary (0b) input for flexibility.
  • Validates the 0 to 4294967295 range and rejects out-of-range values with a clear message.
  • Shows the dotted IPv4 plus its hexadecimal and binary octet forms in one click.
  • Matches the value databases produce with functions like MySQL INET_NTOA.
  • Runs 100% in your browser with no network requests, so it works offline and keeps your data private.

Frequently asked questions

What IPv4 address is the integer 3232235521?

It is 192.168.0.1. The number is split into four bytes from most to least significant: 192, 168, 0, and 1. The tool also shows the hexadecimal form 0xC0A80001 and the binary octets.

What integer values are valid?

Any whole number from 0 to 4294967295. That upper bound is 2 to the 32nd power minus one, the largest value an unsigned 32-bit integer can hold. 0 maps to 0.0.0.0 and 4294967295 maps to 255.255.255.255. Values outside this range are rejected.

Can I paste a hexadecimal or binary value?

Yes. Prefix a hexadecimal value with 0x, an octal value with 0o, and a binary value with 0b, and the converter will parse it before producing the IPv4 address. A plain number with no prefix is treated as decimal.

Is this the same as MySQL INET_NTOA?

Yes. MySQL's INET_NTOA, PostgreSQL casts, and most programming-language helpers turn the same unsigned 32-bit integer into the same dotted IPv4 address, because they all treat the number as four base-256 octets.

Does this tool send my data anywhere?

No. The conversion is plain arithmetic that runs locally in your browser with no network requests. The tool works offline and never transmits the value you enter.