Antpact Toolbox
中文
Home › Network Tools › IPv4 ↔ Integer Converter

IPv4 ↔ Integer Converter

Convert between IPv4 and a 0-4294967295 integer.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Enter an IPv4 on the left; the right shows the integer.
  2. Or enter an integer on the left; the right shows the IPv4.

FAQ

Why is the max 4294967295?

IPv4 is 32 bits, max is 2^32 - 1.

Anything uploaded?

No.

About this IPv4 ↔ Integer Converter

Uses math (a·2^24 + b·2^16 + c·2^8 + d) to avoid JavaScript's 32-bit signed bitwise limit.