IP Address Converter
Free online IP converter: IPv4 dotted / decimal / hex / binary forms, IPv4-mapped IPv6, plus aggregating any address range into minimal CIDR blocks.
Data handling: common local tools process inputs in your browser; network queries, server execution and optional AI follow their separate data-use notes.
What is IP Address Converter?
The same IPv4 address looks different across systems: nginx logs may show a decimal integer, firewall rules use dotted quad, and protocol debugging needs binary. This tool accepts dotted, decimal, or 0x-hex input and produces every form at once, including the IPv4-mapped IPv6 spelling (::ffff:x.x.x.x), with public/private scope flagged. Below, any address range (e.g. 192.168.1.10 - 192.168.1.200) can be aggregated into the shortest possible CIDR list — ready to paste into ACLs and allowlists. All computation is local.
How to Use
- Enter a dotted IP, decimal integer, or 0x hex value to see every form
- To aggregate a range, fill in the start and end IP below
FAQ
- Why does pinging a plain number sometimes work?
- Many systems parse an IP as a 32-bit integer — ping 2130706433 is equivalent to ping 127.0.0.1, and decimal form is often used to bypass naive IP filters.
- Is range-to-CIDR aggregation exact?
- Yes — the output CIDR list covers exactly the input range, no more and no less. Unaligned ranges are split into multiple CIDRs (e.g. .1-.6 becomes 4 entries).
- What is IPv4-mapped IPv6?
- The ::ffff:x.x.x.x form, used to represent IPv4 addresses inside an IPv6 stack — common in dual-stack server logs.
Practical tutorials
- IP Address Basics: Public vs. Private, IPv4 vs. IPv6, and Subnet Masks
What the four numbers of an IPv4 address mean, the three private ranges and how NAT relates to them, how to read CIDR and subnet masks, and why IPv6 exists.
- Subnetting and CIDR in Practice: Splitting a /24 and Aggregating Address Ranges
A prefix-to-mask cheat sheet, the full process of splitting a /24 for four departments, the /31 point-to-point special case, IPv6 subnet planning, and how to aggregate any address range into the shortest CIDR list.
Related Tools
Last updated 2026-09-15