URL Decode
POST
/v1/convert/url-decode
curl -X POST "https://convert.toolkitapi.io/v1/convert/url-decode" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "hello%20world%20%26%20foo%3Dbar"}'
# See curl example
// See curl example
Response
200 OK
{
"output": "hello world & foo=bar",
"input_size": 31,
"output_size": 21
}
How to Use
1
Send a POST request to /v1/convert/url-decode with an input percent-encoded string.
About This Tool
Decode a percent-encoded URL string back to plain text. Handles %XX hex sequences and + as space (form encoding).
Supports multi-byte UTF-8 sequences encoded as multiple percent-encoded bytes.
Why Use This Tool
- URL Parsing — Decode query strings and URL components for inspection or processing.
- Log Analysis — Decode percent-encoded URLs in web server logs for human-readable analysis.
Frequently Asked Questions
Is + decoded as space?
Yes — both %20 and + are decoded as space characters to handle both URI and form encoding.
What about invalid sequences?
Invalid percent sequences (e.g., %ZZ) are passed through unchanged rather than causing an error.
Start using URL Decode now
Get your free API key and make your first request in under a minute.