🔗 URL Encoder / Decoder
What a URL encoder actually does
It converts characters that are not allowed in a URL — spaces, &, ?, =, non-English letters — into percent-encoded form, so a link or a query value travels without breaking. Decoding reverses it, turning percent codes back into readable characters.
How to use the tool
- Paste or type your text or URL into the tool’s Input box.
- Click Encode and read the Output box.
- To go back, paste an encoded string into the tool’s Input box and click Decode.
- Click Copy Output and paste the result into your link, form or API call, checking that no space remains unencoded.
Worked example
Input: hello world
- Encoded output, exactly as the tool shows it: hello%20world
- Decoding that string back returned hello world exactly in the test.
Common mistakes to avoid
- Encoding a full URL twice, which turns %20 into %2520 and breaks the link.
- Leaving a space in a query value, which browsers and servers may truncate.
- Encoding characters that should stay readable in a path, like / in some contexts — encode only the value, not the whole URL, unless the tool is meant for that.
- Assuming encoding is encryption — percent codes are trivially reversible.
Frequently asked questions
Q: What does %20 mean? A: It is a space, encoded as percent followed by its hex code 20.
Q: Should I encode a whole URL or just the value? A: Usually just the value (the part after ?q=). Encoding the whole URL also encodes : and /, which may not be what you want.
Q: Is URL encoding secure? A: No. It is for transport, not secrecy. Anyone can decode it.
Q: Does my data get saved? A: No. The encoding runs in your browser.