Skip to main content

URL Encoder

Percent-encode text for URLs or decode it back.

  • Runs in your browser
  • No sign-in needed

Text input

Result

Enter text and press [Encode] or [Decode] — the result appears here.

How to use URL Encoder

When to use

Use when non-ASCII text, spaces, or characters like & and = break a URL parameter and need to become safe %XX sequences, or to turn a string like %EC%84%9C… from a log or address bar back into readable text.

What to input

Enter the string and press [Encode] or [Decode]. Encoding uses JavaScript's encodeURIComponent, which converts every character except letters, digits, and - _ . ! ~ * ' ( ) to UTF-8 %XX form.

Usage example

e.g. Encoding a&b=c d gives a%26b%3Dc%20d, and "café au lait" becomes caf%C3%A9%20au%20lait, ready to append after ?q=.

Things to check

Because : / ? & = # are encoded too, use it on parameter values, not whole addresses (https:// would become https%3A%2F%2F). When decoding, + is not turned into a space, and a malformed % sequence such as 100% causes an error.

Related tools

  • Build campaign-tracking URLs with UTM parameters.

    No sign-in neededRuns in your browser

  • Encode text to Base64 or decode Base64 back to text (UTF-8 safe).

    No sign-in neededRuns in your browser

  • Convert HTML special characters (& < > " ') to entities or back.

    No sign-in neededRuns in your browser

Your input is processed only in this browser and is never sent to a server.