PasteZap
🌐 English
Free · No account

FREE · NETWORK & IT INFRASTRUCTURE

IP Address Converter.

Convert an IP address between dotted decimal, integer, hexadecimal, binary, IPv4-mapped IPv6 and reverse-DNS forms, and expand or compress IPv6.

Limits & supported formats

Dotted IPv4 with leading zeros is rejected because some systems read it as octal. Everything is calculated in your browser; nothing is sent or probed on the network.

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
IPv4 address192.168.1.10
Dotted decimal
192.168.1.10
Decimal integer
3232235786
Hexadecimal
0xC0A8010A
Dotted hexadecimal
C0.A8.01.0A
Dotted binary
11000000.10101000.00000001.00001010
Octal (dotted)
0300.0250.01.012
IPv4-mapped IPv6
::ffff:192.168.1.10 · ::ffff:c0a8:10a
6to4 prefix
2002:c0a8:10a::/48
NAT64 (64:ff9b::/96)
64:ff9b::c0a8:10a
Reverse DNS name
10.1.168.192.in-addr.arpa
Address type
Private (RFC 1918)
Historic class
C

  • Octal is shown for reference: some tools read leading zeros as octal, so 010.0.0.1 can mean 8.0.0.1. This converter rejects leading zeros in dotted input.

Steps to use IP Address Converter

Paste an address in any form: dotted IPv4, IPv6, a decimal integer, 0x hexadecimal or binary. Choose whether integers are read as IPv4 or IPv6.

How IP Address Converter processes your input

The input is parsed into one integer (32 or 128 bits) and printed in every notation. IPv6 compression follows RFC 5952; embedded IPv4 addresses are detected in IPv4-mapped, 6to4 and NAT64 forms.

IP Address Converter: worked example

192.168.1.10 = 3232235786 = 0xC0A8010A = ::ffff:192.168.1.10; 2001:0DB8:0000:0000:0000:ff00:0042:8329 compresses to 2001:db8::ff00:42:8329.

How to convert an IP address

  1. Paste the address in “IP address in any format”: dotted decimal such as 192.168.1.10, an integer such as 3232235786, hex such as 0xC0A8010A, or an IPv6 address.
  2. Keep “Read integers and hex as” on Auto, or force IPv4 or IPv6 when a small number is meant as an IPv6 address.
  3. Copy the notation you need from the results.

Example: 192.168.1.10 is 3232235786 in decimal, 0xC0A8010A in hex and 11000000.10101000.00000001.00001010 in binary. Its reverse DNS name is 10.1.168.192.in-addr.arpa, and its IPv4-mapped IPv6 form is ::ffff:192.168.1.10.

IPv6 compression and embedded IPv4

For IPv6 the converter prints the compressed form defined by RFC 5952 and the full expanded form: 2001:0DB8:0000:0000:0000:ff00:0042:8329 becomes 2001:db8::ff00:42:8329. It also finds an IPv4 address embedded in IPv4-mapped, 6to4 and NAT64 addresses.

Dotted input with leading zeros, such as 010.0.0.1, is rejected because some programs read it as octal (8.0.0.1). To work with whole networks, use the Subnet Calculator; to test whether addresses belong to a range, use the IP in Subnet Checker.

Questions about IP Address Converter

How do I convert an IP address to a number?

Each octet is a base-256 digit: 192 × 256³ + 168 × 256² + 1 × 256 + 10 = 3232235786. The converter does this for you and also shows hex and binary.

Can I convert a decimal number back to an IP address?

Yes. Paste the integer; numbers up to 4,294,967,295 are read as IPv4 in Auto mode, larger ones as IPv6.

Is my address sent to a server?

No. The conversion runs in your browser; no lookup or ping is made.

Is IP Address Converter free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

Dotted IPv4 with leading zeros is rejected because some systems read it as octal. Everything is calculated in your browser; nothing is sent or probed on the network. Review the result before using it in your work.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.