URL Encoder / Decoder
Encode and decode URL components for query strings, redirect URLs, analytics parameters, and debugging. The tool uses browser URL component encoding so spaces, symbols, and non-ASCII text can be safely placed in a URL parameter.
URL encoder and decoder tool
How to use this tool
Paste plain text or a URL component into the input box and choose Encode to escape characters that have special meaning in URLs. Paste an encoded value and choose Decode to convert percent-encoded sequences back to readable text.
Decode errors usually happen when the input contains incomplete percent escapes such as %E0%A4 or a standalone percent sign. In that case, check the original value before using it in a redirect or request.
Example
The text hello world becomes hello%20world when encoded as a URL component. A full redirect URL can also be encoded before placing it inside another query parameter.
Frequently asked questions
What is URL encoding?
URL encoding converts characters into a safe percent-encoded form so they can be used inside URLs.
When should I encode a URL value?
Encode values before placing them in query parameters, redirect parameters, or tracking links where spaces and symbols could break parsing.
What is the difference between encodeURI and encodeURIComponent?
encodeURI keeps URL separators such as ? and &. encodeURIComponent encodes a single component more aggressively.
Privacy note
Your input is processed locally in your browser and is not uploaded to our server.