URI ↔ Multiaddr Converter Online - Instant Conversion
Convert between standard URLs and Multiaddr format used in libp2p and IPFS instantly. Browser-based, fast, and ideal for developers, network engineers, and blockchain researchers.
What is URI-MULTIADDR-CONVERTER?
Multiaddr is a versatile network address format for peer-to-peer networks, supporting IPv4, IPv6, DNS hostnames, TCP/UDP ports, and protocol identifiers. Converting between URI and Multiaddr ensures compatibility between traditional web addresses and decentralized network endpoints, simplifying testing, configuration, and development.
Example
Input:
/dns4/protocol.ai/tcp/443/https & https://protocol.ai:443
Output:
https://protocol.ai:443 & /dns4/protocol.ai/tcp/443/https
FAQ
What is a Multiaddr?
A Multiaddr encodes IPs, hostnames, ports, and protocols in a single string. It is widely used in libp2p and IPFS for decentralized networking.
Can I convert hostnames without resolving them to IPs?
Yes. Hostnames can use /dns4 or /dns6 in Multiaddr format, avoiding DNS resolution while remaining compatible with libp2p.
Does it support custom protocols?
Yes. Besides standard protocols like ip4, ip6, dns4, dns6, tcp, and udp, arbitrary host protocols are supported, e.g., /canbeanything/example.com/tcp/8080.
Are there limitations?
Some Multiaddrs, such as circuit addresses or certain IPv6 formats, may not convert fully to URI. By default, HTTP is assumed when /tcp is the terminating protocol; this can be disabled.