Converter tool
URL Encoder & Decoder
Encode URLs, query parameters, and text into percent-encoded values, or decode them back into readable form.
Processing happens locally in your browser.
How URL encoding works
URL encoding replaces characters that may be unsafe or have a special meaning in a web address with percent-encoded values. For example, a space is commonly represented as %20.
Use URL component mode for individual query values, parameter values, or path segments. Use full URL mode when converting an entire address while preserving URL separators.
Auto Detect checks for percent-encoded patterns and selects decoding when they are present. Otherwise, it selects encoding.
Common uses
Query parameters
Safely encode search terms, filters, names, and other parameter values.
API requests
Prepare path segments and query values for HTTP requests.
Redirect URLs
Encode destination addresses included inside another URL.
Debugging
Decode percent-encoded values from logs, links, and browser requests.
Frequently Asked Questions
What is percent encoding?+
It represents a character using a percent sign followed by two hexadecimal digits, such as %20 for a space.
Should I use full URL or component mode?+
Use full URL mode for a complete web address. Use component mode for query values, parameter values, and path segments.
Why does decoding sometimes fail?+
Decoding fails when the input contains incomplete or invalid percent-encoded sequences.
Does this tool support Unicode?+
Yes. JavaScript's built-in URL encoding functions convert Unicode text into UTF-8 percent-encoded sequences.
Is my input stored?+
No. All conversion happens locally in your browser.