URL Encode / Decode
Percent-encode strings for safe use in URLs, or decode encoded text back to readable form. Pick the mode that matches what you're encoding — a single value (Component) or a full URL.
Direction
Mode
Encodes every reserved character — use for query values, path segments, form fields.
Try
Frequently asked questions
What's the difference between Component and Whole URL mode?
Component mode uses encodeURIComponent, which escapes every reserved character including / ? & = and # — use it for a single query value or path segment. Whole URL mode uses encodeURI, which preserves those structural characters so a complete URL stays usable.
What does URL encoding actually do?
It percent-encodes unsafe characters — a space becomes %20, an ampersand & becomes %26, and so on — so the text can travel safely inside a URL without breaking its structure or being misread by a server.
Is my text uploaded anywhere?
No. Encoding and decoding run entirely in your browser using the built-in JavaScript functions — nothing you type is ever sent to a server.
Does it handle emoji and accented characters?
Yes. Unicode characters such as café or 🚀 are encoded as their UTF-8 byte sequences in percent form and decode back to the original text exactly.
Related tools
- JWT Decoder Decode header, payload, and signature with expiry status checks.
- Base64 Encode / Decode Convert text and files to Base64 or decode Base64 back to text.
- HTML Encode / Decode Escape HTML entities or convert encoded entities back to symbols.
- UUID Generator Generate v4 UUIDs one at a time or in bulk up to 50 at once.