IP to Decimal Converter
Convert any IPv4 address to its 32-bit decimal integer (and back) with a full binary breakdown of each octet.
Use the IP to Decimal Converter
IPv4 Address
Decimal Integer
Quick Examples
Enter an IPv4 address or decimal integer to see the conversion.
IPv4 Address
Decimal (32-bit)
Hexadecimal
Binary Breakdown (per octet)
Full 32-bit Binary
Copied!
Summary
Convert any IPv4 address to its 32-bit decimal integer (and back) with a full binary breakdown of each octet.
How it works
- Enter a dotted-decimal IPv4 address (e.g. 192.168.1.1) in the top field.
- Each octet is converted to its 8-bit binary equivalent.
- The four 8-bit groups are concatenated into a single 32-bit binary string.
- That 32-bit string is interpreted as an unsigned integer to produce the decimal result.
- To reverse, enter a decimal integer in the bottom field and the dotted IP is reconstructed.
Use cases
- Understand how IP addresses are stored internally by operating systems and databases.
- Debug network masks, CIDR ranges, and subnetting calculations.
- Verify IP integer values stored in database columns (INT UNSIGNED).
- Convert IP addresses for use in numeric comparisons or range queries.
- Learn binary arithmetic and bit-shifting by watching the octet breakdown.
- Cross-check tool output against manual calculations in a classroom setting.
Frequently Asked Questions
Last updated: 2026-09-22 ·
Reviewed by Nham Vu