URL encoder / decoder
Encode URLs or components, including Unicode and special characters.
urlConvert literal curl arguments and quoting between Bash, PowerShell and Windows cmd. Inspect JSON body examples without running commands or sending requests.
Supports quoted literal arguments and line continuations. Variable expansion, command substitution, pipes, redirection and unsafe cmd characters are rejected. Commands are never executed.
curl 'https://example.com/api' -H 'Content-Type: application/json' --data '{"name":"demo"}'Select Bash → PowerShell. The result uses curl.exe with PowerShell-compatible quoting. The converter does not contact example.com.
No. Variable expansion, command substitution, pipes and redirection are rejected because conversion could change their meaning. Supply literal arguments without these shell operations.
PowerShell and cmd targets use curl.exe to name the executable explicitly. Conversion does not install curl or verify that the destination version supports every option.
This tool only transforms command text. Diagnose networking, authentication, certificates and server responses in the actual runtime. URL encoding and HTTP status lookup can help interpret the request.
Compare component and full-URL encoding with a+b &中. Understand %20, + and %2520, then verify a query-value round trip.
Read guide HTTP-STATUSDistinguish authentication, permissions, missing resources and gateway errors. Correlate headers, bodies and request IDs instead of guessing from a code alone.
Read guide