IP Tools · Free tool

IP To Decimal

Convert any IPv4 address to its decimal, hexadecimal, octal, and binary forms instantly — and turn big integers back into dotted IPs.

Reverse: decimal to IP

How to use the ip to decimal

  1. Type an IPv4 address (or an IPv6 address) — conversions appear live as you type.
  2. Read the decimal integer, hex, binary, and octal representations.
  3. Paste a big decimal number into the reverse field to get the dotted address back.
  4. Copy the whole result table in one click.

About this tool

An IPv4 address is really just a 32-bit number written in a friendly notation: each of the four octets contributes 8 bits, so 192.168.1.1 equals 192×256³ + 168×256² + 1×256 + 1. Databases, log analyzers, and some APIs store IPs as these plain integers because they sort and index efficiently.

IPv6 addresses are 128-bit numbers, far beyond what a normal integer holds — this tool handles them with native big-integer math and shows the full unsigned decimal value.

Frequently asked questions

Why do databases store IPs as numbers?

Integer keys are smaller, faster to index, and sort in network order naturally — useful for range queries like “find all sessions from this /24”.

How do I convert back?

Type the decimal number into the reverse field. The tool splits the number into four octets and rebuilds the dotted address.

Does it support IPv6?

Yes. IPv6 input yields the expanded form plus the full 128-bit decimal and hexadecimal values.

Looking for more? Browse the full tools library, read the site FAQ, or contact us.