URL Encoder / Decoder

Encode and decode URLs instantly. Free, fast, and works in your browser.

Input
Result 0 characters

What is URL Encoding?

URL encoding (also called percent encoding) converts characters into a format that can be transmitted over the internet. URLs can only contain ASCII characters, so special characters must be encoded.

Common Encoded Characters

When to Use URL Encoding

encodeURI vs encodeURIComponent

encodeURI() encodes special characters but preserves URL structure characters like /, ?, &, =.

encodeURIComponent() encodes everything, including URL structure characters. Use this when encoding a URL parameter value.