URL encode and decode
Percent-encode text for URLs and decode it backNo sign-up. What you type never leaves this browser
URL encode and decode
Result
Enter values to see the result.
FAQ
What are things like %E2%9C%93 in a URL?
Characters written as UTF-8 bytes. Decoding shows the original characters.
Is a space %20 or +?
Encoding writes %20. + is used in form submissions, so decoding reads it as a space.
About this tool
This tool turns text into UTF-8 bytes and writes characters that are not allowed in URLs as % plus two hex digits (encodeURIComponent for a value, encodeURI for a whole URL).
- A value: encodes everything including &, =, ? and /. Use it for search terms and query values.
- Whole URL: keeps the URL structure (https://, /, ?, &) and encodes the rest.
- Decoding reads + as a space.
What you enter is worked out only in this browser and never sent to a server. Nothing you type is stored; only the lists of recently used and favorite tools stay in this browser.