URL Encode & Decode
Percent-encode and decode text for safe use in URLs
How it works
URLs may only contain a limited set of characters, so spaces, punctuation and non-ASCII text must be percent-encoded (for example a space becomes %20). This tool uses the same rules as the browser's encodeURIComponent/decodeURIComponent and is UTF-8 aware.
Frequently asked
What does %20 mean?
%20 is the percent-encoded form of a space character. Percent-encoding represents reserved or non-ASCII characters as a % followed by their hexadecimal byte value.
Why didn’t my slashes get encoded?
This tool encodes a value as a single URL component, so reserved characters like / and ? are escaped. Use it for query-string values rather than whole URLs.