Skip to main content
Z

IP Notation Converter — IPv4 & IPv6 to Decimal, Hex & Binary

Convert IPv4 and IPv6 between dotted, decimal integer, hex, octal, binary, and canonical / expanded forms. Auto-detects the input format.

Free No signup Client-side Privacy friendly Updated

How to use

  1. 1 Pick IPv4 or IPv6 at the top.
  2. 2 Paste an address in any form — dotted, decimal integer, hex, octal, or binary.
  3. 3 Every other form computes live as you type.
  4. 4 Copy any row with the clipboard button.

Why use this tool

  • IPv4 in eight forms — dotted decimal, decimal integer, hex, dotted hex, dotted octal, binary (dotted and flat), and octal integer.
  • IPv6 with both canonical (with ::) and fully-expanded forms, plus 128-bit decimal integer.
  • Auto-detect on paste — no need to tell the tool which form you used.
  • BigInt-safe for IPv6's 128-bit integer.

Frequently asked questions

What is the decimal integer form for?

Some databases and APIs store IPs as a single integer instead of dotted octets. INET_ATON in MySQL and Postgres's inet_aton equivalent both work with this form.

Why does 0177.0.0.1 work?

Octets with a leading zero are interpreted as octal. 0177 is decimal 127. This matches the long-standing ping / inet_aton convention.

Does it support CIDR ranges?

No — paste a single address only. For network calculations use a dedicated CIDR tool.

Need to convert the integer in another base?

Use our Number Base Converter — feed the decimal integer in and get binary, octal, hex live.

What is IP Notation Converter?

An IP Notation Converter is a tool that converts IPv4 and IPv6 addresses between dotted notation, decimal integer, hexadecimal, octal, binary, and canonical or expanded forms. It auto-detects the input format and renders the equivalent representations. Running in the browser, it helps translate addresses between the notations used by different systems and libraries.

Features

Every IPv4 notation

Dotted-decimal ↔ 32-bit integer ↔ hex ↔ binary, all shown together.

Mixed-radix octets

Parses octets given in decimal, 0x hex, octal, or binary.

100% private

Conversion runs on your device — nothing is uploaded.

Example

Input

192.168.1.1

Output

decimal: 3232235777 · hex: 0xC0A80101 · binary: 11000000.10101000.00000001.00000001

Common use cases

  1. 1

    Store IPs as integers

    Convert an address to its 32-bit integer for compact database storage or comparison.

  2. 2

    Read firewall / packet dumps

    Decode a hex or integer IP seen in logs, ACLs, or packet captures.

  3. 3

    Teach IP addressing

    Show the same address across decimal, hex, and binary to explain the 32-bit structure.

Summary

Zerethon's IP notation converter translates an IPv4 address between dotted-decimal, a 32-bit integer, hexadecimal, and binary, in your browser. It accepts octets written in decimal, hex (0x), octal, or binary and round-trips to every notation at once. Everything runs client-side — nothing is uploaded.

Category
Developer
Pricing
Free
Privacy
Browser-based
Signup
Not required

References

Privacy

Your data never leaves your browser unless explicitly stated. IP Notation Converter runs entirely client-side — no server upload, no logging, no tracking of your input.

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Sign up free