Encoders / Decoders
URL Encoder / Decoder
Percent-encode text for use in URLs, or decode back.
Input
Output
(output)About this tool
Spaces become %20 (or +), special characters like & and = get escaped, and Unicode characters become a sequence of %xx bytes. Use this for query strings and form values.
FAQs
What's the difference between encodeURI and encodeURIComponent?
encodeURI keeps URL-safe characters like : / ? & =, encodeURIComponent escapes them too. Use the latter for query-string values.
Why does + sometimes mean space?
Form-style (application/x-www-form-urlencoded) uses + for space. URL-style uses %20. Servers often accept both.
Are emoji handled?
Yes - they're encoded as a multi-byte UTF-8 sequence percent-encoded byte-by-byte.