Skip to main content
Back to Dev Tools

URL Encoder / Decoder

Encode and decode URLs directly in your browser

URLs only support a subset of ASCII characters. Special characters such as spaces, accented letters, or reserved symbols (?, &, =, #) are encoded using percent-encoding: they are replaced by % followed by their hexadecimal UTF-8 value. This tool uses encodeURIComponent to encode and decodeURIComponent to decode.

Example: the text "café con leche" is encoded as caf%C3%A9%20con%20leche.

To learn more about URL structure, check out the article Anatomy of a URL .