About the IP Address Converter
This tool converts any valid IPv4 or IPv6 address into common textual and numeric forms. You get dotted-decimal, whole 32-bit integer, hex, 32-bit binary, IPv4-mapped IPv6, full 128-bit IPv6 expansion, embedded IPv4 forms, address type and reverse DNS. Developers, network engineers and students use it to check representations and debug scripts. The conversion runs entirely in your browser; nothing is uploaded to a server. Results update as you type, and you can copy any field or create a share link that reopens with your input. The tool follows standard methods and RFC text for IPv6 canonical form. It focuses on single-address conversion and instant feedback rather than bulk import or geolocation.
How to use it
- 1Type or paste an IPv4 or IPv6 address into the input box.
- 2Watch results update instantly for all representations.
- 3Copy a field or click share to generate a link with your input.
Worked example
Input: 192.0.2.1 Output: IP address: 192.0.2.1 Version: IPv4 Whole number: 3221225985 Hex: 0xc0000201 Binary: 11000000 00000000 00000010 00000001 IPv4-mapped IPv6: ::ffff:192.0.2.1 Full IPv6: 0000:0000:0000:0000:0000:ffff:c000:0201 Embedded IPv4: ::ffff:c000:0201 Address type: documentation (TEST-NET-1 per RFC 5737) Reverse DNS name: 1.2.0.192.in-addr.arpa
How it works
An IPv4 address is a 32-bit number: a.b.c.d = a x 16,777,216 + b x 65,536 + c x 256 + dIPv6 addresses are 128-bit numbers written as eight groups of four hex digits; the short form follows RFC 5952 (lowercase, no leading zeros, the longest run of zero groups replaced by ::)Address types follow the IANA special-purpose registries (RFC 1918 private ranges, RFC 65908 carrier-grade NAT, loopback, link-local, documentation and multicast)Results update instantly as the visitor types; there is no calculate buttonVisitors can copy the result and share a link that reopens with their numbersSource: RFC 5952 - IPv6 text representationRFC 4291 - IPv6 Addressing ArchitectureIPv4 address integer formula and examples. Last checked 7 November 2026.
What it is good for
- Instant client-side conversions with no calculate button
- Shows all common formats at once for quick checks
- Copy values or share a link that reopens with your input
- Does not perform CIDR to range or netmask calculations on this page
- No bulk CSV import or mass conversion in this tool
Questions people ask
How do you get the integer from an IPv4 address?
Treat the address as a 32-bit unsigned number. Compute a×256^3 + b×256^2 + c×256 + d. Example: 192.0.2.1 equals 3221225985.
How does the tool display IPv6 addresses?
The tool shows compressed and full 128-bit forms. It follows RFC 5952 for short form: lowercase hex, no leading zeros, and :: for the longest zero run.
Are conversions done on a server?
No. Conversions run in your browser. The page does not upload the addresses to a remote server when you use the tool.
Can I convert an IPv4 address to IPv6?
You can produce a textual IPv4-mapped IPv6 form such as ::ffff:192.0.2.1. That is a representation mapping, not a routing or protocol conversion.
Does the tool accept numbers with leading zeros or octal notation?
Parsers differ across tools. This converter uses common textual formats and avoids ambiguous octal forms to prevent parsing errors.
Are IP addresses considered personal data in Europe?
Yes. In the EU, IP addresses can be personal data under GDPR. Treat any stored or logged IPs according to your local data rules.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.