GetEverydayTools

URL Encoder / Decoder

Percent-encode text so it's safe to put in a URL or query string, or decode encoded text back to plain characters. Results update as you type.

How to use

  1. Choose Encode or Decode.
  2. Type or paste your text into the left box.
  3. Copy the result, or use it as the new input to check a round trip.

Examples

  • Jane Doe → Jane%20Doe
  • a&b=c → a%26b%3Dc
  • São Paulo → S%C3%A3o%20Paulo
  • https://example.com/?q=1 → https%3A%2F%2Fexample.com%2F%3Fq%3D1

Frequently asked questions

What is URL encoding?

URLs can only contain a limited set of characters. URL encoding (also called percent-encoding) replaces everything else with a % followed by two hexadecimal digits for each byte. A space becomes %20, and é becomes %C3%A9 because it takes two bytes in UTF-8.

Which characters does this tool encode?

Everything except letters, digits, and - _ . ! ~ * ' ( ). That includes characters with special meaning in URLs, such as & = ? / and #, so the result is safe to use as a single query-string value or path segment. This matches JavaScript's encodeURIComponent.

Why isn't + decoded as a space?

In a URL, %20 is the standard encoding for a space. The + sign only means a space in HTML form submissions (application/x-www-form-urlencoded). This tool follows the URL standard, so a + stays a +. If your text came from a form, replace + with %20 before decoding.

Is my text sent to a server?

No. Encoding and decoding happen in your browser. Nothing you type is uploaded or stored.