URL Encode & Decode
Percent-encode text for URLs, or decode it back to plain text.
How to use
- Paste a URL or text with special characters into the box.
- Click “Encode URL” to percent-encode it, or “Decode URL” to reverse it.
- Copy the result for use in links, query strings, or code.
Frequently Asked Questions
When do I need URL encoding?
Whenever a value (like a search query or parameter) contains spaces, symbols, or non-ASCII characters and needs to go inside a URL.
What's the difference between this and encodeURI?
This tool uses encodeURIComponent, which escapes more characters (like & and =) — the right choice for individual query parameter values rather than a whole URL.
Why did decoding fail?
The input isn't valid percent-encoded text — for example it contains a stray % not followed by two hex digits.
