URL Encoder / Decoder

Encode special characters in URLs using percent-encoding, or decode encoded URLs back to readable text. Supports full URL and query string parameter encoding.

Frequently Asked Questions

What is URL encoding?+

URL encoding (percent-encoding) converts special characters into a format that can be safely included in a URL. For example, a space becomes %20 and & becomes %26.

When do I need to encode a URL?+

You need URL encoding when a URL contains spaces, non-ASCII characters, or special characters like &, ?, =, #, and /. These characters have special meaning in URLs and must be encoded if used as data.

What is the difference between encodeURI and encodeURIComponent?+

encodeURI encodes a full URL and does not encode characters that have meaning in URLs (like / and ?). encodeURIComponent encodes everything including those characters, and is used for encoding parameter values.

This tool — does it use encodeURI or encodeURIComponent?+

This tool uses encodeURIComponent, which is the correct function for encoding URL parameter values and query string components.

Related Tools