Skip to content

IP to Decimal Converter

Embed

Paste this where you want IP to Decimal Converter on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/ip-to-decimal/" width="100%" height="500" frameborder="0" loading="lazy" title="IP to Decimal Converter"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/ip-to-decimal/">IP to Decimal Converter</a> by BrowserUtils</p>

Convert IP addresses to decimal and back.Runs in this tab.

Hex: 0xC0A80101
Binary: 11000000 10101000 00000001 00000001
Octal: 30052000401

Next step

About IP to Decimal Converter

Free online IP to decimal converter. Convert dotted-quad IPv4 addresses to their decimal (integer) representation and vice versa. It runs in your browser. Nothing is sent to a server.

Questions

How is an IP address converted to a decimal number?
Each of the four octets is treated as a byte. The decimal value is: octet1×16777216 + octet2×65536 + octet3×256 + octet4. For example, 192.168.1.1 = 3232235777.
Why convert an IP to decimal?
Decimal IP representation is used in databases for efficient storage and range queries, in firewall rules, and in certain network programming contexts.
Does this tool support IPv6 addresses?
This converter handles IPv4 addresses in dotted-quad format (e.g., 192.168.1.1). IPv6 addresses use a different 128-bit format and are not supported by this tool.
Is it safe to enter my IP address into this tool?
Yes. The conversion runs entirely in your browser. No IP addresses or other data are sent to any server or logged anywhere.
Can I convert a decimal number back to an IP address?
Yes. Enter a decimal integer and the tool will produce the corresponding dotted-quad IPv4 address. This is useful when reading IP values stored as integers in databases or log files.

More in Math & Calculators

All 16 math & calculators