IPv4 Address Converter — IP to Binary, Hex & Decimal Online

Free online IPv4 address converter. Convert an IP address to binary, hexadecimal, decimal and IPv6 mapped format, or a decimal, hex or binary value back to a...

To convert an IP address, type an IPv4 address such as 192.168.1.1, or a decimal, 0x hex or 32-bit binary value; the dotted, decimal, hexadecimal, binary and IPv4-mapped IPv6 forms appear instantly.

Last updated:

IPv4 Address Converter — IP to Binary, Hex & Decimal Online. Free online IPv4 address converter. Convert an IP address to binary, hexadecimal, decimal and IPv6 mapped format, or a decimal, hex or binary value back to an IP, instantly in your browser.

Convert any IPv4 address to binary, hexadecimal, decimal, and IPv6 mapped format instantly with our free online IP address converter.

Enter any dotted-decimal IPv4 address (like 192.168.1.1) and instantly see all representations — essential for network engineering, subnetting, firewall rule writing, and CIDR calculations. Works 100% in your browser with no data sent to any server.

Our IP to binary converter also works in reverse as a binary to IP and decimal to IP converter: paste 3232235777, 0xC0A80101 or 32 binary digits and get 192.168.1.1 back.

It is perfect for developers, network engineers, and students learning about IP addressing.

Use the decimal output for integer-based IP storage in databases, the hex output for low-level network programming, and the IPv4 address binary format for understanding subnet masks.

Use it alongside our IPv4 Subnet Calculator and IPv4 Range Expander for a complete network toolkit.

Frequently asked questions

How do I convert an IP address to binary?

Type the IPv4 address in dotted form, for example 192.168.1.1. IP in Binary shows the 32-bit value 11000000101010000000000100000001, next to IP in Decimal, IP in Hex and the IPv6 mapped forms. Leading zeros are kept, so the binary value always has 32 digits, for example 10.0.0.1 gives 00001010000000000000000000000001.

How is an IP address converted to decimal?

Each of the four octets is one byte, so the decimal value is the first octet times 16777216, plus the second times 65536, plus the third times 256, plus the fourth. For example 192.168.1.1 equals 3232235777, and IP in Hex shows C0A80101.

What is an IPv4-mapped IPv6 address?

It is the IPv6 form of an IPv4 address: 80 zero bits, 16 one bits (ffff) and then the 32-bit IPv4 value. The tool shows the full form 0000:0000:0000:0000:0000:ffff:c0a8:0101 and the short form ::ffff:c0a8:0101, as used by dual-stack systems.

Can I convert a decimal or binary number back to an IP address?

Yes. Type a decimal number from 0 to 4294967295 such as 3232235777, a hex value with the 0x prefix such as 0xC0A80101, or 32 binary digits, optionally split into four groups of 8 by dots or spaces. The IPv4 (dotted) row then shows 192.168.1.1 along with every other format.

Why does my input show an error?

A dotted address must be four numbers from 0 to 255 without leading zeros, a CIDR suffix or a port, so 192.168.001.1, 10.0.0.0/8 or 192.168.1.1:80 are rejected. Decimal input must not exceed 4294967295, hex needs the 0x prefix and at most 8 digits, and binary needs exactly 32 digits.

How to use this online tool

IPv4 Address Converter — IP to Binary, Hex & Decimal Online is designed for fast browser workflows when you need to format, validate, convert, decode, encode, generate, or inspect data without opening a heavy desktop app. Start with the input field or visible options, review the result, then copy or download the output for the next step.

Private processing in your browser

IPv4 Address Converter — IP to Binary, Hex & Decimal Online keeps the normal processing step local in your browser. That is useful for code snippets, tokens, documents, configuration values, text samples, and other material that should not be sent to a remote service unless you explicitly choose to share it.

When this tool is useful

Use IPv4 Address Converter — IP to Binary, Hex & Decimal Online for repeatable developer tasks, technical documentation, QA checks, quick conversions, debugging, content cleanup, and internal team workflows. The page focuses on clear inputs, immediate feedback, and output that is easy to reuse in code, reports, tickets, emails, or notes.

Practical tips

Before copying the final result, check important details such as spacing, casing, filenames, encoding, token structure, line breaks, or output format. Small checks prevent mistakes when the result is reused in source code, API requests, documentation, spreadsheets, or shared files.