URL Encoder & Decoder
Encode text into a URL-safe percent-encoded format, or decode it back to plain text — instantly, entirely in your browser.
Output will appear here
Frequently Asked Questions
What is URL/percent-encoding?
URL encoding converts characters that aren't allowed in a URL (spaces, &, ?, non-ASCII characters) into a percent sign followed by two hex digits, so the URL remains valid and unambiguous.
When do I need to encode a URL?
Whenever a value (like a search query or a parameter containing spaces/special characters) is inserted into a URL's query string — encoding it prevents it from breaking the URL structure.
Why does decoding sometimes fail?
It fails if the input isn't validly percent-encoded — for example, a stray % not followed by two valid hex digits. Make sure you're pasting fully encoded text.
Explore CodeSpeedTest