🔗URL Encoder/Decoder

URL encoding and decoding tool

How to Use

The URL Encoder supports URL encoding (percent-encoding) and decoding operations. Enter text with special characters for encoding, or paste an encoded URL for decoding. Commonly used for handling Chinese characters, spaces, and special characters in URL parameters.

FAQ

What is URL encoding?

URL encoding (percent-encoding) converts special characters in URLs to %XX format, ensuring URLs do not cause parsing errors during transmission.

What is the difference between URL encoding and HTML encoding?

URL encoding handles special characters in URLs, while HTML encoding handles special characters in HTML content. They use different encoding rules.

What happens to spaces?

Encoding turns spaces into %20. Some legacy systems use a plus sign for spaces, but that's form-encoding convention — this tool follows standard percent-encoding and won't decode + back into a space.

How are CJK characters handled?

CJK characters are first converted to UTF-8 bytes, then each byte is written as %XX — 中 becomes %E4%B8%AD. Decoding restores the original text via UTF-8 automatically.