Is Clash compatible with Stash?
Standard Clash / mihomo YAML and subscriptions can be used directly.
The Stash documentation says it imports Stash / Clash formatted configurations, and that its configuration files use YAML. A standard Clash or mihomo YAML configuration used in Stash can therefore be imported directly into Clash.
What moves directly?
- standard Clash / mihomo YAML configurations;
- remote subscriptions returning Clash / mihomo YAML;
- nodes, proxy providers and rule providers;
- policy groups, health checks and routing rules;
- DNS and other fields supported by both apps.
Fastest migration path
- Copy the subscription URL used by the active Stash configuration.
- Add it as a remote configuration in Clash.
- A local YAML file can also be opened or shared into Clash.
- Update the profile and check its nodes, groups and rules.
- When the provider offers multiple formats, change the subscription User-Agent and select Clash / mihomo output.
Recreate Stash features in Clash
- consolidate override files into a clear mihomo YAML configuration;
- recreate HTTP engine, MITM and certificate needs with matching features;
- express URL rewrite and script needs with Clash rules and matching features;
- set on-demand behavior, sync, remote control and app preferences to match your workflow.
If Stash combines multiple override files dynamically, export or consolidate the result as standard mihomo YAML, then map Stash extension needs to the corresponding Clash features.
Can I keep using the same server?
The same server can be used directly when both apps use the same standard node configuration.
Return to the compatibility overview.