URL Encoder/Decoder
Encode or decode URL components using percent-encoding.
Report a Problem
Found a bug or have a suggestion? Help us improve this tool.
What is this tool?
URL encoder/decoder converts text to and from percent-encoded URL format. Special characters (spaces, &, =, #, etc.) are replaced with %XX hexadecimal sequences. Essential for building query strings, API calls, and handling URLs programmatically. Decode percent-encoded URLs back to readable text.
How to use
- 1
Select mode
Choose Encode or Decode.
- 2
Input text/URL
Paste your text or URL.
- 3
Get result
Copy the encoded or decoded result.
Frequently Asked Questions
Why do URLs need encoding?
URLs can only safely contain ASCII alphanumeric characters and a few special characters. Spaces, Chinese characters, &, =, #, and other symbols must be percent-encoded to be valid in URLs. For example, a space becomes %20 and ไฝ ๅฅฝ becomes %E4%BD%A0%E5%A5%BD.
What chars need encoding?
Spaces, special chars, non-ASCII.
Is my data processed locally?
Yes, all processing happens in your browser. No data is sent to any server.