Percent-encode special characters, decode encoded strings, or paste a full URL to inspect and edit its parts. Everything runs in your browser.
encodeURIComponent — best for query values
Real-world places where percent-encoding matters.
Encode user search terms (spaces, &, =) before appending them to ?q= so they don't break the URL.
Encode titles, names, or messages safely when generating share URLs for social platforms.
OAuth and SSO require redirect URLs to be percent-encoded when passed as a query parameter.
Encode special characters in filter values (e.g. email addresses, plus signs) so APIs parse them correctly.
| Input | Encoded |
|---|---|
| hello world | hello%20world |
| a&b=c | a%26b%3Dc |
| café | caf%C3%A9 |
| user@example.com | user%40example.com |
| <script> | <script> (HTML) |