Last updated ·Published ·By the WiserWork team
IP to Hex Converter
Convert an IPv4 address into packed and dotted hexadecimal form
Enter an IPv4 address like 192.168.0.1 and get its hexadecimal form in both the packed 8-digit style and the dotted-hex style used by some routers and firewalls.
What is the IP to Hex Converter?
The IP to Hex Converter takes a standard dotted-decimal IPv4 address and converts each of its four octets into hexadecimal, showing both the packed form (all eight hex digits run together, like C0A80001) and the dotted-hex form (each octet's hex value separated by dots, like C0.A8.00.01).
How It Works
The address is split on its dots into four octets, each one validated as a number from 0 to 255, then converted to a two-digit hex value. Those four hex pairs are joined two ways at once — with no separator for the packed form, and with dots for the dotted-hex form — so you get both representations from a single input.
Real-World Use Case
Some router firmware, firewall rule files and older network logging tools display addresses in packed hex rather than dotted-decimal — converting an address you already know, like your gateway 192.168.1.1, lets you match it against what the device is showing.
Frequently Asked Questions
What's the difference between the packed and dotted-hex forms?
They contain the same eight hex digits; the packed form runs them together as one continuous string (useful for scripting), while the dotted-hex form keeps a dot between each pair, mirroring the original address structure.
Does it validate the address first?
Yes. Each octet must be a number from 0 to 255; anything outside that range, or an address without exactly four octets, is flagged as invalid rather than guessed at.
Can I convert a list of IP addresses at once?
Yes. Put each address on its own line or separate them with spaces, and every address is converted and listed in the same order.
Have a hex value instead and need the address back? The reverse converter does that. Looking for the reverse? Try the Hex to IP Converter →