IP Address Converter
Convert IPv4 addresses between dotted decimal, decimal integer, hexadecimal, and binary formats instantly in your browser. Perfect for firewall rules, logs, low-level networking tasks, and developer tooling.
Continue Your Code Journey
What is IP Address Converter?
The IP Address Converter transforms IPv4 addresses between four representations: dotted decimal (192.168.1.1), hexadecimal (C0A80101), binary (11000000.10101000.00000001.00000001), and decimal (3232235777). You enter an IP in any format and the tool shows all other representations. All processing happens in the browser.
How does IP Address Converter work?
This tool parses an IP address from any of the four formats, converts it to a 32-bit integer, then displays it in all four representations. It validates each octet is in the 0-255 range for dotted decimal format.
Key Features
- Converts between dotted decimal, hex, binary, decimal
- Input in any format, output shows all formats
- Input validation with error messages
- Copy any format to clipboard
- Supports CIDR notation stripping
- Validates each octet stays in 0-255 range
- Real-time conversion
- Shows IP class (A, B, C)
Common Use Cases
Converting IPs for firewall rules
Convert an IP from dotted decimal to the hex format required by some firewall configurations.
Debugging network issues
View an IP in binary to understand subnet boundaries and host bits.
Analyzing network logs
Convert hex-encoded IPs from log files to readable dotted decimal format.
Learning IP addressing
See how the same IP address looks in different number bases.
How to Use This Tool
Enter an IP address
Type the IP in dotted decimal, hex, binary, or decimal format.
View all formats
The tool shows the IP in all four representations.
Copy a format
Copy the format you need.
Pro Tips
- 1
Dotted decimal is the standard format: 192.168.1.1.
- 2
Hex format is compact: C0A80101 for 192.168.1.1.
- 3
The decimal format is the 32-bit integer representation.
- 4
Each octet in dotted decimal must be 0-255.
Frequently Asked Questions
What IP formats are supported?
IP address converter supports dotted decimal, hexadecimal, binary, and decimal integer IPv4 formats.
Is my data sent to a server?
No. All conversion happens in your browser. Nothing is transmitted.
Does it support IPv6?
Not currently. The tool supports IPv4 addresses only.
Can I convert CIDR notation?
The tool strips CIDR prefix notation (e.g., /24) from the input and converts the IP portion.
What is the decimal format?
The decimal format is the 32-bit unsigned integer representation. 192.168.1.1 equals 3232235777.