URL Encode / Decode

Convert between plain text and URL-encoded format

0 characters

About the URL Encoder / Decoder

URL encoding (also known as percent-encoding) converts characters into a format that can be transmitted safely over the internet. Reserved characters, unsafe ASCII characters, and non-ASCII characters are replaced with a "%" followed by two hexadecimal digits representing the character's UTF-8 byte value.

How It Works

Encode: text → percent-encoded UTF-8 bytes  |  Decode: percent-encoded string → plain text

Frequently Asked Questions

Why do I need to URL-encode data?

URLs can only contain a limited set of characters (letters, digits, and a few special characters). Spaces, Unicode characters, and symbols like &, ?, #, and % must be encoded to avoid breaking the URL structure or being misinterpreted by servers.

What characters are encoded in a URL?

Reserved characters (&, ?, #, /, :, ;, =, @, $, +, %, etc.) and unsafe characters (spaces, quotes, <, >, etc.) are encoded. For example, a space becomes %20, and an ampersand (&) becomes %26. Non-ASCII characters like é are encoded as their UTF-8 byte sequences (e.g., %C3%A9).