URL Encode & Decode
Encode special characters for URLs or decode percent-encoded UTF-8 text instantly.
URL encoder and decoder
When should you URL encode data?
URL encoding replaces reserved or unsafe characters with percent-encoded UTF-8 sequences. Use component mode for query values and path segments, or full URL mode to preserve URL separators.
Decoding a plus sign as a space is useful for form and query-string data encoded using
the application/x-www-form-urlencoded convention.
URL component vs full URL encoding
Component mode is usually the safest option for a query parameter value, a path segment or a
single piece of text that will be inserted into a URL. It encodes reserved characters such as
?, &, = and / so they are treated as data.
Full URL mode keeps important separators readable while encoding characters that do not belong in a valid URL. This is helpful when cleaning a complete address without changing its structure.
Why do spaces sometimes become plus signs?
Web forms often encode spaces as + inside query-string style data. Percent encoding
can also represent spaces as %20. The decode option on this page lets you choose
whether plus signs should be converted back into spaces.
Can URL encoding fix a broken link?
It can fix unsafe characters, but it cannot repair an incorrect domain, missing path or invalid application route. Use encoding as a formatting step, then test the final URL in the target system.