All Guides

How to URL Encode or Decode Text

URL Encoder / Decoder converts text to and from percent-encoded form, the escaping scheme URLs use for spaces, special characters, and non-ASCII text, with separate modes for a single component versus a full URL.

  1. 1Open the URL Encoder / Decoder tool.
  2. 2Choose Encode or Decode, and whether you're working with a single Component (a query value) or a Full URL.
  3. 3Paste or type your text into the input.
  4. 4Copy the result from the output box.
Open URL Encoder / Decoder

Frequently asked questions

What's the difference between Component and Full URL?

Component mode escapes every special character, including / ? & =, which is correct for a single value you're going to place inside a query string. Full URL mode leaves those URL-structure characters alone and only escapes things like spaces, which is correct for encoding an entire URL.

Why does decoding sometimes show an error?

Decoding expects valid percent-encoded sequences (like %20). Text that isn't actually encoded, or that has a malformed % sequence, can't be decoded, and the tool tells you that rather than guessing.

Is my text sent anywhere?

No. Encoding and decoding both happen locally in your browser using the browser's own built-in functions.