⚡
usefultools.dev
IPv4

IPv4 Address Converter

NEW

IPv4 address converter: turn dotted decimal into an integer, hex, binary, octal, IPv4-mapped IPv6 or 6to4 and back. Free, in-browser, with copy buttons.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Accepts dotted decimal, a decimal integer, hex (0x…), binary (32 bits, with or without dots), octal (0o… or leading 0), IPv4-mapped IPv6 and 6to4 addresses. The notation is detected automatically.

Try:

Detected: Dotted decimal · Range: Private network (192.168.0.0/16)

  • Dotted decimal
    192.168.1.1
  • Decimal integer
    3232235777
  • Hexadecimal
    0xC0A80101
  • Dotted hexadecimal
    C0.A8.01.01
  • Binary (dotted octets)
    11000000.10101000.00000001.00000001
  • Binary (32 bits)
    11000000101010000000000100000001
  • Octal
    0o30052000401
  • Octal (leading 0)
    030052000401
  • IPv4-mapped IPv6
    ::ffff:192.168.1.1
  • IPv4-mapped IPv6 (hex)
    ::ffff:c0a8:101
  • 6to4 prefix
    2002:c0a8:101::/48
  • Reverse DNS name
    1.1.168.192.in-addr.arpa
⚡

Quick Examples

Typical inputs and the results this tool produces.

Integer
192.168.1.1
3232235777
Hex
0xC0A80101
192.168.1.1
Mapped
8.8.8.8
::ffff:8.8.8.8
6to4
192.168.1.1
2002:c0a8:101::/48
📖

Overview

An IPv4 address is a single 32-bit number that we usually write as four dotted decimal octets. This IPv4 address converter shows the same address as a decimal integer, hexadecimal, binary, octal, an IPv4-mapped IPv6 address (::ffff:a.b.c.d) and its 6to4 prefix, so you can compare formats at a glance.

Network engineers, developers reading logs or databases that store addresses as integers, and security analysts decoding obfuscated links all need to move between these notations. Paste any of them and the tool detects the format, validates it and recalculates every other form with unsigned 32-bit math, so values above 2,147,483,647 never go negative.

It also names the address range (private, loopback, link-local, multicast and so on). Everything runs in your browser and nothing is uploaded.

Why use this tool?

  • Auto-detects the notation you paste
  • Every format on one screen
  • Unsigned math, no negative integers
  • Copy any single form in one click
  • Private: nothing leaves your browser
⭐

Features

🔎

Format detection

Recognises dotted, integer, hex, binary, octal, mapped and 6to4 input.

🔢

Twelve outputs

Decimal, hex, binary, octal, IPv6 forms and the reverse DNS name.

✅

Strict validation

Rejects octets above 255, leading zeros and values over 32 bits.

🏷️

Range label

Flags private, loopback, link-local, multicast and documentation ranges.

📋

Per-row copy

Each representation has its own copy button.

🔒

Local only

Pure client-side math; no lookups and no network calls.

🛠️

How to Use

1

Paste an address

Type or paste an IPv4 address in the input field, in any supported notation.

2

Check the detection

The line above the table shows the detected format and the address range.

3

Read every form

Scroll the table for decimal, hex, binary, octal, IPv4-mapped IPv6 and 6to4.

4

Copy what you need

Press Copy next to the representation you want to paste elsewhere.

🤔

Frequently Asked Questions