IP Address Converter
Convert between IP formats (decimal, binary, hex).Runs in this tab.⌘ ↵ runs it
How to use IP Address Converter
- Type in any one of the four fields: Dotted Decimal, Binary, Hexadecimal, or Integer. The other three update from it.
- Hex and binary need four dotted groups, such as C0.A8.01.01 or 11000000.10101000.00000001.00000001.
- The integer field accepts 0 through 4294967295. Clearing a field clears the other three.
IPv4 in four forms
Type in any field. The other three follow. Hex and binary are four dotted groups. The integer is an unsigned 32-bit number from 0 to 4,294,967,295.
| Dotted decimal | Binary | Hex | Integer |
|---|---|---|---|
192.168.1.1 |
11000000.10101000.00000001.00000001 |
C0.A8.01.01 |
3232235777 |
192.168.0.1 |
11000000.10101000.00000000.00000001 |
C0.A8.00.01 |
3232235521 |
10.0.0.1 |
00001010.00000000.00000000.00000001 |
0A.00.00.01 |
167772161 |
C0.A8.00.01 in the Hexadecimal field is 192.168.0.1.
Addresses whose first octet is 128 or higher used to display as negative numbers, because a signed 24-bit shift turns the high bit into a minus. 192.168.1.1 showed -1062731519. The integer field now uses unsigned math, so that address shows 3232235777. 128.0.0.0 is 2147483648. 255.255.255.255 is 4294967295.
The converter is IPv4 only. It does not parse IPv6, CIDR, or a hostname, and it does not look up a link.
Next step
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeQuestions
How do I convert hex to an IP address?
How do I convert a dotted IP address to an integer?
Does this resolve a hostname or convert IPv6?
Comments
More in Web & Networking
- URL Parser
- HTTP Status Codes Reference
- HTTP Headers Reference
- MIME Types Reference
- HTTP Methods Reference
- CIDR Calculator
- DNS Record Types Reference
- CORS Header Generator
Comments