Skip to content
NSNormandin SystemsTHE EVERYDAY TOOLBOXMain site
⌁

Network / YOUR EVERYDAY TOOLBOX

IPv4 address converter

Convert an IP address into decimal, binary, hexadecimal, or even an IPv6 representation of it.

✓ Free to use✓ No account neededHow to use this tool ↓
YOUR WORKSPACESee an example ↗

Opening your tool…

Runs in your browser. Check important results and keep a copy of your original files.

THE PRACTICAL GUIDE · NORMANDIN SYSTEMS

Get more from IPv4 address converter

IPv4 address converter: Convert an IP address into decimal, binary, hexadecimal, or even an IPv6 representation of it. IPv4 addresses contain four octets that can be represented numerically without changing the underlying 32-bit value. IP calculations describe address space; they do not tell you whether a host is online or whether a firewall permits traffic. Prefix lengths divide an address into network and host portions, and a one-bit prefix change can substantially change the number of included addresses. Confirm whether you are working with IPv4 or IPv6 and use the same family throughout a calculation. For network planning, record both the human-readable notation and the exact boundaries. This helps catch accidental overlap, oversized allowlists, and assumptions about which addresses are usable.

Guide updated October 13, 2026

How to use this tool

  1. Begin with a representative input. For a practical test, use: 192.0.2.1. Replace demonstration values only after you understand the output.
  2. Enter the address, range, or prefix in the syntax requested by the tool, using the correct IPv4 or IPv6 address family.
  3. Inspect the network boundaries and the size of the resulting address space, especially when a calculation broadens or subdivides a range.
  4. Compare the result with neighboring subnets and your intended allocation before applying it to a router, firewall, or configuration file.

SEE IT IN PRACTICE

A worked example

EXAMPLE INPUT
192.0.2.1
RESULT / WHAT TO EXPECT
Decimal 3221225985 and hexadecimal C0000201

Retain the conventional dotted-decimal address alongside alternative forms for clear operational documentation.

Separate notation from numeric value

An IPv4 address is a 32-bit value conventionally written as four decimal octets. IPv6 is 128 bits and conventionally uses hexadecimal groups with optional zero compression. Converting between representations should preserve those bits. A decimal-looking input can be an address integer rather than a dotted address, so the selected family and base must be explicit.

Preserve exact values in surrounding tools

Large integers can lose precision when treated as ordinary floating-point numbers in spreadsheets or programming languages. This is especially important for IPv6. Store exact numeric representations as strings or use a suitable arbitrary-precision integer type. Keep the conventional human-readable address alongside the converted form and test a round trip before importing values into a database or analysis pipeline.

When this tool is useful

  • Translate an IPv4 representation
  • Inspect address bits
  • Check an encoded log value

Tips for a better result

  • Alternative numeric spellings are useful for inspection but are not accepted uniformly by every parser or application.
  • An address being mathematically inside a subnet does not prove that the address is assigned, reachable, or authorized for access.
  • Keep prefix lengths visible in documentation; an address without its prefix is insufficient to describe a subnet allocation.

Frequently asked questions

Can two different address strings represent the same address?

Yes. IPv6 compression and leading-zero rules allow multiple spellings, and numeric conversions expose other representations. Compare the normalized address value rather than raw display text when equality matters.

Why does the prefix length matter?

The prefix length controls how many bits identify the network. Increasing the prefix length makes the block smaller; decreasing it makes the block larger and can include addresses beyond your intended scope.

Can I paste the result directly into a firewall?

First verify the destination’s accepted syntax and the policy’s intended scope. A mathematically correct range can still grant too much access, overlap another rule, or behave differently because of rule ordering.

What happens to the information I enter?

The utility processes your input in this browser. Some tools retain field values in browser storage or the URL; avoid entering secrets in shareable fields. Page and asset requests still go to the hosting provider. Read the privacy and offline-use notes for details.