sitekits.dev
press ⌘K to switch tools
NETWORK

IPv4 Address Converter

Convert IPv4 addresses between different formats.

local
ipv4-converter
Dotted decimal
192.168.0.1
Decimal (integer)
3232235521
Hexadecimal
0xC0A80001
Binary
11000000.10101000.00000000.00000001

Read as dotted. Binary of 8 digits or fewer is ambiguous with decimal — prefix it with 0b to force binary.

§01 ABOUT THIS TOOL

Overview

An IPv4 address is just a 32-bit unsigned integer; 192.168.0.1 and 3232235521 and 0xc0a80001 are the same value in different notations. This tool parses whichever form you have and shows all four representations at once — useful for decoding integer-form addresses from logs and databases, or for reading firewall and bitmask math.

How to use

  1. Type or paste an address into the IPv4 (dotted / decimal / hex / binary) field. Accepted forms: dotted decimal, decimal integer (0–4294967295), hex with a 0x prefix, or binary (more than 8 digits of 0/1).
  2. Read the results table: Dotted decimal, Decimal (integer), Hexadecimal, and Binary (grouped per octet) update as you type.

Examples

  • 192.168.0.13232235521, 0xc0a80001, 11000000.10101000.00000000.00000001
  • 0xC0A80001192.168.0.1
  • 16777216110.0.0.1

Notes

Each dotted-decimal octet must be 0–255, and integers above 4294967295 (2³²−1) are rejected with an “Unrecognized IPv4 format” error. Short binary strings (8 digits or fewer) are interpreted as decimal, so pad binary input to at least 9 digits.

FAQ
Is the address I enter sent anywhere?
No. Parsing and conversion run entirely in your browser with plain integer math. Nothing is sent to a server.
Why would an IPv4 address be written as a plain integer?
An IPv4 address is a 32-bit number, and some systems store or log it that way. Databases often keep addresses as unsigned integers for indexing, and URLs like http://3232235521/ are occasionally used in phishing to disguise a destination. Converting back to dotted decimal reveals the real address.
How does the tool tell binary input apart from decimal?
Input consisting only of 0s and 1s is treated as binary when it is longer than 8 digits; otherwise it is parsed as a decimal integer. Hex input must carry the 0x prefix, and dotted decimal is detected by its four-octet shape.