IPv4/IPv6 Converter

Convert between address formats, validate, expand, compress, and identify class.

Type

IPv4

Normalized

192.168.1.1

IPv6 Mapped

::ffff:192.168.1.1

Binary

11000000.10101000.00000001.00000001

Decimal

3232235777

IP Class

Class C

Private

Yes

Loopback

No

Multicast

No

Examples

InputResult
192.168.1.1IPv4, Class C, Private, IPv6 mapped: ::ffff:192.168.1.1
2001:db8::1IPv6, Expanded: 2001:0db8:0000:0000:0000:0000:0000:0001
::1IPv6, Loopback address
127.0.0.1IPv4, Class A, Loopback, Binary: 01111111.00000000.00000000.00000001

About this tool

Enter an IPv4 or IPv6 address and get a full analysis. For IPv4, you see the class, binary representation, decimal value, IPv6-mapped equivalent, and whether it is private, loopback, or multicast. For IPv6, you get both expanded and compressed forms plus the same type classifications.

The tool validates the address format as you type and identifies the address type automatically. Useful for network troubleshooting, documentation, or converting between formats.

Frequently asked questions

How does IPv4 to IPv6 mapping work?

IPv4 addresses can be represented in IPv6 using the IPv4-mapped format: ::ffff: followed by the IPv4 address. For example, 192.168.1.1 becomes ::ffff:192.168.1.1.

What is an expanded vs compressed IPv6 address?

Expanded shows all 8 groups with leading zeros (2001:0db8:0000:0000:0000:0000:0000:0001). Compressed removes leading zeros and replaces the longest run of zero groups with :: (2001:db8::1).

What are private IP addresses?

IPv4 private ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. IPv6 private addresses use the fc00::/7 prefix. These addresses are not routable on the public internet.

EchoBeaver — Free browser tools