English (US)
中文 (中国)
हिन्दी (भारत)
日本語 (日本)
Deutsch (Deutschland)
English (UK)
Русский (Россия)
한국어 (대한민국)
English (Canada)
Français (France)

Free · Online · IPv4 / Decimal / Hex / IPv4-mapped IPv6

IP Converter

Convert IPv4 addresses, unsigned decimal integers, hexadecimal values, and IPv4-mapped IPv6 text in one place.

Enter one value and the page instantly returns IPv4, decimal, hex, long IPv6, and short IPv6 formats with normalised output.

IPv4 Decimal Hex IPv6 (long) IPv6 (short)

Enter an IPv4 address, decimal integer, hex value, or IPv4-mapped IPv6 value to generate all five normalized formats.

Detected Type Waiting
Normalised Input -

IPv4

-

Decimal

-

Hex

-

IPv6 (long)

-

IPv6 (short)

-

Decimal to IPv4

Treat the decimal input as a 32-bit unsigned integer, then split it into four IPv4 octets. This is useful when logs or databases store an address as one integer.

2416705538 to IPv4

2416705538144.12.0.20x900C0002

167871592 to IPv4

16787159210.1.132.1040x0A018468

123456 to IPv4

1234560.1.226.640x0001E240

IPv4 to Hex

Convert a dotted IPv4 address into uppercase hex with the 0x prefix so packet captures, scripts, and logs use one consistent representation.

144.5.144.34 → 0x90059022

144.5.144.34 maps to decimal 2416283682 and hex 0x90059022.

10.1.2.3 → 0x0A010203

Useful when you need to compare IPv4 values against protocol fields, firewall rules, or script output.

Hex to IPv4

Paste hex with or without the 0x prefix. The converter normalises the value first, then returns IPv4, decimal, and IPv4-mapped IPv6 forms.

0x90059022 → 144.5.144.34

Both 0x90059022 and 90059022 resolve to the IPv4 address 144.5.144.34.

0A018468 → 10.1.132.104

Input is case-insensitive; output is normalized to uppercase hex with the standard prefix.

Normalise IPv4 Text

A valid IPv4 address has four decimal octets and each octet must stay between 0 and 255. Inputs like 001.002.003.004 normalise to 1.2.3.4, while out-of-range values fail with a clear error.

About 64-bit integer inputs

Standard IPv4 uses 32 bits only. This page never pretends that a 64-bit integer is a valid IPv4 address.

The accepted IPv4 integer range is 0 to 4294967295. Anything outside that range returns an explicit error instead of a misleading conversion.

What This IP Converter Does

Use this page to convert IPv4 addresses, unsigned decimal integers, hexadecimal values, and IPv4-mapped IPv6 text in one step. The tool normalises the input first, then returns IPv4, decimal, hex, IPv6 long, and IPv6 short output.

How To Use

  1. Paste an IPv4 address, decimal integer, hex value, or IPv4-mapped IPv6 input.
  2. Check the detected type and the normalised input to confirm the parser chose the correct format.
  3. Copy the IPv4, decimal, hex, or IPv6 output you need. Out-of-range values return an explicit error instead of a fake conversion.

FAQ

Can I convert decimal numbers into IPv4 addresses?

Yes. The decimal value is treated as a 32-bit unsigned integer and then split into four IPv4 octets. This is useful when logs or databases store IPv4 addresses as one integer.

Does this converter support hex to IPv4 and IPv4 to hex?

Yes. Paste hex with or without the 0x prefix, or enter a dotted IPv4 address. The page normalizes the value and returns both representations immediately.

Does the page accept IPv6 input?

It accepts IPv4-mapped IPv6 input such as ::ffff:c0a8:0001 and returns the matching IPv4, decimal, and hex values. Non-mapped IPv6 values are rejected with a clear error.

Why are some large integers rejected?

Standard IPv4 uses 32 bits only, so the valid integer range stops at 4294967295. Larger values are outside the IPv4 address space and should not be converted into a fake IPv4 result.

IP Converter - IPv4, Decimal, Hex, and IPv4-Mapped IPv6 Converter | Unix Timestamp Converter