URL Encoder & Decoder

Encode unsafe characters for use in URLs, or decode percent-encoded URLs back to text.

100% in your browser · No uploads
Output
hello%20world%20%26%20friends%3F

What this does

URL Encoder & Decoder converts unsafe characters (spaces, ampersands, quotes, emoji) into percent-encoded form (%20, %26, etc.) so they can safely appear in a URL, and decodes them back.

When to use it

  • Building a URL that includes user-supplied text in a query string
  • Decoding a URL to read what it actually points to
  • Debugging URLs that look mangled or broken
  • Escaping special characters in a webhook payload

Frequently asked

What's the difference between encodeURI and encodeURIComponent?

encodeURI keeps slashes, colons, and other URL-structural characters intact. encodeURIComponent encodes them. Uvelia uses encodeURIComponent because it's the right choice for query-string values.

Why is + sometimes a space?

Application/x-www-form-urlencoded (form submissions) uses + for spaces. Plain URLs use %20. The decoder here treats both as a literal character.