Advertisements

headerup to 320x100 / 728x90

Decimal to IP Converter

Convert a 32-bit unsigned decimal value back into a standard dotted-quad IPv4 address.

Quick Converter

Use a compact field for small conversion and calculation tools.

Input
Focused controls for small conversions and calculations.
Results
Readable cards for unit-heavy output, with raw output kept for special cases.
Enter a value above or tap a sample to see structured results.
Advertisements

content bottomup to 300x250

What is Decimal to IP Converter

Last reviewed:

Decimal (base 10) is the everyday number system humans use, handy as a reference format when converting between binary, octal, and hexadecimal values.

Decimal to IP Converter accepts a 32-bit unsigned integer in the range 0–4,294,967,295 and splits it into the four 8-bit octets that form a standard IPv4 address.

It is the mirror of IP to Decimal and is useful when reading logs, database rows, or firewall rules that store IPs as plain integers instead of dotted-quad text.

Why use it

  • Read IPs out of MySQL columns stored with INET_ATON.
  • Translate integer entries in firewall or proxy logs to human form.
  • Inspect geo-IP ranges whose boundaries are stored as integers.
  • Convert IP integers emitted by microservices or embedded devices.
  • Learn the arithmetic behind IPv4 packing.

Features

  • Instant integer-to-IPv4 conversion
  • Matches MySQL INET_NTOA output
  • Validates the decimal range before converting
  • Runs client-side with no upload
  • Copy-ready dotted-quad output

How to use Decimal to IP Converter

  1. Paste the decimal. Drop the 32-bit unsigned integer into the input panel.
  2. Read the IPv4. The dotted-quad form appears in the output.
  3. Copy the address. Copy the human-readable IPv4 into your log or report.

Example (before/after)

32-bit decimal

3232235521

IPv4 dotted-quad

192.168.0.1

Common errors

Out-of-range value

Values above 2^32 - 1 cannot represent an IPv4 address.

Fix: Double-check the number; you might be dealing with an IPv6 address instead.

Negative integers

Signed representations can appear negative if the MSB is set.

Fix: Add 2^32 to the negative value to get the equivalent unsigned decimal before converting.

Hex disguised as decimal

A value starting with 0x is hex, not decimal.

Fix: Use a hex-to-IP converter for hex-formatted IPv4 integers.

FAQ

What is the valid range?

0 to 4,294,967,295 (2^32 - 1).

Does it match INET_NTOA?

Yes. The output equals `SELECT INET_NTOA(...)`.

Why is my output 0.0.0.0?

You probably entered 0 or an empty string.

Does it support IPv6?

No. IPv6 values are 128 bits and do not fit in a 32-bit decimal.

Is this done in the browser?

Yes. The conversion runs client-side.

What if I paste a negative integer?

Convert it to unsigned by adding 2^32 first.