URL Encode / Decode
This utility encodes text into percentage-encoded URL format or decodes percent-encoded strings into plain text. You can select between standard full-URL encoding and component encoding to preserve query parameters, then copy your sanitized string. The entire conversion happens locally in your web browser, keeping your links and parameters completely private.
Safely encode URLs and query string components, or decode percent-encoded text back to readable form. Handles full URLs and individual components.
Examples
a b&c=1
a%20b%26c%3D1
How it works
The tool has two scopes because the two jobs need different rules. Component escapes everything that is not a letter, a digit or one of - _ . ! ~ * ' ( ), which is right for a single query value. Full URL leaves the characters that give a URL its structure, such as : / ? # & and =, untouched.
| Scope | a b&c=1 becomes |
|---|---|
| Component | a%20b%26c%3D1 |
| Full URL | a%20b&c=1 |
A space is always written as %20, never as +, and decoding leaves a + as it is. If decoding fails, the input has a % that is not followed by two valid hex digits.
How to use URL Encode / Decode
Why use this tool
Frequently asked questions
Component mode (encodeURIComponent) encodes reserved characters like & and =. Full-URL mode (encodeURI) keeps them so the URL stays valid.
Found a bug or have an idea?
ToolOrbit is actively developed — feedback directly shapes what gets built next.
Send feedback