URL Encoder / Decoder
Encode unsafe characters in query values and path components, or decode percent escapes to inspect a URL in readable form.
How this tool works
URL component mode uses percent encoding appropriate for an individual parameter; URI mode preserves characters that have structural meaning in a full URL.
Example
Encode “hello world?x=1” as a parameter value without accidentally treating its question mark or equals sign as URL structure.
Common questions
When should I use component encoding?
Use it for a query parameter value or path segment. Full URI encoding intentionally leaves more URL punctuation untouched.
What happens to spaces?
encodeURIComponent represents spaces as %20; application/x-www-form-urlencoded forms may instead use +.