URL Encode and Decode

Percent-encode text for URLs and query strings, or decode %20-style URLs back to text.

How to use URL Encode and Decode

  1. Choose Encode or Decode.
  2. For encoding, choose whether you are encoding a single value or a full URL.
  3. Paste your text or URL and copy the result. Decoded URLs also show their query parameters.

About this tool

URLs may only contain a limited set of characters. Spaces, accented letters and symbols such as &, ? and # must be percent-encoded – a space becomes %20 and é becomes %C3%A9 – or the link breaks or sends the wrong data. Paste text here to URL encode it instantly, or switch to Decode to URL decode a percent-encoded address back into readable text.

Choose "A value" to encode a single query parameter or path part (everything except letters, digits and - _ . ~ is encoded, exactly like encodeURIComponent and PHP's rawurlencode), or "A full URL" to keep the structure characters : / ? & = intact. Form-style encoding with + for spaces is available too. When you decode a URL, every query string parameter is listed as a decoded name and value – handy for checking UTM tags and API calls.

Frequently asked questions

%20 is a URL-encoded space. Percent-encoding writes a character as % followed by its byte value in hexadecimal; %2F is a slash and %26 is an ampersand.

Usually just the values. Encode each query parameter value separately so characters like & and = inside it do not break the structure. Use "A full URL" only to clean up a whole address that contains spaces or accents.

Both mean a space in query strings submitted by HTML forms. In paths only %20 is correct. Tick "Spaces as +" when you need form-style encoding.

No. URL encoding only escapes characters that are not allowed in URLs and leaves the rest readable; Base64 rewrites all of the data.