URL Encoder / Decoder
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
Results
This isn't valid percent-encoding, so it can't be decoded.
Your input is too long to share as a link, so the page address no longer includes it.
URLs can only contain certain characters. Spaces, accents, & and = must be percent-encoded (like %20) to survive in a link. This tool encodes and decodes them for you.
How to use it
- Choose encode or decode.
- Paste your text.
- Choose a single value for a query parameter or path part, or a whole URL to keep characters like / ? & : intact.
Example: encoding the value a b&c gives a%20b%26c.
Questions and answers
What's the difference between the two options?
A single value also encodes characters that have a meaning in URLs, such as / ? & = and #, so the value can’t break the link. A whole URL leaves them alone and only encodes spaces and other unsafe characters.
Why is a + turned into a space when decoding?
In query strings from HTML forms, + stands for a space. When decoding a single value, + is read as a space; encoded plus signs appear as %2B.
How are accents and emoji encoded?
As their UTF-8 bytes: é becomes %C3%A9.
Link with pre-filled values
Add # and these parameters to the end of this page's address to open the tool with values already filled in.
| Parameter | What it sets |
|---|---|
text | Text to encode or decode |
mode | encode or decode |
kind | component (a single value) or full (a whole URL) |
Example: https://toolabelle.com/url-encoder/#text=a+b%26c&mode=encode&kind=component