URL Encode / Decode
Safely encode URLs and query parameters (percent-encoding) or make encoded URLs readable. Supports accented characters and emoji.
Commonly encoded characters
Frequently Asked Questions
What's the difference between encodeURIComponent and encodeURI?
encodeURIComponent also encodes separators such as &, =, ?, /, so it's the right choice for encoding a single parameter value. encodeURI keeps these separators so as not to break the address structure, and is used when encoding a full URL.
What do codes like "%C3%A7" mean?
They are the percent-encoding of UTF-8 bytes. For example, the letter "ç" is two bytes in UTF-8 (C3 A7) and is written as %C3%A7 in a URL.
Why do I get an error when decoding?
If the text contains a lone % sign or an incomplete code (like %E2%8), it can't be decoded. Once the faulty part is fixed, the conversion works.