IPv4 between dotted-decimal, integer, binary, and hex. Free, private, runs in your browser.
100% private — your files never leave your browser. All processing happens locally on your device.
An IPv4 address is a 32-bit number. Dotted-decimal (192.168.1.1) is how humans write it; decimal (3232235777) is how databases often store it; binary is how the hardware processes it; hexadecimal (C0A80101) is how some protocols and debugging tools show it. The tool converts between all four instantly — type in any format and the others fill in automatically.
Storing IPs as 32-bit unsigned integers instead of strings saves space in databases (4 bytes vs. up to 15) and enables fast range queries — geolocation lookups work by finding the range of integers containing the IP. IP logs in analytics pipelines are often serialised as integers for the same reason. When you need to bridge between 'human IP' and 'database IP' in a debugging session, this tool is the quickest path.
Paste any of the four formats and the tool detects which. Four numbers separated by dots → dotted-decimal. A plain integer → decimal. Zeros and ones, optionally in groups of 8 separated by dots → binary. Anything with a hex digit (A-F) or a 0x prefix → hexadecimal. If your input is ambiguous (for example a short string like '192' that could be decimal 192 or partial dotted), the tool picks the most likely interpretation.
IPv6 support is planned for a future release — the math is similar but requires BigInt for the 128-bit space and careful handling of zero-compression (::1, 2001:db8::8a2e). For now the tool is IPv4-only, which covers the overwhelming majority of day-to-day network debugging needs.
All conversions happen in your browser. No addresses are logged or transmitted. Useful in corporate environments where running debugging tools against a third-party server raises data-exfiltration concerns — there's no server here to exfiltrate to.
Database columns storing IP addresses as 32-bit unsigned integers take less space than strings and are faster to range-query — think geolocation lookups or firewall rule matching. Serialising IPs to integers is a common step in log analysis and analytics pipelines.
Not yet. IPv6 conversion is a stretch goal for a later sprint — the math is similar but requires BigInt for the 128-bit address space and careful handling of zero-compression canonical forms. For now this tool is IPv4-only.
The tool looks at your input: four numbers separated by dots is dotted-decimal; a plain integer is decimal; dotted or continuous 0s and 1s is binary; `0x…` or any hex digit is hexadecimal. If your input is ambiguous (e.g. a hex string with only digits), the decimal path wins.