Free web tool
URL Encode and Decode
Type or paste text to see it percent-encoded and decoded side by side. No need to pick a direction first.
Runs in your browser. Nothing you paste is uploaded.
Which encoding do I want?
- A single value escapes everything that has a meaning in a URL, including
/ ? & = #. Use it for one query value, one path segment or a form field. - A whole URL leaves those separators alone and only escapes characters that can’t appear in a URL at all, such as spaces and accented letters.
Questions
What is percent-encoding?
URLs can only contain a limited set of characters. Anything else is written as % followed by two hexadecimal digits for each byte of its UTF-8 form: a space becomes %20, and é becomes %C3%A9.
Should a space be %20 or +?
%20 is correct everywhere in a URL. + means a space only in HTML form data and in query strings that follow that convention. Turn on “Decode + as a space” when your text came from a form.
What happens to an escape that isn’t valid?
It is left exactly as it was, and a note tells you something couldn’t be decoded. A lone %, or bytes that aren’t valid UTF-8, are the usual causes.
The app
These tools, on every Apple device you own.
URL Components adds an editor that rebuilds the request as you type, a share sheet extension, a saved history, converters for JWT, Base64 and JSON, and Swift, cURL and JavaScript you can copy in one tap.
Free on iPhone, iPad and Mac. Requires iOS 17 or macOS 14.