Developer Tools
IP Address Converter
Convert an IPv4 address between dotted-decimal, decimal integer, hexadecimal, binary, and octal in your browser. Auto-detects input format. No signup.
IP address converter
Accepts any of: 192.168.1.1 3232235777 0xC0A80101 0b11000000... 0o30052000401
Quick samples
All formats
Dotted-decimal IPv4
192.168.1.1
Decimal integer
3232235777
Hex (0x prefix)
0xC0A80101
Hex (no prefix)
C0A80101
Binary (octets)
11000000.10101000.00000001.00000001
Binary (32-bit)
11000000101010000000000100000001
Octal
30052000401
IPv4-mapped IPv6
::ffff:c0a8:0101
Reverse DNS (PTR)
1.1.168.192.in-addr.arpa
Per-octet breakdown
| Octet | Decimal | Hex | Binary | Octal |
|---|---|---|---|---|
| 1 | 192 | C0 | 11000000 | 300 |
| 2 | 168 | A8 | 10101000 | 250 |
| 3 | 1 | 01 | 00000001 | 001 |
| 4 | 1 | 01 | 00000001 | 001 |
Address classification
Class C address
Classes derive from the leading bits of the first octet.
- Private (RFC 1918): 192.168.0.0/16
Format cheat sheet
- Dotted-decimal is the standard human form: four 8-bit numbers joined by dots.
- Decimal integer is the same 32 bits read as one unsigned number. Some legacy tools (and the inet_aton() family) accept this directly.
- Hex (0xC0A80101) is the per-byte representation often seen in packet dumps, malware IoCs, and CTF challenges.
- Binary makes subnet masks and CIDR boundaries obvious; the dotted variant is easier to read.
- Reverse DNS is the in-addr.arpa form used to look up PTR records.
Reserved IPv4 ranges
- 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 are private (RFC 1918).
- 127.0.0.0/8 is loopback; 169.254.0.0/16 is link-local (RFC 3927).
- 100.64.0.0/10 is carrier-grade NAT (RFC 6598).
- 224.0.0.0/4 is multicast (Class D); 240.0.0.0/4 is reserved for future use (Class E).
- 192.0.2.0/24, 198.51.100.0/24, and 203.0.113.0/24 are reserved for documentation (RFC 5737).
How to use
- Paste or type any IPv4 value. Dotted-decimal (192.168.1.1), decimal (3232235777), 0x-prefixed hex, 0b-prefixed binary, and 0o-prefixed octal all work.
- The tool detects the input format and renders the address in every other numeric form below.
- Read the per-octet table to see how each byte maps across decimal, hex, binary, and octal.
- Check the classification panel to see the legacy class and any reserved-range notes (private, loopback, multicast, etc.).
- Click Copy on any row to grab that representation, or pick a quick sample chip to load a common address.
About this tool
IP Address Converter takes any IPv4 address in any common numeric form and shows it in every other form at once. Paste a dotted-decimal address like 192.168.1.1, a 32-bit unsigned integer like 3232235777, a hex value like 0xC0A80101, a binary string like 11000000.10101000.00000001.00000001, or an octal value with a 0o prefix, and the tool detects the format automatically. Each output is rendered with its own copy button: dotted-decimal, decimal, hex with and without the 0x prefix, dotted binary and 32-bit flat binary, octal, an IPv4-mapped IPv6 address (::ffff:..), and the reverse DNS (in-addr.arpa) form used for PTR record lookups. A per-octet breakdown table lists the decimal, hex, binary, and octal value for each of the four bytes, which is handy for subnet planning, CIDR boundary visualization, and walking through packet headers. The classification panel labels the address with its legacy class (A, B, C, D, E), flags private RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and calls out loopback (127.0.0.0/8), link-local (169.254.0.0/16), carrier-grade NAT (100.64.0.0/10), multicast (224.0.0.0/4), reserved Class E, documentation ranges (RFC 5737), and other IANA special-purpose blocks. Useful for network engineers writing firewall rules, security analysts parsing log lines and IOCs, developers normalizing IPs for database storage as integers, CTF players decoding obfuscated addresses, and anyone who needs to translate between the formats curl, packet captures, malware reports, and routing tables print. Conversions run with pure JavaScript bitwise math in your browser. No DNS calls, no geolocation lookups, no uploads.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Subnet Calculator
IPv4 CIDR network, broadcast, host range, mask, and binary view.
Open tool
ConverterNumber Base Converter
Binary, octal, decimal, hex, and custom-base conversion with two's complement.
Open tool
ConverterHex to Text Converter
Bidirectional hex and text converter with UTF-8 bytes and a hex dump view.
Open tool
ConverterBinary Translator
Bidirectional text and binary translation with UTF-8 byte breakdown.
Open tool
DeveloperURL Parser
Break a URL into protocol, host, path, query params, and fragment with decoded values.
Open tool