Developer Tools

URL Encoder & Decoder

Encode or decode URLs and query strings. Supports both component-level and full-URL encoding.

Frequently asked questions

When do I need URL encoding?

Any time you put special characters (spaces, &, =, ?, /) into a URL query parameter. URL encoding makes them safe to transmit.

What is the difference between encodeURI and encodeURIComponent?

encodeURI preserves URL structure characters like : / ? #. encodeURIComponent encodes everything not alphanumeric — use it for query parameter values.

Related tools

XinRW