URL Encode / Decode
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