Developer tool
URL Encode / Decode
Percent-encode query strings or decode encoded URLs when debugging redirects, forms, and API clients.
How it works
How to use
Type or paste a string and use Encode to apply percent-encoding suitable for query components (encodeURIComponent semantics). Use Decode to reverse valid escape sequences and reveal spaces, ampersands, and unicode characters hidden in URLs.
Typical workflows
- Build safe query parameters before testing PHP
$_GEThandlers - Decode redirect Location headers that double-encoded parameters
- Compare encoding differences between JavaScript fetch and PHP
urlencode
Limits and safety
Decoding malformed sequences may produce replacement characters; fix the source URL rather than guessing. This tool handles text only—it does not fetch remote URLs. Remember PHP distinguishes urlencode (form fields) and rawurlencode (path segments); pick the function that matches your context.
Run in browser
AJAX processing only. No remote PHP execution sandbox. Results are not indexed.
Safety notes
- Submitted tool contents are not written to analytics or search logs.
- This site never evaluates arbitrary PHP from the browser.
- Generated configs are starting points—validate on a staging host before production.