TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Percent-decode a string

GEThttps://api.testingapis.com/api/utils/url/decodeSign in to see this endpoint's URL

Parameters 1

NameTypeDescription
valuequery · stringValue to decode. The server already decodes the query string once, so double-encode it (e.g. %2520 for %20). A literal + is kept as-is. Default: "".

Responses

200
Success.

Example

Request
curl -X GET "https://api.testingapis.com/api/utils/url/decode?value=a%2520b%2526c%253Dd" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{"input": "a%20b%26c%3Dd", "decoded": "a b&c=d"}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.