URL Encoder Decoder

Percent-encode URLs and query values safely, or decode encoded links back into readable form, with both component and full-URL modes.

Encode (Component) escapes everything except letters, digits and - _ . ! ~ * ' ( ) — use it for query values and single URL parts. Encode Full URL keeps the URL structure ( : / ? & = # ) intact and only escapes characters that are not allowed anywhere in a URL.

Web addresses can only carry a limited set of characters, so spaces, symbols and non-English text must be percent-encoded before a link will work reliably. This tool encodes and decodes URLs in your browser: turn a readable string into its safe encoded form, or paste a link full of %20 and %3F sequences and read what it actually says.

Two Modes, Explained Simply

Component mode encodes everything except the most basic characters, which is the right choice for a single value going into a query string — a search term, a name, a redirect target. Full-URL mode leaves the structural characters of a link (slashes, question marks, ampersands, equals signs) untouched and only encodes the parts that need it, so a complete address stays a working address. Choosing the wrong mode is the usual cause of double-encoded links and broken parameters, and the tool keeps the choice explicit so you stay in control.

How to Encode or Decode a URL

  1. Paste your URL or text value into the input box.
  2. Pick component mode for values, or full-URL mode for whole links.
  3. Click encode or decode depending on what you need.
  4. Copy the converted result from the output box.
  5. Test the link in a browser if it is a full URL.

Common Jobs for This Tool

  • Building share links and tracking URLs with proper parameters.
  • Reading encoded redirect and callback addresses while debugging.
  • Preparing search queries and form values for links.
  • Fixing links that break because of spaces or special characters.

Frequently Asked Questions

What is the difference between %20 and a plus sign?

Both can mean a space. Percent-encoding uses %20 everywhere, while the plus sign stands for a space only inside query strings, by an old form-encoding convention.

Why did my decoded text come out garbled?

It was probably encoded twice, or it contains characters from a different encoding. Decode once more and see if it becomes readable.

Does it handle non-English text?

Yes. Text is encoded from its UTF-8 bytes, which is the modern standard for URLs, so Arabic, Urdu, Chinese and emoji all encode correctly.

Related Tools

More Developer Tools