Emergency server help: get in touch

IP Address Converter

Convert an IPv4 address between dotted decimal, integer, hexadecimal and binary, and see its IPv4-mapped IPv6, 6to4, NAT64 and reverse-DNS forms.

Status
Live
Last updated
October 3, 2026

Enter an address in any common form, such as 192.0.2.10, 3221225994, 0xC000020A, a 32-bit binary string or ::ffff:192.0.2.10, and the tool shows every other representation. Everything is calculated in your browser.

Where these formats appear

Integer form is how MySQL INET_ATON(), many GeoIP databases and some firewall logs store IPv4 addresses. Hex appears in packet captures and /proc/net files on Linux. IPv4-mapped IPv6 addresses (::ffff:a.b.c.d) show up in web server and application logs when a dual-stack socket accepts an IPv4 connection.

NAT64 addresses under 64:ff9b::/96 are used by IPv6-only networks to reach IPv4 servers, and the in-addr.arpa name is what you query for a PTR record or delegate to a customer for reverse DNS.

IP address converter at a glance

IP Address Converter summary card: Enter an address in any common form, such as 192.0.2.10, 3221225994, 0xC000020A, a 32-bit binary string or…
In short: Enter an address in any common form, such as 192.0.2.10, 3221225994, 0xC000020A, a 32-bit binary string or ::ffff:192.0.2.10, and the tool shows every other representation.
IP address converter – overview of the steps
IP address converter: the sections of this tool at a glance.
IP Address Converter questions answered: How do I convert in MySQL? Does it convert IPv6 addresses?
Answers: How do I convert in MySQL? Does it convert IPv6 addresses?

Official documentation: Windows Server documentation, AlmaLinux wiki, Linux man pages.

Related guides: Troubleshoot MTU, fragmentation and slow VPN throughput · Cloudflare Tunnel (cloudflared): expose an internal service without opening ports · Configure DHCP failover between two Windows Servers.

Frequently asked questions

How do I convert in MySQL?

SELECT INET_ATON(‘192.0.2.10’); returns 3221225994 and SELECT INET_NTOA(3221225994); converts it back.

Does it convert IPv6 addresses?

It converts IPv4 and IPv4-mapped IPv6. For IPv6 prefixes and ranges use the IPv6 subnet calculator.

Why does ping 3221225994 work?

Most operating systems accept the integer form of an IPv4 address, which is why it is sometimes used to disguise addresses in phishing links.

Free website test

Is your website set up right?

Check SSL, security headers, redirects, robots.txt, sitemap, llms.txt and security.txt in one test. It takes about 30 seconds.