URL Encode · Decode
Percent-encode text and query values, or decode them back.
0 B uploaded — nothing you enter has been sent anywhere?
Put spaces and accented text into a URL, and read mangled links back
Copy a link whose search term has spaces or accents and you get strings like %20 or %C3%A9. This tool encodes text into that percent notation and decodes it back.
When it helps
Building a search linkEncode the term in value mode before putting it after ?q=, so an & doesn’t cut the URL short.
Passing a redirect_uriWhen an address travels as a value, encode all of it, https:// included, in value mode.
Reading paths in logsDecode a path logged as %C3%A9 to see the real address.
Common snags
It says “Not valid percent-encoding”.The text has a bare % sign, or the link was encoded in an older character set such as Latin-1. This tool decodes UTF-8 only.
The decoded text still contains %25.The string was encoded twice. Paste the result back in and decode once more.
My + signs turned into spaces.Decoding reads + as a space. Fix spots that were originally + by hand in the result.
Notes
component vs URI — what's the difference?
encodeURIComponent also encodes separators like ?, &, = — use it when inserting a single query value. encodeURI keeps the URL structure intact and only encodes spaces and non-ASCII characters — use it for a whole address.