Use WSDL Formatter
Format a self-contained WSDL XML document with the existing XML-aware formatter. Start with the sample, select the options and run the tool. Copy or download the result after reviewing it.
Behavior and limits
Format a self-contained WSDL XML document with the existing XML-aware formatter. Text, CDATA and preserved whitespace retain their meaning. Formatting checks XML syntax; protocol/schema validation is a separate action.
Example input
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:example" targetNamespace="urn:example"><message name="GetUserInput"/><portType name="UserPort"><operation name="GetUser"><input message="tns:GetUserInput"/></operation></portType><binding name="UserBinding" type="tns:UserPort"/><service name="UserService"><port name="UserPort" binding="tns:UserBinding"/></service></definitions>
Expected behavior for the example
Formats the sample XML with two-space indentation and keeps its namespace prefixes.
Check important output in the application that will consume it. Use the tool directory to find related formats and tasks.
Frequently asked questions
How does WSDL Formatter handle my input?
Format a self-contained WSDL XML document with the existing XML-aware formatter. Text, CDATA and preserved whitespace retain their meaning. Formatting checks XML syntax; protocol/schema validation is a separate action.
Is my input uploaded or saved automatically?
Processing runs locally in this browser. Input and results are not saved automatically. Downloads happen only when you choose them. The static preview blocks scripts and external resources when one is available.