URL Encoder & Decoder - Encode and Decode URL Strings Online

Browsers cannot handle raw spaces, ampersands or non-English characters inside a URL - they must be percent-encoded first. This tool converts text to a valid URL string and decodes encoded strings back to readable text. Paste a query, a redirect target or a share link and get the correct form instantly.

Encoding happens in your browser, which is useful when the URL contains private tokens or signed parameters you do not want to send to a third-party website.

Last updated: 21 November 2026.

Common characters and their codes

CharacterEncodedWhy
Space%20Spaces are not allowed in URLs
&%26Separates query parameters when literal
?%3FStarts the query string when literal
é%C3%A9Non-ASCII letters need UTF-8 encoding

How to encode or decode a URL

  1. Open the URL Encoder and paste your text or encoded URL into the box.
  2. Choose Encode to make it URL-safe, or Decode to read an encoded string.
  3. Check the output for correctly escaped spaces, ampersands and symbols.
  4. Copy the result into your link, redirect, API call or browser address bar.

Why URL encoding prevents broken links

URL encoding FAQ - percent signs, spaces and plus

Why does a space become %20?

URLs can only contain a limited ASCII set. Percent encoding writes the byte value of a character as % followed by two hex digits; a space is %20.

What is the difference between %20 and plus (+)?

In query strings a plus often means a space too, but %20 is the literal URL encoding. Use %20 when precision matters, such as in path segments.

Does it encode an entire URL or just a value?

Both work. Encode a full URL to escape unsafe characters, or encode just a parameter value before inserting it into a query string.

Can I decode someone else's encoded link?

Yes. Paste the encoded string and choose Decode to see the original text.

Is my URL uploaded or logged?

No. Encoding and decoding happen in your browser; the page keeps no record of your links.

Does it support Unicode and emoji?

Yes. Non-ASCII characters are UTF-8 encoded into their percent sequences and decode back correctly.

Related Text & Dev