Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Format Conversion

WireGuard/OpenVPN to Clash and sing-box Config Bridge

· Last updated:2026-08-05

Convert pasted WireGuard or OpenVPN client text into Mihomo/Clash YAML or sing-box JSON with secret-field diagnostics; do not share private keys

Details

What this tool helps you do

Preserves endpoints, keys, allowed IPs, DNS, inline TLS material and routing rules; reports target-specific fields that cannot be mapped exactly.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Format Conversion
Input types
textarea, select, text
Output type
text
Sample coverage
4
API ready
Yes

Overview

Convert pasted WireGuard or OpenVPN client configuration text into Mihomo/Clash YAML or sing-box JSON. The bridge preserves endpoints, keys, allowed IPs, DNS, inline TLS material, and routing rules while reporting fields that cannot be mapped exactly.

When to use

  • You need to convert a WireGuard client profile into Mihomo or Clash YAML.
  • You want to turn an OpenVPN client configuration with inline TLS material into sing-box JSON.
  • You need to add domain-based routing rules while checking target-specific compatibility.

How it works

  1. 1Paste a WireGuard .conf or OpenVPN .ovpn client configuration into the VPN Config field.
  2. 2Choose Auto detection or specify WireGuard or OpenVPN as the source format.
  3. 3Select Mihomo/Clash YAML or sing-box JSON as the target format, then optionally enter a profile name.
  4. 4Add routing rules as JSON if needed, and review the generated text and secret-field diagnostics.

Use cases

  • Migrating a WireGuard full-tunnel profile with a DNS override to Mihomo or Clash.
  • Converting an OpenVPN profile containing inline CA, certificate, and key blocks into a sing-box endpoint.
  • Applying domain-specific routing policies while moving VPN settings between configuration formats.

Compare alternatives

  • Preview JSONata-style queries and transformations, compare results across sample payloads, and export the transformed output as JSON, CSV, YAML, or Markdown

  • Turn an OpenAPI 3.x or Swagger 2.0 spec (JSON/YAML) into an importable Postman Collection v2.1.0 with folders, variables, auth and example responses.

  • Rewrites span/log attribute names across OpenTelemetry semantic-convention versions: http.method → http.request.method, http.status_code → http.response.stat…

Who it's for

Best for

  • Convert content in the browser.
  • Workflows where Source Format matters, such as Auto or WireGuard.
  • The “Convert a WireGuard profile for Mihomo” workflow, done in one pass.

Not ideal for

  • Fully automated batch jobs — this page is built for interactive use; use the API endpoint for scripts.
  • Content in other formats — this tool expects content.

Edge cases & common failures

  • Very large files

    Large files take longer and can hit browser memory limits — try a smaller sample first.

  • Skipping the output check

    Compare the first rows or pages of the output with the input before using it in production.

  • Files from unusual exporters

    Some files use format variants that do not convert cleanly — if the output looks wrong, re-save the file from the app that created it and try again.

Examples

1. Convert a WireGuard profile for Mihomo

Network administrator

Background

An administrator has a WireGuard client profile using a full-tunnel peer, a DNS override, and an office-domain routing rule.

Problem

The profile needs to be represented as Mihomo-compatible YAML with the office domain routed through a named VPN outbound.

How to use

Paste the WireGuard configuration, select Auto for Source Format, choose Mihomo / Clash YAML, add the routing policy, and set the profile name to Office VPN.

[{"kind":"domain-suffix","value":"corp.example","outbound":"Office VPN"}]

Outcome

The tool returns Mihomo wireguard proxy YAML while preserving the endpoint, allowed IPs, DNS setting, and routing policy, and reports any fields that cannot be mapped exactly.

2. Convert inline OpenVPN TLS to sing-box

VPN user

Background

A user has an OpenVPN client profile with a UDP remote endpoint and inline CA, certificate, and private-key blocks.

Problem

The OpenVPN text must be converted into a sing-box endpoint JSON object without manually rebuilding the TLS material.

How to use

FAQ

What input formats are supported?

The tool accepts pasted WireGuard client text and OpenVPN client text.

What output formats can it create?

It creates Mihomo/Clash YAML or sing-box JSON.

Can it preserve DNS and allowed IPs?

Yes. It preserves supported DNS settings, endpoints, keys, and allowed IPs.

Can I add routing rules?

Yes. Enter routing rules as JSON, such as domain-suffix rules with an outbound name.

Should I paste a private key?

Do not share private keys or other sensitive VPN credentials. Review generated output and diagnostics carefully.

Home
Tools3201
Samples593
Visualizations465
Viewers103
Hubs233
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance644

Calculators, numerics, date logic, statistics, and finance tools

Design & Color297

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff
Stripe Promo Code Batch Review and Import Preflight
Batch Photo Culling Review and Editing Shortlist Handoff
UI Screenshot Structure Review and Development Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Observability

Distributed Tracing Samples

Comprehensive distributed tracing examples using Jaeger, OpenTelemetry, and other modern observability tools for microservices architecture

Build Tools

Parcel Bundler Samples

Parcel zero-configuration bundler examples including project setup, plugins, and advanced configuration

API Documentation

OpenAPI/Swagger Samples

Comprehensive API documentation examples using OpenAPI 3.0 and Swagger specifications for RESTful services

Package Managers

pnpm Package Manager Samples

Fast, disk space efficient package manager examples including monorepo management, workspace configuration, and advanced workflows

Format Conversion

YAML-JSON Converter

Convert between YAML and JSON formats

Format Conversion

TOML / INI / HCL / .env / Nix / dotenv ⇄ Kubernetes ConfigMap & Secret Config Format Bridge

Convert configuration files between dotenv .env, TOML, INI, Java .properties, YAML, JSON, HCL (Terraform/Vagrant native syntax) and Nix attribute sets, and emit Kubernetes ConfigMap or Secret manifests. Template placeholders (${VAR}, {{var}}, envsubst) are preserved verbatim, type inference provenance (string/int/float/bool/list) is tracked, HCL block labels fold into nested keys, and a round-trip diff calls out non-equivalent settings — dropped keys, re-typed values and rewrites — instead of coercing them silently.

Development

JSON Schema to Zod Schema Converter

Convert JSON Schema JSON/YAML definitions into ready-to-use Zod schemas with nested objects, arrays, enums, and common validation rules

Development

OpenAPI to TypeScript Generator

Convert OpenAPI or Swagger JSON/YAML specs into TypeScript API types, request payloads, and response models with configurable output and naming styles

Paste the OpenVPN profile, select OpenVPN as Source Format, choose sing-box JSON, leave the routing policy empty, and use Ovpn as the profile name.

[]

Outcome

The tool returns sing-box OpenVPN endpoint JSON and reports any target-specific fields that do not have an exact equivalent.

JSONata Query & Transform Studio
OpenAPI to Postman Collection
OpenTelemetry Semantic-Convention v1.20 → v1.27 Attribute Migration Tool