JSON Sorter
Sort JSON object keys alphabetically at every level, or sort arrays by a field.
Convert an IPv4 address into every IPv6 form that carries it, and back.
The IPv4 to IPv6 Converter shows every form in which IPv6 can carry an IPv4 address — mapped, dotted-mapped, the deprecated compatible form, 6to4 and fully expanded — and extracts an IPv4 address back out of any of them.
IPv6 can carry an IPv4 address inside it in several different ways, and they are not interchangeable. This shows each one for a given address, with what it is actually for.
The mapped form, ::ffff:192.168.1.1, is the one you see in logs from a dual-stack server: it means an IPv4 client connected to an IPv6 socket. The compatible form, ::192.168.1.1, is deprecated and should not appear in anything new. The 6to4 prefix, 2002::/16, embeds an address to derive a whole /48 and is also effectively dead. The converter works the other way too, pulling an IPv4 address back out of any of the three.
The mapped form is what appears in a dual-stack server log when an IPv4 client connects — the commonest reason to look this up.
The ::compatible form and 6to4 are both effectively dead, and the page says so rather than presenting five equal options.
Extract an IPv4 address from a mapped, compatible or 6to4 address, which is what turns a log line into something searchable.
The longest run of zero groups becomes ::, applied once, which is what the specification requires.
Notation, not reachability. IPv6 connectivity needs translation at the network level, not a different way of writing the address.
IPv4 to see every IPv6 form, or IPv6 to extract the address inside it.
Mapped, dotted mapped, compatible, 6to4 and fully expanded.
Each form says what it is for and whether it is deprecated.
Click any form to copy it.
Because a dual-stack server accepted an IPv4 connection on an IPv6 socket. It is the same client, written in IPv6 notation — strip the ::ffff: prefix and you have the real address.
The mapped form, ::ffff:, is the only one still current. The ::compatible form and 6to4 are both deprecated and should not appear in anything written today.
Every one can be represented inside IPv6, yes. That does not make it reachable over IPv6 — that needs a translation mechanism at the network level, not a notation change.
No. The mapped form is a way of writing the same IPv4 address so an IPv6 socket can hold it. Nothing about routing changes.
What people who use the IPv4 to IPv6 Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the IPv4 to IPv6 Converter. It takes half a minute and no account.
Write the first reviewSort JSON object keys alphabetically at every level, or sort arrays by a field.
Collapse nested JSON into one flat level of dot-notation or bracket keys.
Re-indent HTML without breaking whitespace-sensitive elements.
Fix broken JSON: trailing commas, single quotes, unquoted keys and comments.
Render Markdown to clean HTML, with tables, task lists and fenced code.
Compare two semantic versions and test them against a range.
Break an emoji into its code points, modifiers and joiners.
Turn an array of JSON records into INSERT statements, with an optional CREATE TABLE.