Topic guides

xHTTP VLESS to Mihomo

Convert VLESS nodes using xHTTP transport into Mihomo proxies and inspect Reality, SNI, and transport fields.

Last updated
xhttp vless to mihomovless xhttp convertermihomo xhttp proxyreality xhttp
On this page

When to use it

  • Your VLESS node uses xHTTP transport and needs Mihomo YAML.
  • You want to verify Reality, SNI, host, path, mode, and related transport fields.
  • The client import fails and you need to inspect the conversion result first.

Notes

xHTTP and Reality often require recent client cores. A valid conversion does not guarantee that every client version supports the node.

xhttp is not WebSocket

Confirm that the installed Mihomo core supports your xhttp setup. Conversion cannot add support to an older core. This fictional example covers the basic endpoint, path, Host and mode fields handled by the current converter:

vless://[email protected]:443?security=tls&type=xhttp&path=%2Fgateway&host=edge.example.com&sni=edge.example.com&mode=auto#XHTTP-Demo

Select Mihomo in the converter. Look for network: xhttp and xhttp-opts containing path: /gateway, host: edge.example.com and mode: auto. TLS servername comes from SNI; it is separate from the transport Host even though the example uses the same name.

Make the first conversion easy to compare

Keep the original, inspect one node with a basic output, and compare UUID, endpoint, TLS and transport fields. %2Fgateway should decode to /gateway. Then apply your template and prefix and verify routing-group references. Finally validate and test in the actual client. If it rejects xhttp-opts, check core support rather than changing network to ws.

Where lossless conversion cannot be assumed

Advanced xhttp extra settings or a separate download endpoint are not the same as basic path/host/mode. Do not assume every extension is understood or retained across formats. If the original depends on them, compare every field with the server documentation; stop and retain the original native configuration when required fields are absent.

This guide targets Mihomo. Other output formats can reject the transport and skip the node with a diagnostic. Node Inspector can help examine source parameters, but displaying an unknown query value does not prove the converter emits it.