Learn

IPv4 Address Converter Guide

About this tool

Convert an IPv4 address between dotted-decimal, a single 32-bit integer, hexadecimal, octal and binary, and show the four octets broken out.

Questions

Why does 127.0.0.1 become 2130706433?
The four octets are the bytes of one 32-bit number: 127×256³ + 0×256² + 0×256 + 1. That is why some sites accept the decimal form as the same address.
Why would I need the integer form?
Firewalls, access rules and some APIs store addresses as integers because they are cheaper to compare and range-check than strings.