WSDL to JSON Converter
Parse WSDL web service definitions and convert them to structured JSON. Extracts operations, messages, port types, bindings, and service endpoints.
Last updated: May 28, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is WSDL to JSON Converter?
WSDL (Web Services Description Language) is an XML-based language used to describe the interface of SOAP web services. A WSDL document defines what operations a service exposes, what messages those operations accept and return, how the service is bound to a transport protocol (typically HTTP + SOAP), and where the service endpoint is located.
Reading and understanding a raw WSDL file is tedious due to its verbose XML structure. This WSDL to JSON converter parses the WSDL and produces a clean, structured JSON document that summarises all the key information: service names, port types, operations, input/output message definitions, SOAP bindings, and endpoint addresses. This is especially useful when exploring an unfamiliar SOAP API, generating client code, or documenting legacy web services.
How to Use WSDL to JSON Converter
Paste your WSDL XML content into the input area on the left
The JSON output appears instantly on the right, showing parsed service structure
The summary panel shows the number of services, port types, and operations detected
Click "Copy JSON" to copy the structured output
Click "Download .json" to save the parsed WSDL as a JSON file
Common Use Cases
- Exploring a legacy SOAP service interface to understand available operations
- Generating documentation for SOAP web services
- Extracting operation signatures before writing a SOAP client
- Comparing two WSDL versions to identify changed or removed operations
- Feeding parsed WSDL data into a code generator or service catalogue
- Learning WSDL structure without manually reading verbose XML
Example Input and Output
A simple WSDL for a calculator service parsed to structured JSON:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace="http://example.com/calculator">
<message name="AddRequest">
<part name="a" type="xsd:float"/>
<part name="b" type="xsd:float"/>
</message>
<message name="AddResponse">
<part name="result" type="xsd:float"/>
</message>
<portType name="CalculatorPortType">
<operation name="Add">
<input message="tns:AddRequest"/>
<output message="tns:AddResponse"/>
</operation>
</portType>
<service name="CalculatorService">
<port name="CalculatorPort" binding="tns:CalculatorBinding">
<soap:address location="http://example.com/calculator"/>
</port>
</service>
</definitions>{
"targetNamespace": "http://example.com/calculator",
"wsdlVersion": "1.1",
"portTypes": [
{
"name": "CalculatorPortType",
"operations": [
{
"name": "Add",
"inputMessage": "AddRequest",
"outputMessage": "AddResponse",
"faultMessages": []
}
]
}
],
"messages": [
{ "name": "AddRequest", "parts": [{"name":"a","type":"float"},{"name":"b","type":"float"}] },
{ "name": "AddResponse", "parts": [{"name":"result","type":"float"}] }
],
"services": [
{
"name": "CalculatorService",
"ports": [{ "name": "CalculatorPort", "binding": "CalculatorBinding", "address": "http://example.com/calculator" }]
}
],
"operationCount": 1
}How This Tool Works
The WSDL XML is parsed with the browser's native DOMParser. The tool uses getElementsByTagNameNS with the WSDL namespace URI (http://schemas.xmlsoap.org/wsdl/) to locate portType, message, binding, and service elements regardless of namespace prefix. SOAP binding and address elements are resolved against both SOAP 1.1 and SOAP 1.2 WSDL extension namespaces. All extracted data is assembled into a typed JavaScript object and serialised with JSON.stringify.
Technical Stack
Privacy First
WSDL parsing runs entirely in your browser using the native DOMParser. Your WSDL files — which may contain internal service addresses and namespace identifiers — are never transmitted to our servers.

