メインコンテンツへスキップ

IPv4 to IPv6 Converter

Convert an IPv4 address to its IPv6-mapped and 6to4 representations.

Inputs

Enter an IPv4 address to convert to IPv6, or an IPv6-mapped address to extract IPv4

Conversion Result

Results will appear here.

Converting an IPv4 address to its IPv6 representations is a routine task when working with dual-stack network configurations, writing socket code, or auditing firewall rules that must handle both protocol families. The IPv4-mapped and 6to4 forms appear in kernel logs, packet captures, and application configurations, and knowing how to produce and interpret them is essential for IPv6 migration work.

This tool accepts any valid IPv4 address and outputs both the ::ffff: mapped form and the 2002:: 6to4 prefix, formatted for direct use in configuration files, firewall rules, or network documentation.

オンラインでIPv4アドレスをIPv6に変換する方法

  1. 1

    IPv4アドレスを入力

    IPv4アドレス(例: 192.0.2.1)を入力フィールドに貼り付けるか入力します。コンバーターは標準のドット区切り10進数表記を受け付けます。

  2. 2

    変換形式を選択

    変換方式を選択します: IPv4マップIPv6(::ffff:x.x.x.x)、6to4(2002:xxxx:xxxx::)、または標準IPv6。各方式は異なるトンネリングと互換性シナリオに対応します。

  3. 3

    変換結果を確認

    ツールが変換されたIPv6アドレスを即時に出力します。結果をクリップボードにコピーするか、ネットワーク設定に使用してください。

How IPv4-to-IPv6 Address Conversion Works

IPv4-mapped IPv6 addresses (::ffff:0:0/96) are used by the IPv6 socket API to represent IPv4 connections received on dual-stack sockets. The 32-bit IPv4 address is placed in the low-order 32 bits of the 128-bit IPv6 address space, allowing a single socket to accept both IPv4 and IPv6 connections transparently.

The 6to4 mechanism (RFC 3056) encodes the IPv4 address into a /48 IPv6 prefix by appending the address in hexadecimal to 2002::/16. A host with the IPv4 address 203.0.113.5 (0xcb007105) gets the 6to4 prefix 2002:cb00:7105::/48. This enables IPv6 routing over IPv4 infrastructure but is largely superseded by native dual-stack and IPv6 tunnelling protocols.

FileCrank IPv4→IPv6コンバーターを使う理由

  • ✓ IPv4マップ、6to4、標準IPv6の3つの変換形式をサポート
  • ✓ 即時変換、待ち時間なし
  • ✓ 完全ブラウザ内で動作 — データを転送または保存しない
  • ✓ 登録不要で無料
  • ✓ ネットワークエンジニア、学生、システム管理者に最適

機能と仕様

最大ファイルサイズ
最大100 MB
プライバシー
ファイルは約1時間後に削除されます
料金
無料、登録不要
処理方式
サーバーサイド
変換形式
IPv4マップ、6to4、標準IPv6
処理
ブラウザローカル
データ保持
なし
費用
無料
変換はブラウザ内でローカルに完結 — サーバーにデータを送信しません。登録不要。無料 — 隠れた料金なし。

よくある質問

How do I use the IPv4 to IPv6 Converter?

Enter a valid IPv4 address (e.g., 192.0.2.1) and select your desired IPv6 conversion format. The tool instantly displays the converted address.

What is an IPv4-mapped IPv6 address?

An IPv4-mapped IPv6 address is a hybrid format that embeds an IPv4 address into IPv6 notation (e.g., ::ffff:192.0.2.1). It allows IPv6-capable systems to communicate with IPv4 systems transparently.

What is 6to4 tunneling?

6to4 is a tunneling protocol that automatically encapsulates IPv6 traffic within IPv4 packets, allowing IPv6 connectivity without a dedicated tunnel. Addresses start with 2002:.

Does this converter send my data anywhere?

No. All conversions run entirely in your browser using JavaScript. Your IPv4 address never leaves your device or contacts any server.

What is the difference between IPv4-mapped and IPv4-compatible IPv6 addresses?

IPv4-mapped addresses (::ffff:x.x.x.x) are the modern standard and are used by dual-stack systems. IPv4-compatible addresses (::x.x.x.x) are deprecated and should not be used.

When would I need to convert an IPv4 address to IPv6?

You might need this conversion when setting up IPv4-to-IPv6 tunneling, configuring dual-stack networks, or documenting IPv6 transition strategies.

IPv4-to-IPv6 Converter vs. Python socket.inet_pton

Python's socket library can perform this conversion programmatically, but requires writing and running a script — impractical for a quick reference during code review or documentation. This tool delivers both mapped representations instantly in the browser with copy-ready output, removing the friction of opening a REPL for a routine conversion.

FileCrank IPv4→IPv6コンバーターは、IPv4マップ、6to4、標準IPv6の3つの形式での変換をサポートします。変換はブラウザ内でローカルに完結し、データを保存しません。アカウント不要で無料。

Advertisement

Ad