Converts IPv4 addresses to IPv6-mapped format (::ffff:x.x.x.x). Access via MCP in Cursor or Windsurf for instant network address translation, or use the REST endpoint GET /v1/ip/ipv4-to-ipv6. Essential for dual-stack networking where systems need to handle both protocols. Returns deterministic RFC 4291 compliant mappings.
curl "https://tinyfn.io/v1/ip/ipv4-to-ipv6" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/ip/ipv4-to-ipv6', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/ip/ipv4-to-ipv6',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's ip address tools:
{
"mcpServers": {
"tinyfn-ip": {
"url": "https://tinyfn.io/mcp/ip",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
An IPv6 address format that embeds an IPv4 address, written as ::ffff:192.168.1.1. It allows IPv6-only systems to communicate with IPv4 addresses using a standardized mapping defined in RFC 4291.
Use the ipv4-to-ipv6 tool in your MCP-enabled editor with the IPv4 address as input. It returns ::ffff:192.168.1.1, which can be used directly in IPv6 network configurations.
Yes, it converts any valid IPv4 address including private ranges (10.x.x.x, 172.16-31.x.x, 192.168.x.x) to IPv6-mapped format. The private/public distinction is preserved in the mapped address.
IPv6-mapped (::ffff:x.x.x.x) is for dual-stack systems to represent IPv4 addresses. IPv4-compatible (::x.x.x.x) is deprecated. This tool generates only the current RFC-compliant mapped format.
This tool only converts IPv4 to IPv6-mapped format. To extract the IPv4 from a mapped address, you'd strip the ::ffff: prefix or use a separate IPv6-to-IPv4 conversion tool.
Get your free API key and start using Ipv4 To Ipv6 in seconds.
Get Free API Key