Loading…
Convert IPv4 between dotted, hex, integer, and binary. Use for format shifts; for subnet math use ipv4-subnet-calculator. Input: IPv4 address. Returns all formats. 100% client-side.
IPv4 Address Converter is loading — interactive editor will appear here. Use examples below to try instantly once loaded.
Press ? for keyboard shortcuts
Converts an IPv4 address between its four common representations: dotted-decimal, 32-bit integer, hexadecimal, and binary. Enter an address in any format and instantly see all four conversions along with a per-octet breakdown showing decimal, binary, and hex values.
Network engineers, security analysts, and developers frequently need to translate IPv4 addresses between formats for logging, ACL configuration, forensics, and protocol debugging. Doing this mentally or with scattered online tools is slow and error-prone.
This tool is part of the DevStackIO platform — a collection of free online developer tools from DevStackIO. Browse more free developer resources on DevStackIO.
Network engineers writing ACLs, security analysts investigating IP logs, developers working with socket APIs, and students studying binary number representation.
Select your input format from the dropdown (dotted decimal, integer, hexadecimal, or binary)
Enter the IPv4 address in the chosen format
Press Convert or hit Enter to see all four representations
Click any result card to copy the value to your clipboard
Review the per-octet breakdown to verify byte order
Input: '192.168.1.1' (dotted decimal) — Output: Integer: 3232235777, Hex: C0A80101, Binary: 11000000.10101000.00000001.00000001Input: 'C0A80101' (hexadecimal) — Output: Dotted: 192.168.1.1, Integer: 3232235777, Binary: 11000000.10101000.00000001.00000001Input: '3232235777' (integer) — Output: Dotted: 192.168.1.1, Hex: 0xC0A80101Why are there two hex representations?
One shows raw hex (C0A80101) and the other includes the 0x prefix (0xC0A80101) commonly used in code and documentation.
Does this handle IPv6?
No, this tool is for IPv4 addresses only. Use an IPv6 tool for 128-bit addresses.
What is the integer range for IPv4?
0 to 4,294,967,295 (2^32 - 1), covering all possible 32-bit IPv4 addresses.
Is my address sent anywhere?
No, the conversion runs entirely in your browser.
Authoritative specifications, standards, and in-depth reading for IPv4 Address Converter.
Calculate network, broadcast, and host range from CIDR. Use for subnet math; for geo lookup use ip-lookup. Input: IP/CIDR. Returns network details. 100% client-side.
Look up geolocation and ISP for any IP address. Use for geo data; for subnet math use ip-calculator. Input: IPv4/IPv6. Returns location and ASN. 100% client-side.
Calculate IPv4 subnets, masks, and host counts. Use for IPv4 planning; for IPv6 use ipv6-calculator. Input: CIDR or mask. Returns subnet table. 100% client-side.
Calculate IPv6 subnets, expansion, and compression. Use for IPv6 planning; for IPv4 use ipv4-subnet-calculator. Input: IPv6/CIDR. Returns subnet details. 100% client-side.
Expand CIDR or dash ranges into IP lists. Use when enumerating hosts; for subnet calc use ipv4-subnet-calculator. Input: range text. Returns IP list. 100% client-side.
Parse raw HTTP headers into readable name-value pairs. Use when debugging responses; for URL parts use url-parser. Input: header text ≤10MB. Returns table of headers. 100% client-side.
Split any URL into protocol, host, path, and query params. Use when inspecting URLs; for encoding query strings use url-encoder. Input: URL text. Returns component table. 100% client-side.
Parse user-agent strings into browser, OS, and device. Use when debugging traffic; for live device data use device-information. Input: UA string. Returns parsed fields. 100% client-side.