Web & Systems

Integer to IPv4

Convert an unsigned 32-bit integer to IPv4 notation.

Read the guide

Run the tool

The calculation runs in your browser. This tool does not send your input to JVR Software.

More information

Back to the tool

What it is and when to use it

Integer to IPv4 turns a decimal representation of a 32-bit address into four dotted octets. Use it when inspecting a database field, reading a sample from another system or testing whether IPv4 address encoding agrees across components.

How it works

The browser separates the unsigned integer into four eight-bit parts, starting with the most significant byte. It writes each part as a decimal number from 0 to 255, with periods in between. There are exactly 2³² possible unsigned values under this representation.

How to use it

  1. Enter a decimal whole number in the range zero through 4294967295.
  2. Convert it and check the dotted address against what the source is expected to represent.
  3. Round-trip the result using IPv4 to Integer if the value is being migrated or used in a range comparison.

Worked example

Enter 3221225985 to get 192.0.2.1. Entering 3221225986 produces 192.0.2.2. The number zero becomes 0.0.0.0. Its address meaning in configuration depends on context, such as an unspecified address or a listener configured for all interfaces.

Reading the result

The output describes an IPv4 address without checking how a specific machine uses it. If your original storage shows a negative number, determine whether the system used a signed 32-bit field. A signed reinterpretation is a separate step and should follow the source schema rather than guesswork.

Common mistakes and limits

Give the tool one decimal value with no comma separators, hexadecimal prefix or decimal fraction. An address can be reserved or have special meaning in routing and application configuration, even though the number is mathematically valid.