Skip to content
Lite Tools

Text

URL encoder and decoder

Encode or decode URL components and full URLs. Use component mode for query values; use full-URL mode to leave reserved characters such as :, /, and ? intact.

Enter a string to convert.

How to use

Paste a string, pick component or full URL, then encode or decode. Malformed percent sequences show an error.

Questions

When should I use component mode?
When the text is a single query value or path segment. Spaces become %20 and reserved characters are escaped.
What does full-URL mode do?
It uses encodeURI, which keeps URL structure characters. Use it for a complete address, not a raw query value.