URL Encoder / Decoder - Percent Escaping Made Clear
Escape query parameters or whole URLs, and decode percent-encoded strings back to readable text. It is free to use, with no account or watermark. Input is processed locally in your browser.
Two Modes, Zero Guessing
AiLoveKit's URL encoder / decoder offers both escaping levels: component mode (encodeURIComponent) for individual query values where &, =, and ? must all be escaped, and full-URL mode (encodeURI) that keeps the structure of a complete address intact. Decoding works the same way in reverse.
Which Mode to Use
- Component - encoding a search term, name, or any single parameter value.
- Full URL - encoding a complete address while keeping ://, ?, and & intact.
- Debugging - decode mystery %2F%20 soup from logs and redirect chains.
Encoding Example and Practical Steps
To place the search phrase fish & chips in a query value, choose component mode. The space and ampersand are escaped so they cannot be mistaken for URL separators. Encode each value separately, then join names and values with = and &; encoding the completed query string as one component would also escape its structural characters.
- Decide whether the input is one component value or an entire URL.
- Choose the matching mode, then encode once. Encoding an already encoded value again can turn
%20into%2520. - When debugging, paste the encoded value and decode with the corresponding mode.
Limitations and Sibling Tools
Percent encoding changes representation, not encryption or access control. It does not validate whether a URL exists, and malformed percent sequences may not decode. Base64URL is a different encoding used by tokens; use Base64 Encoder / Decoder for that representation or JWT Decoder to inspect token sections.