URL Encoder and Decoder
Encode or decode URL parts, and distinguish path encoding from query encoding.
One value encodes / ? & = # too, so it is safe inside a query. Decoding also reads + as a space.
Your result
Type text or an address and the result appears here.
How to use it
- Choose encode or decode, and one value or a whole address.
- Type the text or press Try a sample.
- Copy the result, or swap to check it the other way.
Examples
- A value with a space and slasha b/c a%20b%2Fc
- A whole addresshttps://x.com/a b?q=1 https://x.com/a%20b?q=1
- Decoding + in a querya+b a b
Tool details and privacy
Turn "coffee & tea" into coffee%20%26%20tea for a link, or decode an encoded link to read it. Choose one value or a whole address.
Arabic letters, spaces, & and = break links unless encoded, and an encoded link is hard to read until decoded.
Options
- One value also encodes / ? & = # so it is safe inside ?q=.
- A whole address keeps those characters so it still works.
- When decoding one value, + is read as a space, as forms send it.
Limits
- A % not followed by two hex digits is shown with its position.
- The address is never opened or requested.
Privacy
What you type stays in your browser. Nothing is uploaded or saved on the server.
Questions
When do I pick one value?
When the text goes inside a parameter such as ?q=… .
Why did + become a space?
Forms encode a space as + in queries. Pick whole address to keep it.
Is Arabic encoded?
Yes, as UTF-8, like browsers do.
Is the link opened?
No.