Convert IPv4 between dotted-decimal, decimal, binary, hex, and octal. Convert IPv6 between full and compressed notation. Free, browser-based, no signup.
An IP address can be written in several equivalent forms. The same IPv4 address — for example 192.168.1.1 — can also be written as a single decimal integer (3232235777), a binary string (11000000.10101000.00000001.00000001), a hexadecimal value (0xC0A80101), or even an octal form. IPv6 addresses likewise have a long "full" form and a shorter "compressed" form using :: to collapse zero groups. This tool converts between every representation in a single click, with everything happening in your browser.
Paste any IP address — IPv4 or IPv6, in any format — and the tool detects the format, validates it, and renders every equivalent representation side-by-side with one-click copy buttons. Use it for firewall rule writing, network class homework, log-file forensics, CIDR planning, embedded-systems configuration, and any time you need to translate between how humans read IPs and how routers store them.
IPv4 Dotted-Decimal ↔ Decimal integer — e.g. 192.168.1.1 ↔ 3232235777
IPv4 Dotted-Decimal ↔ Binary — e.g. 192.168.1.1 ↔ 11000000.10101000.00000001.00000001
IPv4 Dotted-Decimal ↔ Hexadecimal — e.g. 192.168.1.1 ↔ 0xC0A80101 or C0.A8.01.01
IPv4 Dotted-Decimal ↔ Octal — e.g. 192.168.1.1 ↔ 0300.0250.0001.0001
IPv6 Full ↔ Compressed — e.g. 2001:0db8:0000:0000:0000:ff00:0042:8329 ↔ 2001:db8::ff00:42:8329
IPv4-mapped IPv6 — e.g. ::ffff:192.168.1.1 shown alongside its pure-IPv6 form
Auto-detects input format — you don't have to tell it whether you've typed IPv4 or IPv6
Validates the address (reports clearly if it's out of range or malformed)
One-click copy for every output format
Shows the address class (A / B / C / D / E) and whether it's private (RFC 1918), loopback, link-local, multicast, or public
IPv6 compression handles every edge case (longest zero run, leading-zero stripping)
Works entirely offline once loaded
Dark mode matches your system preference
Paste or type your IP address into the input box.
The tool detects the format (IPv4, IPv6, decimal, binary, hex) and validates it.
Every equivalent representation appears in the results table.
Click Copy next to any format to copy it to your clipboard.
Why people convert IP addresses every week:
Firewall & ACL rules — some platforms require decimal integers, others require dotted-decimal, others CIDR-style ranges.
Log file analysis — web server logs occasionally store IPs as 32-bit integers (especially in MySQL INET_ATON columns); convert back to dotted-decimal to make sense of them.
Network classroom homework — CCNA, Network+, and CS-courses regularly ask students to convert between binary and dotted-decimal by hand. Verify your answer here.
Embedded systems — microcontroller code often stores IPs as uint32_t; convert from human notation to the integer the firmware expects.
CIDR / subnet planning — binary representation makes it obvious how many host bits remain in a subnet mask.
IPv6 deployment — switching between long and compressed forms for documentation vs. config files.
Reverse-DNS investigation — some dig -x outputs use compressed IPv6, but your hosting console may want the full form.
All conversion runs in your browser using JavaScript bit-shifts — no IP you enter is sent to any server, logged, or analysed. Useful when you're working with internal addresses, customer IPs from logs, or security-research data.
IPv4 follows RFC 791 and IPv6 follows RFC 5952's canonical text representation rules — the same rules that inet_pton, dig, and modern operating systems use. Output matches what your router, OS, or BIND would produce.
No signup, no rate limits, no ads in the output. Open the tool, paste, copy, done.
192.168.1.1 equal to 3232235777?An IPv4 address is a 32-bit number. 192.168.1.1 in binary is 11000000 10101000 00000001 00000001. Concatenate those 32 bits and interpret as a single integer: 11000000101010000000000100000001 = 3232235777. The formula: (192 × 2563) + (168 × 2562) + (1 × 256) + 1.
2001:db8::ff00:42:8329 mean?That's the compressed form of 2001:0db8:0000:0000:0000:ff00:0042:8329. The :: stands for "one or more consecutive groups of zeros" — it can only appear once per address. Leading zeros within each group are also dropped (0db8 → db8, 0042 → 42).
192.168.1.1 a public or private IP?Private. RFC 1918 reserves three IPv4 blocks for private networks: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. Addresses in those ranges are not routed on the public internet and are reused inside every home and office network.
IPv4-mapped IPv6 addresses look like ::ffff:192.168.1.1. They're used by dual-stack systems to represent an IPv4 endpoint as a 128-bit value so the same socket code can handle both protocols. The first 80 bits are zero, the next 16 are ffff, and the last 32 are the IPv4 address.
Dotted-decimal is the address itself (192.168.1.1). CIDR adds a prefix length to denote a range (192.168.1.0/24 = "the 256 addresses from 192.168.1.0 to 192.168.1.255"). This tool converts addresses; for subnet planning use a dedicated CIDR calculator.
%eth0)?Yes — zone IDs after a % are preserved through conversion but don't affect the address itself. They're a local-only labeling mechanism, not part of the on-wire address.
Yes — the tool runs entirely client-side. Once the page is loaded, you can disconnect and keep converting.
How to Use IP Address Converter — IPv4 to Decimal, Binary, Hex & IPv6
Enter or paste the content you want to process using the ip address converter — ipv4 to decimal, binary, hex & ipv6.
Adjust any available settings or options to customize the output.
View, copy, or download your processed results instantly.
Convert IPv4 between dotted-decimal, decimal, binary, hex, and octal. Convert IPv6 between full and compressed notation. Free, browser-based, no signup.
Tool Use:
3Type:
Free ToolPrivacy:
Client SideLook up A, AAAA, CNAME, MX, TXT, NS, SOA, CAA, and SRV records for any domain. Free online dig / nslookup replacement, browser-based, no signup.
Convert dates between DD/MM/YYYY, MM/DD/YYYY, YYYY-MM-DD, and 20+ other date formats. Free online date format converter with custom format support and one-click copy.
Send a WhatsApp message to any number without saving it to your contacts. Free, instant, no signup — perfect for businesses and one-off chats.
Generate custom QR codes for URLs, vCards, Wi-Fi, text, and more — high-resolution PNG and SVG download, free.
Convert between gold karats, purity percentage, touch, tunch, and 916/750/585/375 hallmark markings. Free online gold karat calculator and purity converter.