Skip to content

Decimal to IP Converter

Turn a decimal, 0x hexadecimal or 0b binary integer into the IPv4 or IPv6 address it represents.

Processed locally in your browser

Options
0 chars · 0 lines
The result will appear here.

What is Decimal to IP Converter?

The opposite of ip2long: an IPv4 address is a 32-bit number, so 3232235777 splits into the four bytes 192, 168, 1 and 1. Numbers between 2^32 and 2^128 − 1 are read as IPv6 addresses, computed exactly with BigInt.

In Auto mode a value up to 4294967295 (or a hex literal of at most 8 digits) becomes IPv4 and anything larger becomes IPv6; you can force either family. Decimal input may include commas, underscores or spaces as digit separators.

How does it work?

  1. Paste integers, one per line: decimal, 0xHEX or 0bBINARY.
  2. Leave Auto, or force IPv4 / IPv6 if you know the family.
  3. For IPv6 choose compressed or fully expanded output.
  4. Copy the addresses, or use Swap to go back to numbers.

Common use cases

  • Reading an IP stored as an integer in a database column or log line.
  • Decoding "http://3232235777/" style obfuscated URLs to see the real host.
  • Turning the start and end integers of a geo-IP CSV range into readable addresses.
  • Checking a hex value from a packet dump against its dotted form.

Examples

Try this input in the tool above:

Input
3232235777
0xC0A80101
42540766411282592856903984951653826561
Output
192.168.1.1
192.168.1.1
2001:db8::1

Privacy

Decimal to IP Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Values above 4294967295 cannot be IPv4 and are read as IPv6. An integer alone does not reveal whether it was meant as IPv4 or IPv6, so use the family option when it matters.

Frequently asked questions

What IP is 3232235777?

192.168.1.1 (hex 0xC0A80101).

How does Auto choose between IPv4 and IPv6?

Up to 4294967295 it assumes IPv4; larger values, or hex literals with more than 8 digits, are treated as IPv6.

Is a URL like http://3232235777 legitimate?

Browsers accept it, which is why attackers use it to hide hosts. Convert it here before trusting a link.

More tools in Network Tools →