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