URL Encode/Decode is a free tool for encoding text so it's safe to use in a URL, or decoding an encoded URL fragment back into readable text. It's handy when you need spaces, accented characters, or special characters in a query parameter, or when you want to decode a strange-looking link someone shared with you. Switch between Encode and Decode modes with one click.
How to Use It
- Choose Encode or Decode mode.
- Type or paste your text into the box.
- See the result instantly below.
- Use the copy button to grab it.
Use Cases
- Encoding special characters or spaces in a query parameter
- Decoding an encoded URL fragment into readable text
- Preparing parameter values for an API request
- Making sense of a strange-looking shared link
Frequently Asked Questions
Which characters get encoded?
Spaces, accented characters, and any character with special meaning in a URL (like ?, &, =, #) are encoded per the standard rules.
What happens if I enter invalid encoded text?
You'll see a clear error message for data that can't be decoded.
Should I encode the whole URL or just part of it?
Usually you only need to encode query parameter values; encoding the whole URL can break the protocol and domain.
Is my data sent to a server?
No, everything happens locally in your browser.